mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix sysfs chroot mounting
This commit is contained in:
parent
158b987747
commit
68137b58ef
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ chroot_mount()
|
|||
[[ -e "${DESTDIR}/sys" ]] || mkdir -m 555 "${DESTDIR}/sys"
|
||||
[[ -e "${DESTDIR}/proc" ]] || mkdir -m 555 "${DESTDIR}/proc"
|
||||
[[ -e "${DESTDIR}/dev" ]] || mkdir "${DESTDIR}/dev"
|
||||
mount -o bind /sysfs "${DESTDIR}/sys"
|
||||
mount -o bind /sys "${DESTDIR}/sys"
|
||||
mount -o bind /proc "${DESTDIR}/proc"
|
||||
mount -o bind /dev "${DESTDIR}/dev"
|
||||
# chmod 555 "${DESTDIR}/sys"
|
||||
|
|
Loading…
Reference in a new issue