[kuliax] push by esteween - Modify preseed.cfg & install/late_command (Closes: #3) on 2010-04-04 07:26 GMT

3 views
Skip to first unread message

kul...@googlecode.com

unread,
Apr 4, 2010, 3:27:05 AM4/4/10
to kuliax-...@googlegroups.com
Revision: 8e779045c9
Author: stwn <st...@virtue.kuliax.org>
Date: Sun Apr 4 00:27:51 2010
Log: Modify preseed.cfg & install/late_command (Closes: #3)
http://code.google.com/p/kuliax/source/detail?r=8e779045c9

Modified:
/live/config/binary_debian-installer/preseed.cfg
/live/config/binary_local-includes/install/late_command

=======================================
--- /live/config/binary_debian-installer/preseed.cfg Wed Feb 17 05:30:01
2010
+++ /live/config/binary_debian-installer/preseed.cfg Sun Apr 4 00:27:51
2010
@@ -25,7 +25,7 @@
d-i clock-setup/ntp boolean false

#-account
-d-i passwd/root-login boolean false
+d-i passwd/root-login boolean true

#-postinst apt-setup
d-i apt-setup/use_mirror boolean true
=======================================
--- /live/config/binary_local-includes/install/late_command Fri Apr 2
02:26:43 2010
+++ /live/config/binary_local-includes/install/late_command Sun Apr 4
00:27:51 2010
@@ -8,18 +8,25 @@

log "Setting up GRUB splash for Kuliax"
sed -i -e 's|AutoLoginEnable=true|#AutoLoginEnable=true|'
/target/etc/kde3/kdm/kdmrc
-sed -i -e 's|//grub/splash.xpm.gz|/boot/grub/splash.xpm.gz|'
/target/boot/grub/menu.lst
sed -i -e 's|splash quiet|splash|g' /target/boot/grub/menu.lst
# sed -i -e 's|Debian GNU\/Linux, kernel 2.6.30-kuliax.2-686|Kuliax 7.0,
kernel 2.6.30-kuliax.2-686|g' /target/boot/grub/menu.lst

log "Copying sources.list"
cp /cdrom/install/sources.list /target/etc/apt/

+BOOT=`df -h | tr -s ' ' | sed '/boot/!d' | cut -d" " -f6`
+
+if [ "$BOOT" = "/target/boot" ]; then
+ continue
+else
+ sed -i -e 's|//grub/splash.xpm.gz|/boot/grub/splash.xpm.gz|'
/target/boot/grub/menu.lst
+fi
+
LIST=`ls /target/home`

for USER in $LIST
do
- if [ $USER != "lumpia" ]; then
+ if [ "$USER" != "lumpia" ]; then
log "Copying ebooks"
mkdir /target/home/$USER/ebooks
cp -r /cdrom/ebooks/* /target/home/$USER/ebooks/

Reply all
Reply to author
Forward
0 new messages