mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-31 00:24:17 +00:00
Load cbfs before combining configs and building fstab
This commit is contained in:
parent
1e9491f98d
commit
64484206ed
15
initrd/init
15
initrd/init
@ -40,6 +40,15 @@ hwclock -l -s
|
|||||||
|
|
||||||
# Read the system configuration parameters
|
# Read the system configuration parameters
|
||||||
. /etc/functions
|
. /etc/functions
|
||||||
|
. /etc/config
|
||||||
|
|
||||||
|
if [ "$CONFIG_COREBOOT" = "y" ]; then
|
||||||
|
/bin/cbfs-init
|
||||||
|
fi
|
||||||
|
if [ "$CONFIG_LINUXBOOT" = "y" ]; then
|
||||||
|
/bin/uefi-init
|
||||||
|
fi
|
||||||
|
|
||||||
combine_configs
|
combine_configs
|
||||||
. /tmp/config
|
. /tmp/config
|
||||||
|
|
||||||
@ -52,12 +61,6 @@ if [ ! -z "$CONFIG_USB_BOOT_DEV" ]; then
|
|||||||
echo >> /etc/fstab "$CONFIG_USB_BOOT_DEV /media auto defaults,ro 0 0"
|
echo >> /etc/fstab "$CONFIG_USB_BOOT_DEV /media auto defaults,ro 0 0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CONFIG_COREBOOT" = "y" ]; then
|
|
||||||
/bin/cbfs-init
|
|
||||||
fi
|
|
||||||
if [ "$CONFIG_LINUXBOOT" = "y" ]; then
|
|
||||||
/bin/uefi-init
|
|
||||||
fi
|
|
||||||
/bin/key-init
|
/bin/key-init
|
||||||
|
|
||||||
# Setup recovery serial shell
|
# Setup recovery serial shell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user