Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package systemd-repart-dracut for
openSUSE:Factory checked in at 2026-06-28 21:04:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/systemd-repart-dracut (Old)
and /work/SRC/openSUSE:Factory/.systemd-repart-dracut.new.11887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "systemd-repart-dracut"
Sun Jun 28 21:04:53 2026 rev:4 rq:1361913 version:1+git20260626.ecafb3f
Changes:
--------
---
/work/SRC/openSUSE:Factory/systemd-repart-dracut/systemd-repart-dracut.changes
2026-05-05 15:14:30.933061791 +0200
+++
/work/SRC/openSUSE:Factory/.systemd-repart-dracut.new.11887/systemd-repart-dracut.changes
2026-06-28 21:05:17.379558189 +0200
@@ -1,0 +2,6 @@
+Fri Jun 26 12:33:09 UTC 2026 - [email protected]
+
+- Update to version 1+git20260626.ecafb3f:
+ * Save fstab on MicroOS and fix CopyFiles
+
+-------------------------------------------------------------------
Old:
----
systemd-repart-dracut-1+git20260504.f7cd8f6.obscpio
New:
----
systemd-repart-dracut-1+git20260626.ecafb3f.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ systemd-repart-dracut.spec ++++++
--- /var/tmp/diff_new_pack.omKYER/_old 2026-06-28 21:05:20.375659144 +0200
+++ /var/tmp/diff_new_pack.omKYER/_new 2026-06-28 21:05:20.375659144 +0200
@@ -1,7 +1,7 @@
#
# spec file for package systemd-repart-dracut
#
-# Copyright (c) 2026 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
@@ -28,7 +28,7 @@
%endif
Name: systemd-repart-dracut
-Version: 1+git20260504.f7cd8f6%{git_version}
+Version: 1+git20260626.ecafb3f%{git_version}
Release: 0
Summary: Systemd-repart service dracut module
License: MIT
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.omKYER/_old 2026-06-28 21:05:20.423660761 +0200
+++ /var/tmp/diff_new_pack.omKYER/_new 2026-06-28 21:05:20.427660896 +0200
@@ -3,6 +3,6 @@
</service><service name="tar_scm">
</service><service name="tar_scm">
<param
name="url">https://github.com/openSUSE/systemd-repart-dracut.git</param>
- <param
name="changesrevision">47ada3f7e232d248c1fc7ed37919ca30dee7f8d2</param></service></servicedata>
+ <param
name="changesrevision">ecafb3f463424a327a7375f815ada3810e9808a5</param></service></servicedata>
(No newline at EOF)
++++++ systemd-repart-dracut-1+git20260504.f7cd8f6.obscpio ->
systemd-repart-dracut-1+git20260626.ecafb3f.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/systemd-repart-dracut-1+git20260504.f7cd8f6/systemd-repart-dracut
new/systemd-repart-dracut-1+git20260626.ecafb3f/systemd-repart-dracut
--- old/systemd-repart-dracut-1+git20260504.f7cd8f6/systemd-repart-dracut
2026-05-04 15:08:31.000000000 +0200
+++ new/systemd-repart-dracut-1+git20260626.ecafb3f/systemd-repart-dracut
2026-06-26 14:09:59.000000000 +0200
@@ -24,17 +24,49 @@
[ -e /etc/initrd-release ] || err "No initrd environment"
-# Need to write to /sysroot/etc/fstab to add new partitions
-if ! [ -w /sysroot/etc ]; then
- # Transactional systems have a separate mount for /etc.
- # In the nested subvolume setup there's a bind mount that is read-only
at first.
- if findmnt /sysroot/etc >/dev/null; then
- mount -o remount,rw /sysroot/etc
- else
- mount -o remount,rw /sysroot
- fi
+# Copy this file so that we can use it to mount all partitions later
+cp /sysroot/etc/fstab /run/fstab.dracut
+bind_etc=false
+# Only MicroOS has /etc bind mount
+if grep -q "/etc" /sysroot/etc/fstab; then
+ bind_etc=true
+ # Skip /etc bind mount, it will be done manually later
+ sed -e "/\/etc/d" -i /run/fstab.dracut
+fi
+
+# Ensure that all mountpoints are mounted so that systemd-repart CopyFiles work
+# properly, because only /sysroot is mounted when systemd-repart-dracut runs
+echo "Mounting all filesystems from fstab"
+mount > /run/mount.before
+mount --all --target-prefix /sysroot --fstab /run/fstab.dracut
+mount > /run/mount.after
+
+# In MicroOS, /etc is bind mounted to make it writable as the rest of the
+# subvol is read-only. mount --target-prefix <DIR> doesn't work for bind mount,
+# as <DIR> is not prefixed to the target of the bind mount. Do it manually to
+# ensure /etc is writable
+if [[ $external_etc == "true" ]]; then
+ mount --bind /sysroot/etc /sysroot/etc
+ mount -o remount,rw /sysroot/etc
+# In case /sysroot is not read-write, remount, this is the case for Tumbleweed
+elif ! [ -w /sysroot/etc ]; then
+ mount -o remount,rw /sysroot
fi
log_info "Reparting with systemd-repart:"
/usr/bin/systemd-repart --dry-run=no --append-fstab=auto
--generate-fstab=/etc/fstab
log_info "Repartition completed"
+
+# Unmount all devices and subvolumes that we mounted above
+echo "Unmounting all mounts inside"
+grep -Fxvf /run/mount.before /run/mount.after | cut -d" " -f 3 | while read -r
mountpoint; do
+ # This shouldn't be needed, but it's just to be sure we don't unmount
+ # anything unnecessary
+ if [[ "$mountpoint" == /sysroot/* ]]; then
+ umount "$mountpoint"
+ fi
+done
+
+if [[ $external_etc == "true" ]]; then
+ umount /sysroot/etc
+fi
++++++ systemd-repart-dracut.obsinfo ++++++
--- /var/tmp/diff_new_pack.omKYER/_old 2026-06-28 21:05:20.547664940 +0200
+++ /var/tmp/diff_new_pack.omKYER/_new 2026-06-28 21:05:20.551665074 +0200
@@ -1,5 +1,5 @@
name: systemd-repart-dracut
-version: 1+git20260504.f7cd8f6
-mtime: 1777900111
-commit: f7cd8f685e6c973f48df803f95831483e6bef103
+version: 1+git20260626.ecafb3f
+mtime: 1782475799
+commit: ecafb3f463424a327a7375f815ada3810e9808a5