mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 21:17:55 +00:00
Moved kernel command line parameters to config
This commit is contained in:
parent
7cec25542d
commit
472ffd35c0
@ -22,5 +22,7 @@ CONFIG_BOOTSCRIPT=/bin/generic-init
|
||||
|
||||
CONFIG_BOOT_REQ_HASH=n
|
||||
CONFIG_BOOT_REQ_ROLLBACK=n
|
||||
CONFIG_BOOT_KERNEL_ADD="intel_iommu=on"
|
||||
CONFIG_BOOT_KERNEL_REMOVE="quiet"
|
||||
CONFIG_BOOT_DEV="/dev/sda1"
|
||||
CONFIG_USB_BOOT_DEV="/dev/sdb1"
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Launches kexec from saved configuration entries
|
||||
set -e -o pipefail
|
||||
. /etc/config
|
||||
. /etc/functions
|
||||
|
||||
dryrun="n"
|
||||
@ -28,9 +29,8 @@ kexectype=`echo $entry | cut -d\| -f2`
|
||||
kexecparams=`echo $entry | cut -d\| -f3- | tr '|' '\n'`
|
||||
kexeccmd="kexec"
|
||||
|
||||
# TODO: make this configurable
|
||||
cmdadd="intel_iommu=on $cmdadd"
|
||||
cmdremove="quiet $cmdremove"
|
||||
cmdadd="$CONFIG_BOOT_KERNEL_ADD $cmdadd"
|
||||
cmdremove="$CONFIG_BOOT_KERNEL_REMOVE $cmdremove"
|
||||
|
||||
fix_file_path() {
|
||||
if [ "$printfiles" = "y" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user