From 99382a0e57b76d37d8757caded42985c3a40e5a0 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Wed, 20 Aug 2008 14:26:56 -0400 Subject: [PATCH] ugh, dumb. Signed-off-by: Andres Salomon --- initchroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2