From: Andres Salomon Date: Wed, 20 Aug 2008 18:26:56 +0000 (-0400) Subject: ugh, dumb. X-Git-Tag: v0.1~1 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99382a0e57b76d37d8757caded42985c3a40e5a0;p=xodist ugh, dumb. Signed-off-by: Andres Salomon --- diff --git a/initchroot.sh b/initchroot.sh index 0bb249f..ebcd74c 100755 --- a/initchroot.sh +++ b/initchroot.sh @@ -131,6 +131,7 @@ cp %gconf-tree.xml ${ROOT_DIR}/etc/gconf/debxo.xml.defaults/ # 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) @@ -146,5 +147,4 @@ mv ${ROOT_DIR}/sbin/start-stop-daemon.REAL ${ROOT_DIR}/sbin/start-stop-daemon (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