From ce3e6a2fe4bfff73e5c3e5ef9b5970c65247cbef Mon Sep 17 00:00:00 2001 From: Nick Sharp Date: Wed, 20 Nov 2024 15:49:36 +0000 Subject: [PATCH] Mounting sys directory to allow building of arm64 images --- src/common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common.sh b/src/common.sh index f3cfc07f..9794ca62 100755 --- a/src/common.sh +++ b/src/common.sh @@ -207,9 +207,11 @@ function mount_image() { fi sudo mkdir -p $mount_path/dev/pts sudo mkdir -p $mount_path/proc + sudo mkdir -p $mount_path/sys sudo mount -o bind /dev $mount_path/dev sudo mount -o bind /dev/pts $mount_path/dev/pts sudo mount -o bind /proc $mount_path/proc + sudo mount -o bind /sys $mount_path/sys } function unmount_image() {