1
0
mirror of synced 2026-02-01 05:52:01 +00:00

Mount /dev/pts while running apt-get to reduce unnecessary errors in logfile

This commit is contained in:
Nathan O'Sullivan
2010-05-05 13:56:38 +10:00
committed by Axel Beckert
parent 0273892441
commit f8f2915ec0

View File

@@ -98,7 +98,9 @@ installDebianPackage ()
#
# Install the packages
#
mount -t devpts devpts ${prefix}/dev/pts
DEBIAN_FRONTEND=noninteractive chroot ${prefix} /usr/bin/apt-get --yes --force-yes install "$@"
umount ${prefix}/dev/pts
#
# Remove the policy-rc.d script.