diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-02-27 20:55:25 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-02-27 20:55:25 +0100 |
commit | 2f458f60c9ceb5dd88470f34c83d2da1f7d38bc5 (patch) | |
tree | 4b73afb5d52f9f5c653048b0a038d9d03fe60877 | |
parent | 037ce6a38b9a44d43daff3ec4a02a3318015d203 (diff) | |
download | imagefish-2f458f60c9ceb5dd88470f34c83d2da1f7d38bc5.tar.gz |
no rescue
-rwxr-xr-x | F25-efi-grub2.sh | 2 | ||||
-rwxr-xr-x | RHEL73-efi.sh | 2 | ||||
-rwxr-xr-x | scripts/tar-to-image.sh | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/F25-efi-grub2.sh b/F25-efi-grub2.sh index 9d7caf0..6fff66e 100755 --- a/F25-efi-grub2.sh +++ b/F25-efi-grub2.sh @@ -2,7 +2,7 @@ name="fedora-25-efi-grub2" repo="repos/fedora-25.repo" -rpms="grub2-efi shim" +rpms="grub2-efi shim -dracut-config-rescue" arch="$(uname -m)" tar="${name}-${arch}.tar.gz" diff --git a/RHEL73-efi.sh b/RHEL73-efi.sh index cc04fe8..376b96d 100755 --- a/RHEL73-efi.sh +++ b/RHEL73-efi.sh @@ -2,7 +2,7 @@ name="rhel-73-efi" repo="repos/rhel-73.repo" -rpms="grub2-efi shim" +rpms="grub2-efi shim -dracut-config-rescue" arch="$(uname -m)" tar="${name}-${arch}.tar.gz" diff --git a/scripts/tar-to-image.sh b/scripts/tar-to-image.sh index a6188b5..ad200e1 100755 --- a/scripts/tar-to-image.sh +++ b/scripts/tar-to-image.sh @@ -265,6 +265,7 @@ function fish_systemd_boot() { echo "### kernel version is $kver" echo "### init systemd-boot" + fish mkdir-p /etc/kernel fish write /etc/kernel/cmdline "ro root=${rootfs}" fish command "bootctl install" fish command "kernel-install add ${kver} /lib/modules/${kver}/vmlinuz" |