Hello community,
here is the log from the commit of package read-only-root-fs for
openSUSE:Factory checked in at 2020-09-05 23:58:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/read-only-root-fs (Old)
and /work/SRC/openSUSE:Factory/.read-only-root-fs.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "read-only-root-fs"
Sat Sep 5 23:58:01 2020 rev:14 rq:831410 version:1.0+git20200730.1243fd0
Changes:
--------
--- /work/SRC/openSUSE:Factory/read-only-root-fs/read-only-root-fs.changes
2020-08-03 14:13:13.764369330 +0200
+++
/work/SRC/openSUSE:Factory/.read-only-root-fs.new.3399/read-only-root-fs.changes
2020-09-05 23:58:20.423131794 +0200
@@ -1,0 +2,6 @@
+Wed Sep 2 08:53:55 UTC 2020 - Thorsten Kukuk <[email protected]>
+
+- Adjust btrfsmaintenance sysconfig to not use the read-only
+ root filesystem [bsc#1176052]
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ read-only-root-fs.spec ++++++
--- /var/tmp/diff_new_pack.MkAozV/_old 2020-09-05 23:58:21.975132571 +0200
+++ /var/tmp/diff_new_pack.MkAozV/_new 2020-09-05 23:58:21.975132571 +0200
@@ -80,6 +80,11 @@
if [ -f %{_sysconfdir}/zypp/zypp.conf ]; then
sed -i 's/^multiversion =.*/multiversion =/g' %{_sysconfdir}/zypp/zypp.conf
fi
+# btrfsmaintainence uses as default "/", but that is read-only.
+# Change that to /.snapshots/
+for var in BTRFS_BALANCE_MOUNTPOINTS BTRFS_SCRUB_MOUNTPOINTS
BTRFS_TRIM_MOUNTPOINTS; do
+ grep -q "${var}=\"/\"" /etc/sysconfig/btrfsmaintenance && sed -i
"s|${var}=.*|${var}=\"/.snapshots\"|g" /etc/sysconfig/btrfsmaintenance
+done
%{?update_bootloader_posttrans}
exit 0