fix(arm): Add mounts for binds
This commit is contained in:
parent
3c187c8902
commit
b512dbea6a
@ -15,6 +15,10 @@ mkdir -p mnt
|
|||||||
echo "Mounting second partition"
|
echo "Mounting second partition"
|
||||||
sudo mount $RASPIOS_IMG -o offset=$((512*$OFFSET_IMG)) mnt
|
sudo mount $RASPIOS_IMG -o offset=$((512*$OFFSET_IMG)) mnt
|
||||||
|
|
||||||
|
echo "Mounting necessary directories"
|
||||||
|
sudo mount -o bind /run mnt/run
|
||||||
|
sudo mount --rbind /dev mnt/dev
|
||||||
|
|
||||||
echo "Chroot into partition to start edition"
|
echo "Chroot into partition to start edition"
|
||||||
sudo chroot mnt /bin/sh <<"EOT"
|
sudo chroot mnt /bin/sh <<"EOT"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user