diff --git a/arm64-build.sh b/arm64-build.sh index b9dc61f..2372b4a 100755 --- a/arm64-build.sh +++ b/arm64-build.sh @@ -15,6 +15,10 @@ mkdir -p mnt echo "Mounting second partition" 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" sudo chroot mnt /bin/sh <<"EOT"