Merge pull request #110 from philips/drop-recursive

fix(sys-kernel/bootengine): don't mount dev recursive
This commit is contained in:
Brandon Philips 2013-07-22 16:13:45 -07:00
commit 431c7980ac
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