From 776eeb35f4164f8d49ec52796d3ab91334f34c9f Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Sun, 19 Jul 2020 07:56:16 -0400 Subject: forgot to mount efivarfs --- init | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'init') diff --git a/init b/init index 503d689..db96ac4 100644 --- a/init +++ b/init @@ -5,11 +5,14 @@ trap 'exec sh' EXIT export PATH="/usr/sbin:/usr/bin:/sbin:/bin" mount -t proc proc /proc -mount -t devtmpfs devtmpfs /dev +mount -t devtmpfs devtmpfs /dev || exit # use -p to avoid "directory exists" error mkdir -p /dev/pts # /dev/pts for dropbear mount -t devpts devpts /dev/pts +# for random seed +mount -t sysfs sysfs /sys +mount -t efivarfs efivarfs /sys/firmware/efi/efivars /etc/modules.sh || exit -- cgit v1.2.3-70-g09d2