fwupdater initramfs: call prepare after mounting /dev and /proc

This commit is contained in:
Calin Crisan 2017-03-07 21:21:03 +02:00
parent 444ac11a5d
commit 040dc6373d

View File

@ -41,15 +41,15 @@ trap on_exit EXIT
msg "Waiting for sdcard"
sleep 2
msg "Mounting pseudo filesystems"
mount -t devtmpfs devtmpfs /dev
mount -t proc proc /proc
if [ -x /prepare_initramfs ]; then
msg "Preparing initramfs"
/prepare_initramfs
fi
msg "Mounting pseudo filesystems"
mount -t devtmpfs devtmpfs /dev
mount -t proc proc /proc
msg "Mounting boot partition"
mount $BOOT_DEV /boot