Proper spacing in cmdline; no root= needed for zfs
This commit is contained in:
parent
5c1d81d650
commit
fa050ae95a
|
@ -146,14 +146,14 @@ function generate_initramfs() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_cmdline() {
|
function get_cmdline() {
|
||||||
local root_line
|
local cmdline=("rd.vconsole.keymap=$KEYMAP_INITRAMFS")
|
||||||
if [[ $USED_ZFS == "true" ]]; then
|
cmdline+=("${DISK_DRACUT_CMDLINE[@]}")
|
||||||
root_line="root=zfs:AUTO"
|
|
||||||
else
|
if [[ $USED_ZFS != "true" ]]; then
|
||||||
root_line="root=UUID=$(get_blkid_uuid_for_id "$DISK_ID_ROOT")"
|
cmdline+=("root=UUID=$(get_blkid_uuid_for_id "$DISK_ID_ROOT")")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n "rd.vconsole.keymap=$KEYMAP_INITRAMFS ${DISK_DRACUT_CMDLINE[*]} $root_line"
|
echo -n "${cmdline[*]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_kernel_efi() {
|
function install_kernel_efi() {
|
||||||
|
|
Loading…
Reference in New Issue