- fix-machines-btrfs-subvol.sh is only shipped when machined is built
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1138
This commit is contained in:
parent
ee09f027c3
commit
d86f2d4ef1
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 10 09:10:03 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||
|
||||
- fix-machines-btrfs-subvol.sh is only shipped when machined is built
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 22 20:20:43 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||
|
||||
|
@ -921,6 +921,7 @@ rm -f /etc/udev/rules.d/{20,55,65}-cdrom.rules
|
||||
|
||||
%post container
|
||||
%tmpfiles_create systemd-nspawn.conf
|
||||
%if %{with machined}
|
||||
if [ $1 -gt 1 ]; then
|
||||
# Convert /var/lib/machines subvolume to make it suitable for
|
||||
# rollbacks, if needed. See bsc#992573. The installer has been fixed
|
||||
@ -939,6 +940,7 @@ if [ $1 -gt 1 ]; then
|
||||
# shouldn't be any issues.
|
||||
%{_prefix}/lib/systemd/scripts/fix-machines-btrfs-subvol.sh || :
|
||||
fi
|
||||
%endif
|
||||
|
||||
%if ! 0%{?bootstrap}
|
||||
%post logger
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 10 09:10:03 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||
|
||||
- fix-machines-btrfs-subvol.sh is only shipped when machined is built
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 22 20:20:43 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||
|
||||
|
@ -919,6 +919,7 @@ rm -f /etc/udev/rules.d/{20,55,65}-cdrom.rules
|
||||
|
||||
%post container
|
||||
%tmpfiles_create systemd-nspawn.conf
|
||||
%if %{with machined}
|
||||
if [ $1 -gt 1 ]; then
|
||||
# Convert /var/lib/machines subvolume to make it suitable for
|
||||
# rollbacks, if needed. See bsc#992573. The installer has been fixed
|
||||
@ -937,6 +938,7 @@ if [ $1 -gt 1 ]; then
|
||||
# shouldn't be any issues.
|
||||
%{_prefix}/lib/systemd/scripts/fix-machines-btrfs-subvol.sh || :
|
||||
fi
|
||||
%endif
|
||||
|
||||
%if ! 0%{?bootstrap}
|
||||
%post logger
|
||||
|
Loading…
Reference in New Issue
Block a user