fix(sys-kernel/bootengine): don't mount dev recursive

fixes problems with /dev/pts being busy
This commit is contained in:
Brandon Philips 2013-07-22 16:06:55 -07:00
parent f9dcc864a6
commit 59394db940
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ src_install() {
# and other fun stuff.
pkg_postinst() {
mount -t proc proc ${ROOT}/proc || die
mount --rbind /dev ${ROOT}/dev || die
mount --bind /dev ${ROOT}/dev || die
mount --rbind /sys ${ROOT}/sys || die
mount --rbind /run ${ROOT}/run || die
@ -41,7 +41,7 @@ pkg_postinst() {
--fstab --no-compress /tmp/bootengine.cpio || die
umount --recursive ${ROOT}/proc || die
umount --recursive ${ROOT}/dev || die
umount ${ROOT}/dev || die
umount --recursive ${ROOT}/sys || die
umount --recursive ${ROOT}/run || die