diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-06-06 14:13:50 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-06-06 14:13:50 +0200 |
commit | e59658967a561a4f94c48f58331f0f55fc5d7899 (patch) | |
tree | 78aa4c9f7b12e808d39f48e53607689aaaf12abe /scripts | |
parent | e2febbb728bb6fa6344e533d24fb43ee09548722 (diff) | |
download | imagefish-e59658967a561a4f94c48f58331f0f55fc5d7899.tar.gz |
rm before add
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tar-to-image.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/tar-to-image.sh b/scripts/tar-to-image.sh index c4ec441..dc78112 100755 --- a/scripts/tar-to-image.sh +++ b/scripts/tar-to-image.sh @@ -288,6 +288,7 @@ function fish_systemd_boot() { fish write /etc/kernel/cmdline "ro root=${rootfs} ${console}" fish glob rm-f "/boot/*/*/initrd" fish command "bootctl --no-variables install" + fish command "kernel-install remove ${kver}" fish command "kernel-install add ${kver} /lib/modules/${kver}/vmlinuz" fish command "sed -i -e '/timeout/s/^#//' /boot/loader/loader.conf" } |