]> spindle.queued.net Git - xodist/blobdiff - configs/debxo-gnome/hooks
debxo: update kernel to 2.6.37-rcX
[xodist] / configs / debxo-gnome / hooks
index 02c022cc0016a0a05371d40e4616d312d74b2276..f5461a92933cede3e9853bc290a6200a443aba73 100644 (file)
@@ -25,6 +25,9 @@ customize_chroot_hook()
        # put here.  $ROOT_DIR should be prefixed to any paths.
        
        mkdir ${ROOT_DIR}/ofw
+
+       # OFW needs this to boot w/ partitions
+       ln -s . ${ROOT_DIR}/boot/boot
        
        # Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
        # (see <http://bugs.debian.org/314334>).
@@ -43,7 +46,8 @@ Dir {
 };
 EOF
 
-       
+       # add archive key for lenny-backports
+       wget -O - http://backports.org/debian/archive.key | (chroot ${ROOT_DIR} apt-key add -)
 }
 
 package_configure_hook()
@@ -67,10 +71,8 @@ msr
 EOF
 
        # install some custom packages that aren't on mirrors.  ugly hack!
-       k="http://lunge.mit.edu/~dilinger/debxo-0.2/initramfs-tools_0.92l.2_all.deb 
- http://lunge.mit.edu/~dilinger/debxo-0.2/ofw-config_0.1_all.deb 
- http://lunge.mit.edu/~dilinger/debxo-0.4/linux-2.6.25.15_2.6.25.15-165_i386.deb 
- http://lunge.mit.edu/~dilinger/debxo-0.5/xserver-xorg-video-geode_2.11.0-0.3_i386.deb"
+       k="http://lunge.mit.edu/~dilinger/debxo-0.2/ofw-config_0.1_all.deb 
+ http://lunge.mit.edu/~dilinger/debxo-0.6/linux-image-2.6.36+_2.6.36+-14_i386.deb"
        mkdir -p cache
        for i in $k; do
                pkg=$(basename ${i})
@@ -82,9 +84,6 @@ EOF
                rm -f ${ROOT_DIR}/${pkg}
        done
 
-       # take some packages that are okay to upgrade off hold
-       echo xserver-xorg-video-geode install | (chroot ${ROOT_DIR} dpkg --set-selections)
-
        # No longer a need for xorg.conf
        rm -f ${ROOT_DIR}/etc/X11/xorg.conf