git://dors.frugalware.org
/
pacman-g2.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
43c3bd5
)
mount /dev as devtmpfs instead of binding it.
author
James Buren <ryuo@frugalware.org>
Sun, 2 Sep 2012 05:07:30 +0000
(
00:07
-0500)
committer
James Buren <ryuo@frugalware.org>
Sun, 2 Sep 2012 05:07:30 +0000
(
00:07
-0500)
scripts/makepkg
patch
|
blob
|
history
diff --git
a/scripts/makepkg
b/scripts/makepkg
index
d11ff35
..
5b021b3
100755
(executable)
--- a/
scripts/makepkg
+++ b/
scripts/makepkg
@@
-382,7
+382,7
@@
chroot_mount() {
msg "Attempting to mount chroot directories..."
mount -t proc none $CHROOTDIR/proc >/dev/null
mount -t sysfs none $CHROOTDIR/sys >/dev/null
- mount -o bind /dev $CHROOTDIR/dev >/dev/null
+ mount -t devtmpfs none $CHROOTDIR/dev >/dev/null
mount -o bind /var/cache/pacman-g2 $CHROOTDIR/var/cache/pacman-g2 >/dev/null
mount -o bind $CCACHE_BASEDIR/$pkgname \
$CHROOTDIR/var/cache/ccache/$pkgname >/dev/null