Skip to content

Commit

Permalink
Mounting sys directory to allow building of arm64 images
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpn authored and guysoft committed Dec 1, 2024
1 parent 7d4e97c commit e29a331
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e29a331

Please sign in to comment.