3 # Update squashfs -- assumes you start with a Hardy 8.04.1 desktop,
4 # but it should work even if you have already updated it.
7 if [ ! -d sqfs ] ; then
8 echo "Cannot find squashfs (sqfs directory)"
12 mount -t proc none /proc/
13 mount -t sysfs non /sys/
17 apt-get remove --purge `dpkg-query -W --showformat '${Package}\n' | grep language-pack | egrep -v '\-en'`
18 apt-get remove --purge `dpkg-query -W --showformat '${Package}\n' | grep openoffice\.org-`
19 apt-get remove --purge amarok dictionaries-common
21 cat >/etc/apt/sources.list <<EOF
22 deb http://archive.ubuntu.com/ubuntu/ hardy main restricted
23 deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
24 deb http://archive.ubuntu.com/ubuntu/ hardy universe
25 deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
26 deb http://archive.ubuntu.com/ubuntu/ hardy multiverse
27 deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted
28 deb http://archive.ubuntu.com/ubuntu/ hardy-security universe
29 deb http://archive.ubuntu.com/ubuntu/ hardy-security multiverse
30 deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
36 apt-get install openssh-server subversion kdetoys kicker-applets kgpg gftp \
38 apt-get install flashplugin-nonfree aircrack-ng g++ nvidia-glx-new gfxboot \
41 # Add heldback packages
42 apt-get install bind9-host dnsutils libbind9-30 libisccc30 libisccfg30 \
43 linux-generic linux-headers-generic linux-image-generic \
44 linux-restricted-modules-generic ssl-cert
47 apt-get remove linux-headers-2.6.24-19 linux-headers-2.6.24-19-generic \
48 linux-image-2.6.24-19-generic linux-restricted-modules-2.6.24-19-generic \
49 linux-restricted-modules-2.6.24-22-generic linux-ubuntu-modules-2.6.24-19-generic
52 dpkg-query -W --showformat='${Package} ${Version}\n' >filesystem.manifest
56 rm -f /etc/hosts /etc/resolv.conf
60 cp sqfs/filesystem.manifest .
61 rm -f sqfs/filsystem.manifest