Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package openSUSE-MicroOS for
openSUSE:Factory checked in at 2023-04-20 15:13:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-MicroOS (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-MicroOS.new.2023 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-MicroOS"
Thu Apr 20 15:13:43 2023 rev:60 rq:1080291 version:16.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/openSUSE-MicroOS/openSUSE-MicroOS.changes
2023-03-29 23:26:01.079123134 +0200
+++
/work/SRC/openSUSE:Factory/.openSUSE-MicroOS.new.2023/openSUSE-MicroOS.changes
2023-04-20 15:14:23.397933822 +0200
@@ -1,0 +2,6 @@
+Wed Apr 19 09:40:50 UTC 2023 - Fabian Vogt <[email protected]>
+
+- Relabel /etc in fstab.script to work around kiwi doing it
+ too early (boo#1210604)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ config.sh ++++++
--- /var/tmp/diff_new_pack.sTGrBY/_old 2023-04-20 15:14:24.041936776 +0200
+++ /var/tmp/diff_new_pack.sTGrBY/_new 2023-04-20 15:14:24.045936793 +0200
@@ -123,6 +123,16 @@
EOF
fi
+cat >>/etc/fstab.script <<"EOF"
+# Relabel /etc. While kiwi already relabelled it earlier, there are some files
created later (boo#1210604).
+# The "gawk -i inplace" above also removes the label on /etc/fstab.
+if [ -e /etc/selinux/config ]; then
+ . /etc/selinux/config
+ touch /etc/sysconfig/bootloader # Make sure this exists so it gets
labelled
+ setfiles -e /proc -e /sys -e /dev
/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts /etc
+fi
+EOF
+
chmod a+x /etc/fstab.script
# To make x-systemd.growfs work from inside the initrd