mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 07:06:42 +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_HASH=n
|
||||||
CONFIG_BOOT_REQ_ROLLBACK=n
|
CONFIG_BOOT_REQ_ROLLBACK=n
|
||||||
|
CONFIG_BOOT_KERNEL_ADD="intel_iommu=on"
|
||||||
|
CONFIG_BOOT_KERNEL_REMOVE="quiet"
|
||||||
CONFIG_BOOT_DEV="/dev/sda1"
|
CONFIG_BOOT_DEV="/dev/sda1"
|
||||||
CONFIG_USB_BOOT_DEV="/dev/sdb1"
|
CONFIG_USB_BOOT_DEV="/dev/sdb1"
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Launches kexec from saved configuration entries
|
# Launches kexec from saved configuration entries
|
||||||
set -e -o pipefail
|
set -e -o pipefail
|
||||||
|
. /etc/config
|
||||||
. /etc/functions
|
. /etc/functions
|
||||||
|
|
||||||
dryrun="n"
|
dryrun="n"
|
||||||
@ -28,9 +29,8 @@ kexectype=`echo $entry | cut -d\| -f2`
|
|||||||
kexecparams=`echo $entry | cut -d\| -f3- | tr '|' '\n'`
|
kexecparams=`echo $entry | cut -d\| -f3- | tr '|' '\n'`
|
||||||
kexeccmd="kexec"
|
kexeccmd="kexec"
|
||||||
|
|
||||||
# TODO: make this configurable
|
cmdadd="$CONFIG_BOOT_KERNEL_ADD $cmdadd"
|
||||||
cmdadd="intel_iommu=on $cmdadd"
|
cmdremove="$CONFIG_BOOT_KERNEL_REMOVE $cmdremove"
|
||||||
cmdremove="quiet $cmdremove"
|
|
||||||
|
|
||||||
fix_file_path() {
|
fix_file_path() {
|
||||||
if [ "$printfiles" = "y" ]; then
|
if [ "$printfiles" = "y" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user