Skip to content

Commit e29a331

Browse files
sharpnguysoft
authored andcommitted
Mounting sys directory to allow building of arm64 images
1 parent 7d4e97c commit e29a331

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,11 @@ function mount_image() {
207207
fi
208208
sudo mkdir -p $mount_path/dev/pts
209209
sudo mkdir -p $mount_path/proc
210+
sudo mkdir -p $mount_path/sys
210211
sudo mount -o bind /dev $mount_path/dev
211212
sudo mount -o bind /dev/pts $mount_path/dev/pts
212213
sudo mount -o bind /proc $mount_path/proc
214+
sudo mount -o bind /sys $mount_path/sys
213215
}
214216

215217
function unmount_image() {

0 commit comments

Comments
 (0)