debian: fix "stdin: is not a tty" message

This commit is contained in:
Marek Marczykowski-Górecki 2014-07-27 05:56:34 +02:00
parent fc6d13f9b5
commit fc19af6e5f

View File

@ -89,6 +89,7 @@ chroot $INSTALLDIR useradd -g user -G dialout,cdrom,floppy,sudo,audio,dip,video,
echo "xen_netfront" >> $INSTALLDIR/etc/modules
sed -i -e '/^mesg n/d' $INSTALLDIR/root/.profile
# Kill any processes that might have been started by apt before unmounting
lsof $INSTALLDIR | tail -n +2 | awk '{print $2}' | xargs --no-run-if-empty kill