diff --git a/hooks/common.sh b/hooks/common.sh index 107d11f..bdc47dd 100755 --- a/hooks/common.sh +++ b/hooks/common.sh @@ -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.