X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=initchroot.sh;h=79a45094e57fc4c8528803f83de1ca8b1a6cb08b;hb=c592836ec8b4f33a04255b862a8b89c2007185fd;hp=42fa72a4697a7afb8fa3faf0e9badf1a384c43e5;hpb=639ecbe2f7db78eb243c5244a1c724aab04e8153;p=xodist diff --git a/initchroot.sh b/initchroot.sh index 42fa72a..79a4509 100755 --- a/initchroot.sh +++ b/initchroot.sh @@ -228,6 +228,15 @@ rm -rf ${ROOT_DIR}/home/*; # i have no idea what's adding this crap... (chroot ${ROOT_DIR} adduser ${DEFUSER} floppy) echo "${DEFUSER} ALL=(ALL) NOPASSWD: ALL" >> ${ROOT_DIR}/etc/sudoers +# add local network interface +# (works around a kde session start problem) +cat <> ${ROOT_DIR}/etc/network/interfaces + +# added by xodist +auto lo +iface lo inet loopback +EOF + # done, clean up mv ${ROOT_DIR}/sbin/start-stop-daemon.REAL ${ROOT_DIR}/sbin/start-stop-daemon (chroot ${ROOT_DIR} aptitude clean)