Create dracut with default modules; fix initramfs.img location in syslinux.cfg
This commit is contained in:
parent
2c7c804105
commit
56cea7d8ee
|
@ -128,12 +128,9 @@ generate_initramfs() {
|
||||||
--confdir "/dev/null" \
|
--confdir "/dev/null" \
|
||||||
--kver "$kver" \
|
--kver "$kver" \
|
||||||
--no-compress \
|
--no-compress \
|
||||||
--hostonly \
|
--no-hostonly \
|
||||||
--hostonly-mode "strict" \
|
|
||||||
--no-hostonly-cmdline \
|
|
||||||
--no-hostonly-default-device \
|
|
||||||
--ro-mnt \
|
--ro-mnt \
|
||||||
--modules "bash ${modules[*]}" \
|
--add "bash ${modules[*]}" \
|
||||||
--force \
|
--force \
|
||||||
"$output"
|
"$output"
|
||||||
}
|
}
|
||||||
|
@ -173,7 +170,7 @@ TIMEOUT 0
|
||||||
|
|
||||||
LABEL gentoo
|
LABEL gentoo
|
||||||
LINUX ../vmlinuz-current
|
LINUX ../vmlinuz-current
|
||||||
APPEND initrd=initramfs.img $(get_cmdline)
|
APPEND initrd=../initramfs.img $(get_cmdline)
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue