[kuliax-commits] [kuliax] 2 new revisions pushed by esteween on 2010-04-29 20:05 GMT

2 views
Skip to first unread message

kul...@googlecode.com

unread,
Apr 29, 2010, 4:07:00 PM4/29/10
to kuliax-...@googlegroups.com
2 new revisions:

Revision: 99d9efdf9e
Author: stwn <st...@virtue.kuliax.org>
Date: Mon Apr 19 12:57:08 2010
Log: Modify late_command (clean up & +kdesurc), kuliax-scripts (0.1-4)
http://code.google.com/p/kuliax/source/detail?r=99d9efdf9e

Revision: 56a33cc014
Author: stwn <st...@virtue.kuliax.org>
Date: Thu Apr 29 13:09:23 2010
Log: Commit pending modification: modify preseed, late_command,
kuliax-artw...
http://code.google.com/p/kuliax/source/detail?r=56a33cc014

==============================================================================
Revision: 99d9efdf9e
Author: stwn <st...@virtue.kuliax.org>
Date: Mon Apr 19 12:57:08 2010
Log: Modify late_command (clean up & +kdesurc), kuliax-scripts (0.1-4)
http://code.google.com/p/kuliax/source/detail?r=99d9efdf9e

Modified:
/live/config/binary_local-includes/install/late_command
/pkg/build/kuliax-scripts-0.1/addsudo
/pkg/build/kuliax-scripts-0.1/debian/changelog

=======================================
--- /live/config/binary_local-includes/install/late_command Sat Apr 10
21:20:28 2010
+++ /live/config/binary_local-includes/install/late_command Mon Apr 19
12:57:08 2010
@@ -2,16 +2,17 @@

set -e

-log () {
+log ()
+{
logger -t kuliax_late_cmd "$@"
}

log "Fixing GRUB splash and setting up suspend for Kuliax"
SWP=`cat /target/etc/fstab | tr -s ' ' | sed '/swap/!d' | cut -d" " -f1`
-sed -i -e "s|quite splash|splash resume=$SWP|g" /target/boot/grub/menu.lst
+sed -i -e "s|quite splash|splash resume=${SWP}|g"
/target/boot/grub/menu.lst

BOOT=`df -h | tr -s ' ' | sed '/boot/!d' | cut -d" " -f6`
-if [ "$BOOT" = "/target/boot" ]; then
+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
@@ -23,26 +24,13 @@
log "Removing KDE autologin"
sed -i -e "s|AutoLoginEnable=true|#AutoLoginEnable=true|"
/target/etc/kde3/kdm/kdmrc

+log "Removing sudo as default in KDE"
+rm /target/usr/share/kuliax-artwork/kde-profile/share/config/kdesurc
+
log "Copying GTK profile for root"
cp /target/etc/skel/.gtkrc-2.0-kde /target/root/
echo "export GTK2_RC_FILES=$HOME/.gtkrc-2.0-kde" >> /target/root/.profile

-LIST=`ls /target/home`
-for USER in $LIST
-do
- if [ "$USER" != "lumpia" ]; then
- log "Adding $USER to /target/etc/sudoers"
- cp /target/etc/sudoers /target/etc/sudoers.tmp
- chmod u+w /target/etc/sudoers.tmp
- echo "$USER ALL=(ALL) ALL" /target/etc/sudoers.tmp
- chmod u-w /target/etc/sudoers.tmp
- mv /target/etc/sudoers.tmp /target/etc/sudoers
- else
- log "Removing lumpia user"
- rm -rf /target/home/lumpia
- fi
-done
-
log "Activating rsyslog on boot"
in-target update-rc.d rsyslog defaults

=======================================
--- /pkg/build/kuliax-scripts-0.1/addsudo Sun Apr 18 06:52:27 2010
+++ /pkg/build/kuliax-scripts-0.1/addsudo Mon Apr 19 12:57:08 2010
@@ -3,6 +3,25 @@
# 2010 Iwan Setiawan <st...@kuliax.org>

USER=`users`
+KDESURC="/usr/share/kuliax-artwork/kde-profile/share/config/kdesurc"
+
+addsudo()
+{
+ cp /etc/sudoers /etc/sudoers.orig
+ cp /etc/sudoers /etc/sudoers.tmp
+ chmod 0640 /etc/sudoers.tmp
+ echo "${USER} ALL=(ALL) ALL" >> /etc/sudoers.tmp
+ chmod 0440 /etc/sudoers.tmp
+ mv /etc/sudoers.tmp /etc/sudoers
+}
+
+kdesuconf()
+{
+cat << EOF > ${KDESURC}
+[super-user-command]
+super-user-command=sudo
+EOF
+}

if [ `whoami` != "root" ]
then
@@ -16,11 +35,10 @@
zenity --warning --text "You already on the list of sudoers!"
exit 0
fi
- cp /etc/sudoers /etc/sudoers.orig
- cp /etc/sudoers /etc/sudoers.tmp
- chmod 0640 /etc/sudoers.tmp
- echo "${USER} ALL=(ALL) ALL" >> /etc/sudoers.tmp
- chmod 0440 /etc/sudoers.tmp
- mv /etc/sudoers.tmp /etc/sudoers
+ addsudo
+ if [ ! -e ${KDESURC} ]
+ then
+ kdesuconf
+ fi
zenity --info --text "From now on, you could run sudo!"
fi
=======================================
--- /pkg/build/kuliax-scripts-0.1/debian/changelog Sun Apr 18 20:54:04 2010
+++ /pkg/build/kuliax-scripts-0.1/debian/changelog Mon Apr 19 12:57:08 2010
@@ -1,3 +1,9 @@
+kuliax-scripts (0.1-4) lumpia; urgency=low
+
+ * Modify addsudo: clean up and add kdesurc creation
+
+ -- Iwan Setiawan <st...@kuliax.org> Tue, 20 Apr 2010 02:47:30 +0700
+
kuliax-scripts (0.1-3) lumpia; urgency=low

* Set InitialPreference to 0 in desktop/nsplugin.desktop

==============================================================================
Revision: 56a33cc014
Author: stwn <st...@virtue.kuliax.org>
Date: Thu Apr 29 13:09:23 2010
Log: Commit pending modification: modify preseed, late_command,
kuliax-artwork (7.0-0kuliax16), kuliax-browser (0.1-2), kuliax-scripts
(0.1-5)
http://code.google.com/p/kuliax/source/detail?r=56a33cc014

Added:
/live/config/chroot_local-includes/usr/share/kuliax-releasenotes/README.txt
/pkg/build/kuliax-artwork-7.0/kde/kmixrc
/pkg/build/kuliax-artwork-7.0/kde/knetworkmanagerrc
Modified:
/live/config/binary_debian-installer/preseed.cfg
/live/config/binary_local-includes/install/late_command
/pkg/build/kuliax-artwork-7.0/debian/changelog
/pkg/build/kuliax-browser-0.1/debian/changelog
/pkg/build/kuliax-browser-0.1/iceweasel/iceweasel.js
/pkg/build/kuliax-scripts-0.1/addsudo
/pkg/build/kuliax-scripts-0.1/debian/changelog

=======================================
--- /dev/null
+++
/live/config/chroot_local-includes/usr/share/kuliax-releasenotes/README.txt
Thu Apr 29 13:09:23 2010
@@ -0,0 +1,1 @@
+/live/image/README.txt
=======================================
--- /dev/null
+++ /pkg/build/kuliax-artwork-7.0/kde/kmixrc Thu Apr 29 13:09:23 2010
@@ -0,0 +1,9 @@
+AllowDocking=true
+Labels=true
+Menubar=true
+Orientation=Horizontal
+Tickmarks=true
+TrayVolumeControl=true
+ValueStyle=None
+Visible=false
+startkdeRestore=true
=======================================
--- /dev/null
+++ /pkg/build/kuliax-artwork-7.0/kde/knetworkmanagerrc Thu Apr 29 13:09:23
2010
@@ -0,0 +1,2 @@
+[General]
+Autostart=false
=======================================
--- /live/config/binary_debian-installer/preseed.cfg Sun Apr 4 00:27:51
2010
+++ /live/config/binary_debian-installer/preseed.cfg Thu Apr 29 13:09:23
2010
@@ -28,8 +28,8 @@
d-i passwd/root-login boolean true

#-postinst apt-setup
-d-i apt-setup/use_mirror boolean true
-d-i apt-setup/hostname string kuliax.ugm.ac.id
+d-i apt-setup/use_mirror boolean false
+d-i apt-setup/hostname string repo.ugm.ac.id
d-i apt-setup/directory string /kuliax/
d-i apt-setup/another boolean false
d-i apt-setup/security-updates boolean false
@@ -37,7 +37,7 @@
d-i apt-setup/contrib boolean false

d-i popularity-contest/participate boolean false
-d-i debian-installer/add-kernel-opts string quite splash
+d-i debian-installer/add-kernel-opts string splash
d-i finish-install/reboot_in_progress note

#-custom postinst
=======================================
--- /live/config/binary_local-includes/install/late_command Mon Apr 19
12:57:08 2010
+++ /live/config/binary_local-includes/install/late_command Thu Apr 29
13:09:23 2010
@@ -6,26 +6,34 @@
{
logger -t kuliax_late_cmd "$@"
}
+
+SED="sed -i -e"

log "Fixing GRUB splash and setting up suspend for Kuliax"
SWP=`cat /target/etc/fstab | tr -s ' ' | sed '/swap/!d' | cut -d" " -f1`
-sed -i -e "s|quite splash|splash resume=${SWP}|g"
/target/boot/grub/menu.lst
+${SED} "/^kernel/ {s|$| resume=${SWP}|g}" /target/boot/grub/menu.lst

BOOT=`df -h | tr -s ' ' | sed '/boot/!d' | cut -d" " -f6`
-if [ "${BOOT}" = "/target/boot" ]; then
+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
+ ${SED} 's|//grub/splash.xpm.gz|/boot/grub/splash.xpm.gz|'
/target/boot/grub/menu.lst
fi

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

log "Removing KDE autologin"
-sed -i -e "s|AutoLoginEnable=true|#AutoLoginEnable=true|"
/target/etc/kde3/kdm/kdmrc
+${SED} "s|AutoLoginEnable=true|#AutoLoginEnable=true|"
/target/etc/kde3/kdm/kdmrc

log "Removing sudo as default in KDE"
rm /target/usr/share/kuliax-artwork/kde-profile/share/config/kdesurc
+USER=`ls /target/home/`
+for x in ${USER}
+do
+ rm /target/home/${x}/.kde/share/config/kdesurc
+done

log "Copying GTK profile for root"
cp /target/etc/skel/.gtkrc-2.0-kde /target/root/
=======================================
--- /pkg/build/kuliax-artwork-7.0/debian/changelog Sun Apr 18 20:54:04 2010
+++ /pkg/build/kuliax-artwork-7.0/debian/changelog Thu Apr 29 13:09:23 2010
@@ -1,3 +1,9 @@
+kuliax-artwork (7.0-0kuliax16) lumpia; urgency=low
+
+ * Add kde/{kmixrc,knetworkmanagerrc}
+
+ -- Iwan Setiawan <st...@kuliax.org> Thu, 22 Apr 2010 02:25:14 +0700
+
kuliax-artwork (7.0-0kuliax15) lumpia; urgency=low

* Add kde/profilerc
=======================================
--- /pkg/build/kuliax-browser-0.1/debian/changelog Wed Apr 7 01:47:03 2010
+++ /pkg/build/kuliax-browser-0.1/debian/changelog Thu Apr 29 13:09:23 2010
@@ -1,3 +1,9 @@
+kuliax-browser (0.1-2) lumpia; urgency=low
+
+ * Fix startup.homepage_welcome_url
+
+ -- Iwan Setiawan <st...@kuliax.org> Thu, 22 Apr 2010 03:07:43 +0700
+
kuliax-browser (0.1-1) lumpia; urgency=low

* Initial release based on kuliax-bookmarks 7.0-3
=======================================
--- /pkg/build/kuliax-browser-0.1/iceweasel/iceweasel.js Wed Apr 7
01:47:03 2010
+++ /pkg/build/kuliax-browser-0.1/iceweasel/iceweasel.js Thu Apr 29
13:09:23 2010
@@ -27,4 +27,4 @@
pref("font.size.variable.x-western", 15);

// Welcome URL
-pref("startup.homepage_welcome_url","file:///usr/share/kuliax-releasenotes/");
+pref("startup.homepage_welcome_url","file:///usr/share/kuliax-releasenotes/index.html");
=======================================
--- /pkg/build/kuliax-scripts-0.1/addsudo Mon Apr 19 12:57:08 2010
+++ /pkg/build/kuliax-scripts-0.1/addsudo Thu Apr 29 13:09:23 2010
@@ -4,6 +4,7 @@

USER=`users`
KDESURC="/usr/share/kuliax-artwork/kde-profile/share/config/kdesurc"
+KDESURCH="$HOME/.kde/share/config/kdesurc"

addsudo()
{
@@ -39,6 +40,7 @@
if [ ! -e ${KDESURC} ]
then
kdesuconf
+ cp ${KDESURC} ${KDESURCH}
fi
zenity --info --text "From now on, you could run sudo!"
fi
=======================================
--- /pkg/build/kuliax-scripts-0.1/debian/changelog Mon Apr 19 12:57:08 2010
+++ /pkg/build/kuliax-scripts-0.1/debian/changelog Thu Apr 29 13:09:23 2010
@@ -1,3 +1,9 @@
+kuliax-scripts (0.1-5) lumpia; urgency=low
+
+ * Modify addsudo: copy kdesurc to $HOME right away after kdesuconf
+
+ -- Iwan Setiawan <st...@kuliax.org> Thu, 22 Apr 2010 03:20:45 +0700
+
kuliax-scripts (0.1-4) lumpia; urgency=low

* Modify addsudo: clean up and add kdesurc creation

--
Kuliax Project, Bringing Linux to Campus
Web: http://kuliax.org
Log: http://log.kuliax.org
IRC: #kuliax at irc.freenode.net/irc.oftc.net
Reply all
Reply to author
Forward
0 new messages