From b512dbea6a5caa499b1c2cf992345d8195d89bf4 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Tue, 25 Jun 2024 15:18:26 +0200 Subject: [PATCH] fix(arm): Add mounts for binds --- arm64-build.sh | 4 ++++ 1 file changed, 4 insertions(+) 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"