Accepting request 931035 from home:favogt:jeossnapfix

- Support new location of the snapper config templates

OBS-URL: https://build.opensuse.org/request/show/931035
OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Images:openSUSE-Tumbleweed/kiwi-templates-JeOS?expand=0&rev=66
This commit is contained in:
Guilherme Moro 2021-11-17 09:38:12 +00:00 committed by Git OBS Bridge
parent 992bee9ab7
commit f70c2c4277
2 changed files with 7 additions and 1 deletions

View File

@ -98,7 +98,8 @@ if [ "${kiwi_btrfs_root_is_snapshot-false}" = 'true' ]; then
# we can't call snapper here as the .snapshots subvolume
# already exists and snapper create-config doesn't like
# that.
cp /etc/snapper/config-templates/default /etc/snapper/configs/root
cp /etc/snapper/config-templates/default /etc/snapper/configs/root \
|| cp /usr/share/snapper/config-templates/default /etc/snapper/configs/root
# Change configuration to match SLES12-SP1 values
sed -i -e '/^TIMELINE_CREATE=/s/yes/no/' /etc/snapper/configs/root
sed -i -e '/^NUMBER_LIMIT=/s/50/10/' /etc/snapper/configs/root

View File

@ -3,6 +3,11 @@ Tue Nov 16 13:07:23 UTC 2021 - Fabian Vogt <fvogt@suse.com>
- Install AppArmor pattern and audit
-------------------------------------------------------------------
Fri Nov 12 08:29:40 UTC 2021 - Fabian Vogt <fvogt@suse.com>
- Support new location of the snapper config templates
-------------------------------------------------------------------
Mon Oct 18 11:20:51 UTC 2021 - Fabian Vogt <fvogt@suse.com>