Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package growpart-generator for 
openSUSE:Factory checked in at 2026-01-21 14:11:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/growpart-generator (Old)
 and      /work/SRC/openSUSE:Factory/.growpart-generator.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "growpart-generator"

Wed Jan 21 14:11:38 2026 rev:5 rq:1328183 version:0.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/growpart-generator/growpart-generator.changes    
2024-07-16 22:02:14.649476613 +0200
+++ 
/work/SRC/openSUSE:Factory/.growpart-generator.new.1928/growpart-generator.changes
  2026-01-21 14:11:44.528796302 +0100
@@ -1,0 +2,5 @@
+Mon Jan 19 11:26:19 UTC 2026 - Fabian Vogt <[email protected]>
+
+- Support growpart for /
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ growpart-generator.spec ++++++
--- /var/tmp/diff_new_pack.3yOty3/_old  2026-01-21 14:11:45.160822655 +0100
+++ /var/tmp/diff_new_pack.3yOty3/_new  2026-01-21 14:11:45.164822822 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package growpart-generator
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           growpart-generator
-Version:        0.8
+Version:        0.9
 Release:        0
 Summary:        Grow a partition automatically
 License:        GPL-3.0-only

++++++ growpart-generator.sh ++++++
--- /var/tmp/diff_new_pack.3yOty3/_old  2026-01-21 14:11:45.228825489 +0100
+++ /var/tmp/diff_new_pack.3yOty3/_new  2026-01-21 14:11:45.232825656 +0100
@@ -17,6 +17,13 @@
        # Last number in the device name: /dev/nvme0n1p42 -> 42
        partnum="$(echo "${dev}" | sed 's/^.*[^0-9]\([0-9]\+\)$/\1/')"
 
+       # systemd uses a different unit name for growfs for /...
+       if [ "$mnt" = "/" ]; then
+               growfs_unit="systemd-growfs-root.service"
+       else
+               growfs_unit="systemd-growfs@${mnt_esc}.service"
+       fi
+
        mkdir -p "${UNIT_DIR}/${mnt_esc}.mount.wants"
        cat > "${UNIT_DIR}/growpart@${dev_esc}.service" <<EOF
 [Unit]
@@ -28,7 +35,7 @@
 Before=shutdown.target local-fs.target
 
 # Resize the partition before (possibly) resizing the file system
-Before=systemd-growfs@${mnt_esc}.service
+Before=${growfs_unit}
 
 # growpart requires /tmp to operate
 Requires=tmp.mount

Reply via email to