Change system to openSuse Kiwi

This commit is contained in:
2024-06-22 15:29:24 +02:00
parent 2f09fa927b
commit a6306ab0cb
12 changed files with 179 additions and 193 deletions

View File

@ -0,0 +1,11 @@
[Unit]
Description=Rebuild dracut initrd for this host
ConditionPathExists=/.kiwi_dracut_hostonly.trigger
[Service]
Type=oneshot
ExecStart=/bin/bash -c 'dracut -f'
ExecStartPost=/bin/bash -c 'rm -f /.kiwi_dracut_hostonly.trigger'
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,11 @@
[Unit]
Description=Rebuild grub config from distro toolkit
ConditionPathExists=/.kiwi_grub_config.trigger
[Service]
Type=oneshot
ExecStart=/bin/bash -c 'grub2-mkconfig -o /boot/grub2/grub.cfg'
ExecStartPost=/bin/bash -c 'rm -f /.kiwi_grub_config.trigger'
[Install]
WantedBy=multi-user.target