From 6ec41dda48ae67cc1b82eec1f497624e8b0b4e4278c3d3e0451b03478b9ee695 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 25 Nov 2023 22:31:24 +0000 Subject: [PATCH] - update to 0.33: * More busybox compatibility changes * growpart: Add support for overprovisioning (#35) * mount-image-callback: do not rely on udevadm * growpart: only run `udevadm` if it exists (#36) [oittaa] * growpart: detect whether blkid is util-linux version and act accordingly * growpart doesn't work when LANG=cs_CZ.UTF-8 * growpart: change flock call to use short option for Busybox compatibility [Dermot Bradley] * growpart: Use LANG=C to parse sfdisk output * Fix bad variable use. * Whitespace cleanups. * Growpart fix undefined variable in growpart error message. * cloud-image-utils: Add depends on fdisk, drop e2fsprogs * growpart: add flock support to prevent udev races * Drop the python2 only cloud-utils-euca package and tools. * test-growpart: fix logic error resulting in test failure. and builds a standalone package now OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/growpart?expand=0&rev=21 --- 0.33.tar.gz | 3 +++ cloud-utils-0.32.tar.gz | 3 --- growpart.changes | 24 +++++++++++++++++++++++- growpart.spec | 17 +++++++---------- 4 files changed, 33 insertions(+), 14 deletions(-) create mode 100644 0.33.tar.gz delete mode 100644 cloud-utils-0.32.tar.gz diff --git a/0.33.tar.gz b/0.33.tar.gz new file mode 100644 index 0000000..ba84cf7 --- /dev/null +++ b/0.33.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:338770d637788466aacfcbcec17a8d0046f92a13cc3b25fce8fceadb02a7339f +size 58817 diff --git a/cloud-utils-0.32.tar.gz b/cloud-utils-0.32.tar.gz deleted file mode 100644 index bafa534..0000000 --- a/cloud-utils-0.32.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:132255cbda774834695e2912e09b9058d3281a94874be57e48f2f04f4b89ad77 -size 59335 diff --git a/growpart.changes b/growpart.changes index 6f95a6d..d9bdf4b 100644 --- a/growpart.changes +++ b/growpart.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sat Nov 25 22:28:18 UTC 2023 - Dirk Müller + +- update to 0.33: + * More busybox compatibility changes + * growpart: Add support for overprovisioning (#35) + * mount-image-callback: do not rely on udevadm + * growpart: only run `udevadm` if it exists (#36) [oittaa] + * growpart: detect whether blkid is util-linux version and + act accordingly + * growpart doesn't work when LANG=cs_CZ.UTF-8 + * growpart: change flock call to use short option for + Busybox compatibility [Dermot Bradley] + * growpart: Use LANG=C to parse sfdisk output + * Fix bad variable use. + * Whitespace cleanups. + * Growpart fix undefined variable in growpart error message. + * cloud-image-utils: Add depends on fdisk, drop e2fsprogs + * growpart: add flock support to prevent udev races + * Drop the python2 only cloud-utils-euca package and tools. + * test-growpart: fix logic error resulting in test failure. + ------------------------------------------------------------------- Wed Aug 2 12:12:05 UTC 2023 - Robert Schweikert @@ -71,7 +93,7 @@ Thu Oct 17 14:04:18 UTC 2019 - Marcus Schaefer - Deleted rootgrow source and sub-package build rootgrow is provided on github: https://github.com/SUSE-Enceladus/rootgrow - and builds a standalone package now + and builds a standalone package now ------------------------------------------------------------------- Wed Jun 12 15:07:49 UTC 2019 - Dominique Leuenberger diff --git a/growpart.spec b/growpart.spec index 811b58c..17a5608 100644 --- a/growpart.spec +++ b/growpart.spec @@ -16,27 +16,25 @@ # -%define base_version 0.32 Name: growpart -Version: %{base_version} +Version: 0.33 Release: 0 Summary: Grow a partition License: GPL-3.0-only Group: System/Management -URL: http://launchpad.net/cloud-utils -Source0: cloud-utils-%{base_version}.tar.gz +URL: https://github.com/canonical/cloud-utils +Source0: https://github.com/canonical/cloud-utils/archive/refs/tags/%{version}.tar.gz Requires: gptfdisk Requires: util-linux -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description -Grow a partition. This is predominantly useful in the cloud when an instance -is started with a larger root partition than the image size. The root -partition can be expanded to take up the additional size. +Grow a partition. This is predominantly useful in the cloud when an instance is +started with a larger root partition than the image size. The root partition +can be expanded to take up the additional size. %prep -%autosetup -p1 -n cloud-utils-%{base_version} +%autosetup -p1 -n cloud-utils-%{version} %build @@ -46,7 +44,6 @@ install -Dm0644 -t %{buildroot}%{_mandir}/man1 man/growpart.1 install -Dm0644 -t %{buildroot}/%{_defaultlicensedir}/growpart LICENSE %files -%defattr(-,root,root,-) %license LICENSE %{_sbindir}/growpart %{_mandir}/man1/*