Changeset 2 for 64studio/trunk/utils/64studio-upgrade
- Timestamp:
- 01/23/07 10:38:27 (23 months ago)
- Files:
-
- 1 modified
-
64studio/trunk/utils/64studio-upgrade (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
64studio/trunk/utils/64studio-upgrade
r1 r2 1 1 #!/bin/sh 2 2 3 UNWANTED="\4 at \5 cinepaint \6 courier-mta \7 cron \8 exim4 \9 exim4-base \10 exim4-config \11 exim4-daemon-light \12 fluxbox \13 grip \14 k3b \15 kfilereplace \16 klinkstatus \17 kommander \18 quanta \19 nvu \20 toolame \21 xmms \22 xmms-jack \23 zynaddsubfx \24 "25 EXTRA=26 27 # Add xorg here as it hits etch28 for TASK in base kernel 64studio; do29 EXTRA="$EXTRA $(tasksel --task-packages $TASK)"30 done31 32 echo SET debconf/priority high | debconf-communicate > /dev/null 2>&133 34 apt-get install -y aptitude libsigc++-1.2-5c235 3 apt-get dist-upgrade -y 36 dpkg --force-all --purge xorg-common37 apt-get dist-upgrade -y38 apt-get install -f -y39 apt-get dist-upgrade -y40 apt-get install -f -y41 apt-get dist-upgrade -y42 aptitude remove -y $UNWANTED43 aptitude install -y $EXTRA44 45 apt-get install alsa-modules-2.6.13-1-multimedia-amd64-generic46 apt-get install ia32-libs47 48 CFG=/etc/bootsplash/themes/current/config/bootsplash-1024x768.cfg49 INITRD=/boot/initrd.img-2.6.13-1-multimedia-amd64-generic50 51 if [ -e $CFG ]; then52 if [ -e $INITRD.orig ] ; then53 mv $INITRD.orig $INITRD54 fi55 cp $INITRD $INITRD.orig56 splash -s -f $CFG >> $INITRD57 fi58 59 SYSV="rc rcS"60 for RC in $SYSV; do61 if [ -e /etc/init.d/$RC.orig ]; then62 mv /etc/init.d/$RC.orig /etc/init.d/$RC63 fi64 done65 66 /var/lib/dpkg/info/sysv-rc-bootsplash.postinst configure
