fwupdate: add support for /prepare_initramfs script

This commit is contained in:
Calin Crisan 2017-03-06 20:57:38 +02:00
parent 9e3338c097
commit f35e4c4a20
4 changed files with 5 additions and 0 deletions

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.