--- toast-linux	2005/02/21 20:04:43	1.143
+++ toast-linux	2005/02/22 00:15:08	1.144
@@ -366,6 +366,13 @@
   echo "mount -t ext2 /dev/toast/boot /mnt/boot"
   echo "mkswap /dev/$vgname/swap"
   echo "swapon /dev/toast/swap"
+
+  # tell lilo where to install its boot sector
+  for disk in `cd /sys/block && echo [hs]d[a-z]`; do
+    [ -n "$BOOTDEV" ] && break
+    [ "`cat /sys/block/$disk/removable 2>/dev/null`" = "0" ] && BOOTDEV="$disk"
+  done
+  [ -n "$BOOTDEV" ] && echo "ln -s \"$BOOTDEV\" /dev/boot # lilo boot device"
 }
 
 prepare()
@@ -388,7 +395,7 @@
   for i in `seq 1 $statuslines`; do echo; done
   let scroll="$LINES-$statuslines"
 
-  cat > tmp/tasks << "EOF"
+  sed 's/\#.*//' << "EOF" | grep . > tmp/tasks
 partition 0 0 cn
 rootfs 17468 596 cn
 perl 9500 10345 c
@@ -498,7 +505,7 @@
 rcs 424 766 
 samba 14860 12984 
 smartmontools 192 0 
-valgrind 964  
+#valgrind 964 # 2.2.0 wanted older kernel headers
 zip 728 255 
 unzip 1108 425 
 popt 584 766 
@@ -514,10 +521,10 @@
 netpbm 2060 5066 
 alsa-lib 576 2426 
 alsa-utils 160 553 
-alsa-tools 740  
+#alsa-tools 740 # contains many independent subdirs; toast chokes on it
 libmng 520 2256 
 eject 68
-syslinux 432  
+#syslinux 432 # toast wasn't compiling 2.13 properly, at least
 units 224 170 
 espgs 5304 7577 
 cvs 2344 2256 
@@ -539,14 +546,14 @@
 xscreensaver 4288 6598 
 xdaliclock 204 298 
 freetype 852 1788 
-fam 336  
-t1lib 1516  
+#fam 336 # BTree-related compile errors; do we actually need this anyway?
+#t1lib 1516 # wants latex.fmt (?)
 xpdf 544 2000 
 lesstif 3404 6854 
 SDL 2564 5023 
-xine-lib 7212  
-xine-ui 2572  
-cdparanoia 136  
+#xine-lib 7212 # some weird configure error
+#xine-ui 2572 # needs xine-lib
+#cdparanoia 136 # dislikes gcc 3.4? (label at end of compound statement)
 glib 2120 3490 
 libIDL 340 1277 
 ORBit2 672 4640 
@@ -581,12 +588,12 @@
 evolution-data-server 4924 13325 
 gnome-panel 3152 5406 
 gnome-session 872 1915 
-vte 888  
-gnome-terminal 2040  
+#vte 888 # `FC_WIDTH' undeclared
+#gnome-terminal 2040 # needs vte
 libgtop 1032 2894 
 gail 560 3703 
-libxklavier 312  
-gnome-applets 6280  
+#libxklavier 312 # "The path /X11/xkb does not denote the directory"
+#gnome-applets 6280 # needs libxklavier
 metacity 2140 3192 
 librsvg 376 2298 
 eel 624 3192 
@@ -618,21 +625,22 @@
 gnome-mag 324 1064 
 gnopernicus 1788 4342 
 gok 1220 3703 
-epiphany 3324  
+#epiphany 3324 # looks like some kind of mozilla library versioning issue
 gnome-games 5812 6556 
 file-roller 1368 2426 
 gnome-system-tools 2676 2639 
 gnome-nettool 516 1064 
 vino 536 1702 
 dbus 1240 2724 
-hal 1300  
-gnome-volume-manager 200  
+libcap 32
+hal 1300
+gnome-volume-manager 200
 gal 1140 8812 
 gtkhtml 1308 8514 
 evolution 14672  
 evolution-webcal 156 425 
-pwlib 1080  
-gnomemeeting 2892  
+#pwlib 1080 # .../obj_linux_x86_d/asner.dep:1: *** missing separator.  Stop.
+#gnomemeeting 2892 # needs pwlib
 libsigc++ 1404 2767 
 glibmm 812 3959 
 gtkmm 3864 47553 
@@ -642,10 +650,10 @@
 gconfmm 276 1617 
 gnome-vfsmm 332 3405 
 libgnomeuimm 332 7705 
-libgtk-java 460  
-libgconf-java 76  
-libglade-java 92  
-libgnome-java 176  
+#libgtk-java 460 # needs java
+#libgconf-java 76 # needs java
+#libglade-java 92 # needs java
+#libgnome-java 176 # needs java
 Glib 220 510 
 Gtk2 560 6002 
 Gnome2-Canvas 84 340 
@@ -669,15 +677,15 @@
 kdemultimedia 5288 77992 
 kdenetwork 6828 78631 
 kdepim 9792 147641 
-kdesdk 4288  
+#kdesdk 4288 # cannot convert `DB_BTREE_STAT**' to `DB_TXN*'
 kdetoys 2720 7194 
 kdeutils 2180 38868 
 kdevelop 7796 114349 
 kdewebdev 4716 64284 
 kdeaddons 1548 30609 
-firefox 31976  
-xmms 2384  
-gimp 13520  
+#firefox 31976 # doesn't compile; not sure what's going on here
+#xmms 2384 # wants older glib, I think
+#gimp 13520 # wants newer fontconfig
 gkrellm 656 1660 
 EOF
 
@@ -1032,7 +1040,7 @@
 
 # Gnome 2.8.0, KDE 3.3.2:
 http://ftp.gnome.org/pub/GNOME/bindings/2.8/2.8.0/sources/c++/
-http://ftp.gnome.org/pub/GNOME/bindings/2.8/2.8.0/sources/java/
+#http://ftp.gnome.org/pub/GNOME/bindings/2.8/2.8.0/sources/java/ # needs java
 http://ftp.gnome.org/pub/GNOME/bindings/2.8/2.8.0/sources/perl/
 http://ftp.gnome.org/pub/GNOME/bindings/2.8/2.8.0/sources/python/
 http://ftp.gnome.org/pub/GNOME/desktop/2.8/2.8.0/sources/
@@ -1100,6 +1108,7 @@
 http://ftp.xfree86.org/pub/XFree86/4.4.0/source/doctools-1.3.2.tgz
 http://kernel.org/pub/linux/daemons/autofs/v4/autofs-4.1.2.tar.bz2
 http://kernel.org/pub/linux/docs/manpages/man-pages-1.65.tar.bz2
+http://kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/libcap-1.10.tar.bz2
 http://kernel.org/pub/linux/utils/boot/syslinux/
 http://kernel.org/pub/linux/utils/man/man-1.5m2.tar.bz2
 http://kernel.org/pub/software/utils/pciutils/pciutils-2.1.11.tar.bz2