From 29ce55842f2b79a89a26fa9f6924c7b99778c09d Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Thu, 21 May 2009 22:45:23 +0200 Subject: [PATCH] update inner chroot script --- examples/inner_chroot_script.sh | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/examples/inner_chroot_script.sh b/examples/inner_chroot_script.sh index 7c30ea1..5521067 100755 --- a/examples/inner_chroot_script.sh +++ b/examples/inner_chroot_script.sh @@ -4,14 +4,13 @@ source /etc/profile # allow root logins to the livecd by default - # turn bashlogin shells to actual login shells sed -i 's:exec -l /bin/bash:exec -l /bin/bash -l:' /bin/bashlogin # setup sudoers [ -e /etc/sudoers ] && sed -i '/NOPASSWD: ALL/ s/^# //' /etc/sudoers -# setup opengl in /etc (if configured) +# setup opengl eselect opengl set xorg-x11 # touch /etc/asound.state @@ -52,16 +51,7 @@ echo -5 | etc-update /lib/rc/bin/rc-depend -u echo "Vacuum cleaning client db" -# Vacuum Entropy client database -python -c " -from entropy import EquoInterface -equo = EquoInterface() -equo.clientDbconn.dropAllIndexes() -equo.clientDbconn.vacuum() -equo.clientDbconn.commitChanges() -equo.destroy() -raise SystemExit(0) -" +equo database vacuum # Generate openrc cache /etc/init.d/savecache start