From 56cea7d8ee686b756db11ebe659629e58e6b62b2 Mon Sep 17 00:00:00 2001 From: oddlama Date: Sat, 25 Apr 2020 22:37:50 +0200 Subject: [PATCH] Create dracut with default modules; fix initramfs.img location in syslinux.cfg --- scripts/main.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/scripts/main.sh b/scripts/main.sh index da3c295..43ab501 100755 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -128,12 +128,9 @@ generate_initramfs() { --confdir "/dev/null" \ --kver "$kver" \ --no-compress \ - --hostonly \ - --hostonly-mode "strict" \ - --no-hostonly-cmdline \ - --no-hostonly-default-device \ + --no-hostonly \ --ro-mnt \ - --modules "bash ${modules[*]}" \ + --add "bash ${modules[*]}" \ --force \ "$output" } @@ -172,8 +169,8 @@ PROMPT 0 TIMEOUT 0 LABEL gentoo - LINUX ../vmlinuz-current - APPEND initrd=initramfs.img $(get_cmdline) + LINUX ../vmlinuz-current + APPEND initrd=../initramfs.img $(get_cmdline) EOF }