Signed-off-by: Andres Salomon <dilinger@debian.org>
# add default user
(chroot ${ROOT_DIR} passwd -l root)
+rm -rf ${ROOT_DIR}/home/*; # i have no idea what's adding this crap...
(chroot ${ROOT_DIR} useradd -s /bin/bash --create-home ${DEFUSER})
(chroot ${ROOT_DIR} passwd -d ${DEFUSER})
(chroot ${ROOT_DIR} adduser ${DEFUSER} cdrom)
(chroot ${ROOT_DIR} aptitude clean)
umount ${ROOT_DIR}/proc
umount ${ROOT_DIR}/dev/pts
-rm -rf ${ROOT_DIR}/home/*; # i have no idea what's adding this crap...
rm -f ${ROOT_DIR}/var/cache/apt/*.bin