mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08:00
armbian-next: chroot-helpers: if unable to mount devpts, use a mount bind from host
Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@ mount_chroot() {
|
||||
mount -t proc chproc "${target}"/proc
|
||||
mount -t sysfs chsys "${target}"/sys
|
||||
mount -t devtmpfs chdev "${target}"/dev || mount --bind /dev "${target}"/dev
|
||||
mount -t devpts chpts "${target}"/dev/pts
|
||||
mount -t devpts chpts "${target}"/dev/pts || mount --bind /dev/pts "${target}"/dev/pts
|
||||
}
|
||||
|
||||
# umount_chroot <target>
|
||||
|
||||
Reference in New Issue
Block a user