mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 07:06:42 +00:00
initrd: don't mount efivars fs on non-linuxboot systems
it doesn't exist and produces a spurious error on Heads systems Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
This commit is contained in:
parent
4a85c85336
commit
6cfbc86618
@ -16,7 +16,9 @@ mkdir /proc /sys /dev /tmp /boot /media 2>&- 1>&-
|
||||
mount /dev 2>/dev/ttyprintk
|
||||
mount /proc 2>/dev/ttyprintk
|
||||
mount /sys 2>/dev/ttyprintk
|
||||
if [ "$CONFIG_LINUXBOOT" = "y" ]; then
|
||||
mount /sys/firmware/efi/efivars
|
||||
fi
|
||||
|
||||
# Setup the pty psudeo filesystem
|
||||
mkdir /dev/pts
|
||||
|
Loading…
Reference in New Issue
Block a user