Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package read-only-root-fs for 
openSUSE:Factory checked in at 2025-09-20 22:03:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/read-only-root-fs (Old)
 and      /work/SRC/openSUSE:Factory/.read-only-root-fs.new.27445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "read-only-root-fs"

Sat Sep 20 22:03:53 2025 rev:23 rq:1305979 version:1.0+git20250807.5b5844c

Changes:
--------
--- /work/SRC/openSUSE:Factory/read-only-root-fs/read-only-root-fs.changes      
2025-08-08 15:10:17.740200887 +0200
+++ 
/work/SRC/openSUSE:Factory/.read-only-root-fs.new.27445/read-only-root-fs.changes
   2025-09-20 22:04:04.114641157 +0200
@@ -1,0 +2,7 @@
+Fri Sep 19 09:20:04 UTC 2025 - Ignaz Forster <[email protected]>
+
+- Add additional check in %post to prevent generating the btrfs
+  /etc subvolume during a KIWI run
+  [bsc#1250133] [gh#openSUSE/read-only-root-fs#27]
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ read-only-root-fs.spec ++++++
--- /var/tmp/diff_new_pack.FJp51l/_old  2025-09-20 22:04:04.854672198 +0200
+++ /var/tmp/diff_new_pack.FJp51l/_new  2025-09-20 22:04:04.858672366 +0200
@@ -68,7 +68,10 @@
 cp -a etc usr %{buildroot}
 
 %post
-if [ "$1" = 1 -a "`findmnt -n -o FSTYPE -l /`" = "btrfs" ] ; then
+# Create /etc subvolume for fresh installations
+# Exception: The host's file system for KIWI builds may also be btrfs, but for 
KIWI
+# (indicator: /.kconfig is present) the script will be called later in disk.sh.
+if [ "$1" = 1 ] && [ "`findmnt -n -o FSTYPE -l /`" = "btrfs" ] && [ ! -e 
/.kconfig ]; then
     %{_libexecdir}/setup-etc-subvol
 fi
 if [ ! -e /boot/writable -a "`findmnt -n -o FSTYPE -l /`" = "btrfs" ]; then

Reply via email to