On Friday 22 August 2003 03:09 am, Petter Reinholdtsen wrote: > [Tom Panning] > > > As I said at the beginning of this message, I'm very interested in > > helping this project, so let me know how I can fix this problem and I'd > > be glad to. > > The bug is reported as #205381, "kbd-chooser's postinst exited with > status 35584". If you can supply into BTS patches to fix it, I am > sure the maintainer will be pleased.
Yeah, I goofed and sent the email to the listserv before checking the BTS. I've already added my extra bit of information to that bug report. From the bug reports, it sounds like the solution is to add the package console-keymaps-at. I downloaded the CVS version of debian-installer and attempted to build it to make sure the problem existed there, but when I did "make image" I received the error "Disk full" (the entire log output from "make build" and "make image" is attached). During "make build" the "System stats for floppy" says that the free space is -36k, so I think this is the same as bug #201785. That bug report is 35 days old and has received no new information. I find it hard to believe that no one has been able to make an image from CVS for over a month, so I think I'm doing something wrong. I read all of the documentation, including build/README, but I have been unable to find out how to correctly make the image. Could someone please point me in the right direction? Thanks, Tom
mkdir -p apt/state/lists/partial mkdir -p apt/cache/archives/partial apt-get --assume-yes -o Dir::Etc::sourcelist=/home/tom/debian/debian-boot/cvs/debian-installer/build/sources.list -o Dir::State=/home/tom/debian/debian-boot/cvs/debian-installer/build/apt/state -o Debug::NoLocking=true -o Dir::Cache=/home/tom/debian/debian-boot/cvs/debian-installer/build/apt/cache update Hit http://http.us.debian.org unstable/main/debian-installer Packages Ign http://http.us.debian.org unstable/main/debian-installer Release Hit http://http.us.debian.org unstable/main Sources Hit http://http.us.debian.org unstable/main Release Reading Package Lists... apt-get --assume-yes -o Dir::Etc::sourcelist=/home/tom/debian/debian-boot/cvs/debian-installer/build/sources.list -o Dir::State=/home/tom/debian/debian-boot/cvs/debian-installer/build/apt/state -o Debug::NoLocking=true -o Dir::Cache=/home/tom/debian/debian-boot/cvs/debian-installer/build/apt/cache autoclean Reading Package Lists... Building Dependency Tree... # If there are local udebs, remove them from the list of things to # get. Then get all the udebs that are left to get. # Note that the trailing blank on the next line is significant. It # makes the sed below always work. needed="rootskel main-menu cdebconf-udeb udpkg anna di-utils-shell kernel-image-2.4.20-1-386-udeb floppy-retriever cdebconf-newt-udeb rootskel-locale usb-discover busybox-cvs-net-udeb socket-modules-2.4.20-1-386-udeb usb-modules-2.4.20-1-386-udeb floppy-modules-2.4.20-1-386-udeb input-modules-2.4.20-1-386-udeb net-retriever netcfg-static netcfg-dhcp choose-mirror kbd-chooser busybox-cvs-udeb hw-detect discover-udeb discover-data-udeb bogl-bterm-udeb languagechooser nano-udeb ethdetect nic-shared-modules-2.4.20-1-386-udeb isa-pnp-modules-2.4.20-1-386-udeb nic-modules-2.4.20-1-386-udeb ide-modules-2.4.20-1-386-udeb fb-modules-2.4.20-1-386-udeb nic-extra-modules-2.4.20-1-386-udeb parport-modules-2.4.20-1-386-udeb ppp-modules-2.4.20-1-386-udeb serial-modules-2.4.20-1-386-udeb console-keymaps-at console-keymaps-usb busybox-cvs-udeb hw-detect discover-udeb discover-data-udeb isa-pnp-modules-2.4.20-1-386-udeb ide-modules-2.4.20-1-386-udeb scsi-modules-2.4.20-1-386-udeb cdrom-modules-2.4.20-1-386-udeb "; \ for file in `find localudebs -name "*_*" -printf "%f\n" 2>/dev/null`; do \ package=`echo $file | cut -d _ -f 1`; \ needed=`echo " $needed " | sed "s/ $package / /"`; \ done; \ if [ "" = y ] ; then \ mkdir -p debugudebs; \ cd debugudebs; \ export DEB_BUILD_OPTIONS="debug"; \ apt-get --assume-yes -o Dir::Etc::sourcelist=/home/tom/debian/debian-boot/cvs/debian-installer/build/sources.list -o Dir::State=/home/tom/debian/debian-boot/cvs/debian-installer/build/apt/state -o Debug::NoLocking=true -o Dir::Cache=/home/tom/debian/debian-boot/cvs/debian-installer/build/apt/cache source --build --yes $needed; \ cd ..; \ else \ echo Need to download : $needed; \ if [ -n "$needed" ]; then \ apt-get --assume-yes -o Dir::Etc::sourcelist=/home/tom/debian/debian-boot/cvs/debian-installer/build/sources.list -o Dir::State=/home/tom/debian/debian-boot/cvs/debian-installer/build/apt/state -o Debug::NoLocking=true -o Dir::Cache=/home/tom/debian/debian-boot/cvs/debian-installer/build/apt/cache -dy install $needed; \ fi; \ fi; \ Need to download : rootskel main-menu cdebconf-udeb udpkg anna di-utils-shell kernel-image-2.4.20-1-386-udeb floppy-retriever cdebconf-newt-udeb rootskel-locale usb-discover busybox-cvs-net-udeb socket-modules-2.4.20-1-386-udeb usb-modules-2.4.20-1-386-udeb floppy-modules-2.4.20-1-386-udeb input-modules-2.4.20-1-386-udeb net-retriever netcfg-static netcfg-dhcp choose-mirror kbd-chooser busybox-cvs-udeb hw-detect discover-udeb discover-data-udeb bogl-bterm-udeb languagechooser nano-udeb ethdetect nic-shared-modules-2.4.20-1-386-udeb isa-pnp-modules-2.4.20-1-386-udeb nic-modules-2.4.20-1-386-udeb ide-modules-2.4.20-1-386-udeb fb-modules-2.4.20-1-386-udeb nic-extra-modules-2.4.20-1-386-udeb parport-modules-2.4.20-1-386-udeb ppp-modules-2.4.20-1-386-udeb serial-modules-2.4.20-1-386-udeb console-keymaps-at console-keymaps-usb busybox-cvs-udeb hw-detect discover-udeb discover-data-udeb isa-pnp-modules-2.4.20-1-386-udeb ide-modules-2.4.20-1-386-udeb scsi-modules-2.4.20-1-386-udeb cdrom-modules-2.4.20-1-386-udeb Reading Package Lists... Building Dependency Tree... The following extra packages will be installed: cdrom-detect cdrom-retriever libc-udeb modutils-basic slang1a-utf8-udeb The following NEW packages will be installed: anna bogl-bterm-udeb busybox-cvs-net-udeb busybox-cvs-udeb cdebconf-newt-udeb cdebconf-udeb cdrom-detect cdrom-modules-2.4.20-1-386-udeb cdrom-retriever choose-mirror console-keymaps-at console-keymaps-usb di-utils-shell discover-data-udeb discover-udeb ethdetect fb-modules-2.4.20-1-386-udeb floppy-modules-2.4.20-1-386-udeb floppy-retriever hw-detect ide-modules-2.4.20-1-386-udeb input-modules-2.4.20-1-386-udeb isa-pnp-modules-2.4.20-1-386-udeb kbd-chooser kernel-image-2.4.20-1-386-udeb languagechooser libc-udeb main-menu modutils-basic nano-udeb net-retriever netcfg-dhcp netcfg-static nic-extra-modules-2.4.20-1-386-udeb nic-modules-2.4.20-1-386-udeb nic-shared-modules-2.4.20-1-386-udeb parport-modules-2.4.20-1-386-udeb ppp-modules-2.4.20-1-386-udeb rootskel rootskel-locale scsi-modules-2.4.20-1-386-udeb serial-modules-2.4.20-1-386-udeb slang1a-utf8-udeb socket-modules-2.4.20-1-386-udeb udpkg usb-discover usb-modules-2.4.20-1-386-udeb 0 packages upgraded, 47 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/4332kB of archives. After unpacking 11.6MB of additional disk space will be used. Download complete and in download only mode # Now the udebs are in APTDIR/cache/archives/ and maybe LOCALUDEBDIR # or DEBUGUDEBDIR, but there may be other udebs there too besides those # we asked for. So link those we asked for to UDEBDIR, renaming them # to more useful names. Watch out for duplicates and missing files # while doing that. rm -rf udebs mkdir -p udebs rm -rf extraudebs mkdir -p extraudebs lnpkg() { \ local pkg=$1; local dir=$2 debdir=$3; \ local L1="`echo $dir/$pkg\_*`"; \ local L2="`echo $L1 | sed -e 's, ,,g'`"; \ if [ "$L1" != "$L2" ]; then \ echo "Duplicate package $pkg in $dir/"; \ exit 1; \ fi; \ if [ -e $L1 ]; then \ ln -f $dir/$pkg\_* $debdir/$pkg.udeb; \ fi; \ }; \ for package in rootskel main-menu cdebconf-udeb udpkg anna di-utils-shell kernel-image-2.4.20-1-386-udeb floppy-retriever cdebconf-newt-udeb rootskel-locale usb-discover busybox-cvs-net-udeb socket-modules-2.4.20-1-386-udeb usb-modules-2.4.20-1-386-udeb floppy-modules-2.4.20-1-386-udeb input-modules-2.4.20-1-386-udeb ; do \ lnpkg $package apt/cache/archives udebs; \ lnpkg $package localudebs udebs; \ lnpkg $package debugudebs udebs; \ if ! [ -e udebs/$package.udeb ]; then \ echo "Needed $package not found (looked in apt/cache/archives/, localudebs/, debugudebs/)"; \ exit 1; \ fi; \ done ; \ for package in net-retriever netcfg-static netcfg-dhcp choose-mirror kbd-chooser busybox-cvs-udeb hw-detect discover-udeb discover-data-udeb bogl-bterm-udeb languagechooser nano-udeb ethdetect nic-shared-modules-2.4.20-1-386-udeb isa-pnp-modules-2.4.20-1-386-udeb nic-modules-2.4.20-1-386-udeb ide-modules-2.4.20-1-386-udeb fb-modules-2.4.20-1-386-udeb nic-extra-modules-2.4.20-1-386-udeb parport-modules-2.4.20-1-386-udeb ppp-modules-2.4.20-1-386-udeb serial-modules-2.4.20-1-386-udeb console-keymaps-at console-keymaps-usb busybox-cvs-udeb hw-detect discover-udeb discover-data-udeb isa-pnp-modules-2.4.20-1-386-udeb ide-modules-2.4.20-1-386-udeb scsi-modules-2.4.20-1-386-udeb cdrom-modules-2.4.20-1-386-udeb ; do \ lnpkg $package apt/cache/archives extraudebs; \ lnpkg $package localudebs extraudebs; \ lnpkg $package debugudebs extraudebs; \ if ! [ -e extraudebs/$package.udeb ]; then \ echo "Needed $package not found (looked in apt/cache/archives/, localudebs/, debugudebs/)"; \ exit 1; \ fi; \ done touch floppy-get_udebs-stamp dh_testroot dpkg-checkbuilddeps # This build cannot be restarted, because dpkg gets confused. rm -rf ./tmp/floppy/tree ./tmp/floppy/modules # Set up the basic files [u]dpkg needs. mkdir -p ./tmp/floppy/tree/var/lib/dpkg/info touch ./tmp/floppy/tree/var/lib/dpkg/status # Create a tmp tree mkdir -p ./tmp/floppy/tree/tmp # Only dpkg needs this stuff, so it can be removed later. mkdir -p ./tmp/floppy/tree/var/lib/dpkg/updates/ touch ./tmp/floppy/tree/var/lib/dpkg/available # Unpack the udebs with dpkg. This command must run as root # or fakeroot. echo -n > diskusage-floppy.txt oldsize=0; oldblocks=0; oldcount=0; for udeb in udebs/*.udeb ; do \ pkg=`basename $udeb` ; \ dpkg --force-overwrite --root=./tmp/floppy/tree --unpack $udeb ; \ newsize=`du -bs ./tmp/floppy/tree | awk '{print $1}'` ; \ newblocks=`du -s ./tmp/floppy/tree | awk '{print $1}'` ; \ newcount=`find ./tmp/floppy/tree -type f | wc -l | awk '{print $1}'` ; \ usedsize=`echo $newsize - $oldsize | bc`; \ usedblocks=`echo $newblocks - $oldblocks | bc`; \ usedcount=`echo $newcount - $oldcount | bc`; \ version=`dpkg-deb --info $udeb | grep Version: | awk '{print $2}'` ; \ echo " $usedsize B - $usedblocks blocks - $usedcount files used by pkg $pkg (version $version )" >>diskusage-floppy.txt;\ oldsize=$newsize ; \ oldblocks=$newblocks ; \ oldcount=$newcount ; \ done Selecting previously deselected package anna. (Reading database ... 0 files and directories currently installed.) Unpacking anna (from udebs/anna.udeb) ... Selecting previously deselected package busybox-cvs-net-udeb. (Reading database ... 7 files and directories currently installed.) Unpacking busybox-cvs-net-udeb (from .../busybox-cvs-net-udeb.udeb) ... Selecting previously deselected package cdebconf-newt-udeb. (Reading database ... 58 files and directories currently installed.) Unpacking cdebconf-newt-udeb (from udebs/cdebconf-newt-udeb.udeb) ... Selecting previously deselected package cdebconf-udeb. (Reading database ... 62 files and directories currently installed.) Unpacking cdebconf-udeb (from udebs/cdebconf-udeb.udeb) ... Selecting previously deselected package di-utils-shell. (Reading database ... 79 files and directories currently installed.) Unpacking di-utils-shell (from udebs/di-utils-shell.udeb) ... Selecting previously deselected package floppy-modules-2.4.20-1-386-udeb. (Reading database ... 79 files and directories currently installed.) Unpacking floppy-modules-2.4.20-1-386-udeb (from .../floppy-modules-2.4.20-1-386-udeb.udeb) ... Selecting previously deselected package floppy-retriever. (Reading database ... 91 files and directories currently installed.) Unpacking floppy-retriever (from udebs/floppy-retriever.udeb) ... Selecting previously deselected package input-modules-2.4.20-1-386-udeb. (Reading database ... 94 files and directories currently installed.) Unpacking input-modules-2.4.20-1-386-udeb (from .../input-modules-2.4.20-1-386-udeb.udeb) ... Selecting previously deselected package kernel-image-2.4.20-1-386-udeb. (Reading database ... 99 files and directories currently installed.) Unpacking kernel-image-2.4.20-1-386-udeb (from .../kernel-image-2.4.20-1-386-udeb.udeb) ... Selecting previously deselected package main-menu. (Reading database ... 102 files and directories currently installed.) Unpacking main-menu (from udebs/main-menu.udeb) ... Selecting previously deselected package rootskel-locale. (Reading database ... 103 files and directories currently installed.) Unpacking rootskel-locale (from udebs/rootskel-locale.udeb) ... Selecting previously deselected package rootskel. (Reading database ... 118 files and directories currently installed.) Unpacking rootskel (from udebs/rootskel.udeb) ... dpkg - warning, overriding problem because --force enabled: trying to overwrite `/linuxrc', which is also in package busybox-cvs-net-udeb Selecting previously deselected package socket-modules-2.4.20-1-386-udeb. (Reading database ... 155 files and directories currently installed.) Unpacking socket-modules-2.4.20-1-386-udeb (from .../socket-modules-2.4.20-1-386-udeb.udeb) ... Selecting previously deselected package udpkg. (Reading database ... 160 files and directories currently installed.) Unpacking udpkg (from udebs/udpkg.udeb) ... Selecting previously deselected package usb-discover. (Reading database ... 163 files and directories currently installed.) Unpacking usb-discover (from udebs/usb-discover.udeb) ... Selecting previously deselected package usb-modules-2.4.20-1-386-udeb. (Reading database ... 167 files and directories currently installed.) Unpacking usb-modules-2.4.20-1-386-udeb (from .../usb-modules-2.4.20-1-386-udeb.udeb) ... sort -n < diskusage-floppy.txt > diskusage-floppy.txt.new && \ mv diskusage-floppy.txt.new diskusage-floppy.txt # Clean up after dpkg. rm -rf ./tmp/floppy/tree/var/lib/dpkg/updates rm -f ./tmp/floppy/tree/var/lib/dpkg/available ./tmp/floppy/tree/var/lib/dpkg/*-old ./tmp/floppy/tree/var/lib/dpkg/lock # Set up modules.dep, ensure there is at least one standard dir (kernel # in this case), so depmod will use its prune list for archs with no # modules. mkdir -p ./tmp/floppy/tree/lib/modules/2.4.20-1-386/kernel; depmod -q -a -b ./tmp/floppy/tree/ 2.4.20-1-386; # These files depmod makes are used by hotplug, and we shouldn't # need them, yet anyway. find ./tmp/floppy/tree/lib/modules/ -name 'modules*' \ -not -name modules.dep -not -type d | xargs rm -f # Create a dev tree mkdir -p ./tmp/floppy/tree/dev # Move the kernel image out of the way, into a temp directory # for use later. We don't need it bloating our image! mv -f ./tmp/floppy/tree/boot/vmlinuz ./tmp/floppy; rmdir ./tmp/floppy/tree/boot/ # Copy terminfo files for slang frontend # TODO: terminfo.udeb? for file in /etc/terminfo/a/ansi /etc/terminfo/l/linux \ /etc/terminfo/v/vt102; do \ mkdir -p ./tmp/floppy/tree/`dirname $file`; \ cp -a $file ./tmp/floppy/tree/$file; \ done # Copy in any extra libs. cp -a /lib/libnss_dns* /lib/libresolv* ./tmp/floppy/tree/lib/ # Unpack additional driver disks, so mklibs runs on them too. rm -rf ./tmp/floppy/tree/driver-tmp mkdir -p ./tmp/floppy/tree/driver-tmp mkdir -p ./tmp/floppy/tree/driver-tmp/var/lib/dpkg/info ./tmp/floppy/tree/driver-tmp/var/lib/dpkg/updates touch ./tmp/floppy/tree/driver-tmp/var/lib/dpkg/status ./tmp/floppy/tree/driver-tmp/var/lib/dpkg/available for udeb in extraudebs/*.udeb ; do \ dpkg --force-overwrite --root=./tmp/floppy/tree/driver-tmp --unpack $udeb; \ done Selecting previously deselected package bogl-bterm-udeb. (Reading database ... 0 files and directories currently installed.) Unpacking bogl-bterm-udeb (from .../bogl-bterm-udeb.udeb) ... Selecting previously deselected package busybox-cvs-udeb. (Reading database ... 8 files and directories currently installed.) Unpacking busybox-cvs-udeb (from .../busybox-cvs-udeb.udeb) ... Selecting previously deselected package cdrom-modules-2.4.20-1-386-udeb. (Reading database ... 87 files and directories currently installed.) Unpacking cdrom-modules-2.4.20-1-386-udeb (from .../cdrom-modules-2.4.20-1-386-udeb.udeb) ... Selecting previously deselected package choose-mirror. (Reading database ... 104 files and directories currently installed.) Unpacking choose-mirror (from extraudebs/choose-mirror.udeb) ... Selecting previously deselected package console-keymaps-at. (Reading database ... 105 files and directories currently installed.) Unpacking console-keymaps-at (from .../console-keymaps-at.udeb) ... Selecting previously deselected package console-keymaps-usb. (Reading database ... 158 files and directories currently installed.) Unpacking console-keymaps-usb (from .../console-keymaps-usb.udeb) ... Selecting previously deselected package discover-data-udeb. (Reading database ... 176 files and directories currently installed.) Unpacking discover-data-udeb (from .../discover-data-udeb.udeb) ... Selecting previously deselected package discover-udeb. (Reading database ... 180 files and directories currently installed.) Unpacking discover-udeb (from extraudebs/discover-udeb.udeb) ... Selecting previously deselected package ethdetect. (Reading database ... 184 files and directories currently installed.) Unpacking ethdetect (from extraudebs/ethdetect.udeb) ... Selecting previously deselected package fb-modules-2.4.20-1-386-udeb. (Reading database ... 188 files and directories currently installed.) Unpacking fb-modules-2.4.20-1-386-udeb (from .../fb-modules-2.4.20-1-386-udeb.udeb) ... Selecting previously deselected package hw-detect. (Reading database ... 196 files and directories currently installed.) Unpacking hw-detect (from extraudebs/hw-detect.udeb) ... Selecting previously deselected package ide-modules-2.4.20-1-386-udeb. (Reading database ... 198 files and directories currently installed.) Unpacking ide-modules-2.4.20-1-386-udeb (from .../ide-modules-2.4.20-1-386-udeb.udeb) ... Selecting previously deselected package isa-pnp-modules-2.4.20-1-386-udeb. (Reading database ... 207 files and directories currently installed.) Unpacking isa-pnp-modules-2.4.20-1-386-udeb (from .../isa-pnp-modules-2.4.20-1-386-udeb.udeb) ... Selecting previously deselected package kbd-chooser. (Reading database ... 209 files and directories currently installed.) Unpacking kbd-chooser (from extraudebs/kbd-chooser.udeb) ... Selecting previously deselected package languagechooser. (Reading database ... 214 files and directories currently installed.) Unpacking languagechooser (from .../languagechooser.udeb) ... Selecting previously deselected package nano-udeb. (Reading database ... 218 files and directories currently installed.) Unpacking nano-udeb (from extraudebs/nano-udeb.udeb) ... Selecting previously deselected package net-retriever. (Reading database ... 219 files and directories currently installed.) Unpacking net-retriever (from extraudebs/net-retriever.udeb) ... Selecting previously deselected package netcfg-dhcp. (Reading database ... 222 files and directories currently installed.) Unpacking netcfg-dhcp (from extraudebs/netcfg-dhcp.udeb) ... Selecting previously deselected package netcfg-static. (Reading database ... 228 files and directories currently installed.) Unpacking netcfg-static (from extraudebs/netcfg-static.udeb) ... Selecting previously deselected package nic-extra-modules-2.4.20-1-386-udeb. (Reading database ... 230 files and directories currently installed.) Unpacking nic-extra-modules-2.4.20-1-386-udeb (from .../nic-extra-modules-2.4.20-1-386-udeb.udeb) ... dpkg - warning, overriding problem because --force enabled: trying to overwrite `/lib/modules/2.4.20-1-386/kernel/drivers/pnp/isa-pnp.o', which is also in package isa-pnp-modules-2.4.20-1-386-udeb (Noting disappearance of isa-pnp-modules-2.4.20-1-386-udeb, which has been completely replaced.) Selecting previously deselected package nic-modules-2.4.20-1-386-udeb. (Reading database ... 248 files and directories currently installed.) Unpacking nic-modules-2.4.20-1-386-udeb (from .../nic-modules-2.4.20-1-386-udeb.udeb) ... dpkg - warning, overriding problem because --force enabled: trying to overwrite `/lib/modules/2.4.20-1-386/kernel/drivers/net/mii.o', which is also in package nic-extra-modules-2.4.20-1-386-udeb Selecting previously deselected package nic-shared-modules-2.4.20-1-386-udeb. (Reading database ... 265 files and directories currently installed.) Unpacking nic-shared-modules-2.4.20-1-386-udeb (from .../nic-shared-modules-2.4.20-1-386-udeb.udeb) ... dpkg - warning, overriding problem because --force enabled: trying to overwrite `/lib/modules/2.4.20-1-386/kernel/drivers/net/8390.o', which is also in package nic-extra-modules-2.4.20-1-386-udeb Selecting previously deselected package parport-modules-2.4.20-1-386-udeb. (Reading database ... 265 files and directories currently installed.) Unpacking parport-modules-2.4.20-1-386-udeb (from .../parport-modules-2.4.20-1-386-udeb.udeb) ... Selecting previously deselected package ppp-modules-2.4.20-1-386-udeb. (Reading database ... 268 files and directories currently installed.) Unpacking ppp-modules-2.4.20-1-386-udeb (from .../ppp-modules-2.4.20-1-386-udeb.udeb) ... Selecting previously deselected package scsi-modules-2.4.20-1-386-udeb. (Reading database ... 278 files and directories currently installed.) Unpacking scsi-modules-2.4.20-1-386-udeb (from .../scsi-modules-2.4.20-1-386-udeb.udeb) ... dpkg - warning, overriding problem because --force enabled: trying to overwrite `/lib/modules/2.4.20-1-386/kernel/drivers/parport/parport.o', which is also in package parport-modules-2.4.20-1-386-udeb Selecting previously deselected package serial-modules-2.4.20-1-386-udeb. (Reading database ... 338 files and directories currently installed.) Unpacking serial-modules-2.4.20-1-386-udeb (from .../serial-modules-2.4.20-1-386-udeb.udeb) ... # Library reduction. mkdir -p ./tmp/floppy/tree/lib mklibs -v -d ./tmp/floppy/tree/lib --root=./tmp/floppy/tree `find ./tmp/floppy -type f -perm +0111 -o -name '*.so'` I: Using ld-linux.so.2 as dynamic linker. Adding rpath ./tmp/floppy/tree//usr/lib/cdebconf for ./tmp/floppy/tree/usr/lib/cdebconf/db/rfc822db.so Adding rpath ./tmp/floppy/tree//usr/lib/cdebconf for ./tmp/floppy/tree/usr/lib/cdebconf/frontend/newt.so Adding rpath ./tmp/floppy/tree//usr/lib/cdebconf for ./tmp/floppy/tree/usr/bin/debconf-copydb Adding rpath ./tmp/floppy/tree//usr/lib/cdebconf for ./tmp/floppy/tree/usr/bin/debconf-loadtemplate Adding rpath ./tmp/floppy/tree//usr/lib/cdebconf for ./tmp/floppy/tree/usr/sbin/dpkg-reconfigure Adding rpath ./tmp/floppy/tree//usr/lib/cdebconf for ./tmp/floppy/tree/usr/bin/debconf I: library reduction pass 1 Objects: busybox libdiscover.so rfc822db.so busybox choose-mirror kbd-chooser nano discover libnss_dns-2.3.2.so libresolv-2.3.2.so bterm anna netcfg-dhcp.postinst newt.so di-utils-shell.postinst debconf-copydb debconf-loadtemplate libdebconf.so dpkg-reconfigure main-menu net-retriever netcfg-static.postinst udpkg debconf Object: ./tmp/floppy/tree/driver-tmp/bin/busybox Object: ./tmp/floppy/tree/driver-tmp/lib/libdiscover.so Object: ./tmp/floppy/tree/usr/lib/cdebconf/db/rfc822db.so Object: ./tmp/floppy/tree/bin/busybox Object: ./tmp/floppy/tree/driver-tmp/usr/bin/choose-mirror Object: ./tmp/floppy/tree/driver-tmp/usr/bin/kbd-chooser Object: ./tmp/floppy/tree/driver-tmp/usr/bin/nano Object: ./tmp/floppy/tree/driver-tmp/sbin/discover Object: ./tmp/floppy/tree/lib/libnss_dns-2.3.2.so Object: ./tmp/floppy/tree/lib/libresolv-2.3.2.so Object: ./tmp/floppy/tree/driver-tmp/usr/bin/bterm Object: ./tmp/floppy/tree/usr/bin/anna Object: ./tmp/floppy/tree/driver-tmp/var/lib/dpkg/info/netcfg-dhcp.postinst Object: ./tmp/floppy/tree/usr/lib/cdebconf/frontend/newt.so Object: ./tmp/floppy/tree/var/lib/dpkg/info/di-utils-shell.postinst Object: ./tmp/floppy/tree/usr/bin/debconf-copydb Object: ./tmp/floppy/tree/usr/bin/debconf-loadtemplate Object: ./tmp/floppy/tree/usr/lib/cdebconf/libdebconf.so Object: ./tmp/floppy/tree/usr/sbin/dpkg-reconfigure Object: ./tmp/floppy/tree/usr/bin/main-menu Object: ./tmp/floppy/tree/driver-tmp/usr/lib/debian-installer/retriever/net-retriever Object: ./tmp/floppy/tree/driver-tmp/var/lib/dpkg/info/netcfg-static.postinst Object: ./tmp/floppy/tree/usr/bin/udpkg Object: ./tmp/floppy/tree/usr/bin/debconf 414 symbols, 364 unresolved reducing libresolv.so.2 /lib//libresolv.so.2 56620L ./tmp/floppy/tree/lib/libresolv.so.2-so 51951L ./tmp/floppy/tree/lib/libresolv.so.2-so-stripped 44176L reducing libdiscover.so.1 /usr/lib//libdiscover.so.1 59244L ./tmp/floppy/tree/lib/libdiscover.so.1-so 40852L ./tmp/floppy/tree/lib/libdiscover.so.1-so-stripped 34120L reducing libnewt.so.0.51 /usr/lib//libnewt.so.0.51 56200L ./tmp/floppy/tree/lib/libnewt.so.0.51-so 52534L ./tmp/floppy/tree/lib/libnewt.so.0.51-so-stripped 43488L reducing libdebian-installer.so.3 No pic file found for /usr/lib//libdebian-installer.so.3 ; copying reducing libm.so.6 /lib//libm.so.6 134100L ./tmp/floppy/tree/lib/libm.so.6-so 1734L ./tmp/floppy/tree/lib/libm.so.6-so-stripped 1232L reducing libdl.so.2 No pic file found for /lib//libdl.so.2 ; copying reducing libdebconf.so no action required for ./tmp/floppy/tree//usr/lib/cdebconf/libdebconf.so reducing libdebconfclient.so.0 No pic file found for /usr/lib//libdebconfclient.so.0 ; copying reducing libc.so.6 /lib//libc.so.6 1142224L ./tmp/floppy/tree/lib/libc.so.6-so 725296L ./tmp/floppy/tree/lib/libc.so.6-so-stripped 610312L reducing libslang.so.1-UTF8 /lib//libslang.so.1-UTF8 325360L ./tmp/floppy/tree/lib/libslang.so.1-UTF8-so 95336L ./tmp/floppy/tree/lib/libslang.so.1-UTF8-so-stripped 76440L I: library reduction pass 2 Objects: busybox libdiscover.so rfc822db.so busybox choose-mirror kbd-chooser nano discover libnss_dns-2.3.2.so libresolv-2.3.2.so bterm anna netcfg-dhcp.postinst newt.so di-utils-shell.postinst debconf-copydb debconf-loadtemplate libdebconf.so dpkg-reconfigure main-menu net-retriever netcfg-static.postinst udpkg debconf Object: ./tmp/floppy/tree/driver-tmp/bin/busybox Object: ./tmp/floppy/tree/driver-tmp/lib/libdiscover.so Object: ./tmp/floppy/tree/usr/lib/cdebconf/db/rfc822db.so Object: ./tmp/floppy/tree/bin/busybox Object: ./tmp/floppy/tree/driver-tmp/usr/bin/choose-mirror Object: ./tmp/floppy/tree/driver-tmp/usr/bin/kbd-chooser Object: ./tmp/floppy/tree/driver-tmp/usr/bin/nano Object: ./tmp/floppy/tree/driver-tmp/sbin/discover Object: ./tmp/floppy/tree/lib/libnss_dns-2.3.2.so Object: ./tmp/floppy/tree/lib/libresolv-2.3.2.so Object: ./tmp/floppy/tree/driver-tmp/usr/bin/bterm Object: ./tmp/floppy/tree/usr/bin/anna Object: ./tmp/floppy/tree/driver-tmp/var/lib/dpkg/info/netcfg-dhcp.postinst Object: ./tmp/floppy/tree/lib/libresolv.so.2-so-stripped Object: ./tmp/floppy/tree/lib/libdiscover.so.1-so-stripped Object: ./tmp/floppy/tree/lib/libnewt.so.0.51-so-stripped Object: ./tmp/floppy/tree/lib/libdebian-installer.so.3-so-stripped Object: ./tmp/floppy/tree/lib/libm.so.6-so-stripped Object: ./tmp/floppy/tree/lib/libdl.so.2-so-stripped Object: ./tmp/floppy/tree/lib/libdebconfclient.so.0-so-stripped Object: ./tmp/floppy/tree/lib/libc.so.6-so-stripped Object: ./tmp/floppy/tree/lib/libslang.so.1-UTF8-so-stripped Object: ./tmp/floppy/tree/usr/lib/cdebconf/frontend/newt.so Object: ./tmp/floppy/tree/var/lib/dpkg/info/di-utils-shell.postinst Object: ./tmp/floppy/tree/usr/bin/debconf-copydb Object: ./tmp/floppy/tree/usr/bin/debconf-loadtemplate Object: ./tmp/floppy/tree/usr/lib/cdebconf/libdebconf.so Object: ./tmp/floppy/tree/usr/sbin/dpkg-reconfigure Object: ./tmp/floppy/tree/usr/bin/main-menu Object: ./tmp/floppy/tree/driver-tmp/usr/lib/debian-installer/retriever/net-retriever Object: ./tmp/floppy/tree/driver-tmp/var/lib/dpkg/info/netcfg-static.postinst Object: ./tmp/floppy/tree/usr/bin/udpkg Object: ./tmp/floppy/tree/usr/bin/debconf 482 symbols, 28 unresolved reducing libresolv.so.2 /lib//libresolv.so.2 56620L ./tmp/floppy/tree/lib/libresolv.so.2-so 51951L ./tmp/floppy/tree/lib/libresolv.so.2-so-stripped 44176L reducing libdiscover.so.1 /usr/lib//libdiscover.so.1 59244L ./tmp/floppy/tree/lib/libdiscover.so.1-so 40852L ./tmp/floppy/tree/lib/libdiscover.so.1-so-stripped 34120L reducing ld-linux.so.2 No pic file found for /lib//ld-linux.so.2 ; copying reducing libdebian-installer.so.3 No pic file found for /usr/lib//libdebian-installer.so.3 ; copying reducing libm.so.6 /lib//libm.so.6 134100L ./tmp/floppy/tree/lib/libm.so.6-so 1734L ./tmp/floppy/tree/lib/libm.so.6-so-stripped 1232L reducing libnewt.so.0.51 /usr/lib//libnewt.so.0.51 56200L ./tmp/floppy/tree/lib/libnewt.so.0.51-so 52534L ./tmp/floppy/tree/lib/libnewt.so.0.51-so-stripped 43488L reducing libdebconf.so no action required for ./tmp/floppy/tree//usr/lib/cdebconf/libdebconf.so reducing libdl.so.2 No pic file found for /lib//libdl.so.2 ; copying reducing libdebconfclient.so.0 No pic file found for /usr/lib//libdebconfclient.so.0 ; copying reducing libc.so.6 /lib//libc.so.6 1142224L ./tmp/floppy/tree/lib/libc.so.6-so 730309L ./tmp/floppy/tree/lib/libc.so.6-so-stripped 614532L reducing libslang.so.1-UTF8 /lib//libslang.so.1-UTF8 325360L ./tmp/floppy/tree/lib/libslang.so.1-UTF8-so 95368L ./tmp/floppy/tree/lib/libslang.so.1-UTF8-so-stripped 76472L I: library reduction pass 3 Objects: busybox libdiscover.so rfc822db.so busybox choose-mirror kbd-chooser nano discover libnss_dns-2.3.2.so libresolv-2.3.2.so bterm anna netcfg-dhcp.postinst libresolv.so.2-so-stripped libdiscover.so.1-so-stripped libnewt.so.0.51-so-stripped libdebian-installer.so.3-so-stripped libm.so.6-so-stripped libdl.so.2-so-stripped libdebconfclient.so.0-so-stripped libc.so.6-so-stripped libslang.so.1-UTF8-so-stripped newt.so di-utils-shell.postinst debconf-copydb debconf-loadtemplate libdebconf.so dpkg-reconfigure main-menu net-retriever netcfg-static.postinst udpkg debconf Object: ./tmp/floppy/tree/driver-tmp/bin/busybox Object: ./tmp/floppy/tree/driver-tmp/lib/libdiscover.so Object: ./tmp/floppy/tree/usr/lib/cdebconf/db/rfc822db.so Object: ./tmp/floppy/tree/bin/busybox Object: ./tmp/floppy/tree/driver-tmp/usr/bin/choose-mirror Object: ./tmp/floppy/tree/driver-tmp/usr/bin/kbd-chooser Object: ./tmp/floppy/tree/driver-tmp/usr/bin/nano Object: ./tmp/floppy/tree/driver-tmp/sbin/discover Object: ./tmp/floppy/tree/lib/libnss_dns-2.3.2.so Object: ./tmp/floppy/tree/lib/libresolv-2.3.2.so Object: ./tmp/floppy/tree/driver-tmp/usr/bin/bterm Object: ./tmp/floppy/tree/usr/bin/anna Object: ./tmp/floppy/tree/driver-tmp/var/lib/dpkg/info/netcfg-dhcp.postinst Object: ./tmp/floppy/tree/lib/libresolv.so.2-so-stripped Object: ./tmp/floppy/tree/lib/libdiscover.so.1-so-stripped Object: ./tmp/floppy/tree/lib/libnewt.so.0.51-so-stripped Object: ./tmp/floppy/tree/lib/libdebian-installer.so.3-so-stripped Object: ./tmp/floppy/tree/lib/libm.so.6-so-stripped Object: ./tmp/floppy/tree/lib/libdl.so.2-so-stripped Object: ./tmp/floppy/tree/lib/libdebconfclient.so.0-so-stripped Object: ./tmp/floppy/tree/lib/libc.so.6-so-stripped Object: ./tmp/floppy/tree/lib/libslang.so.1-UTF8-so-stripped Object: ./tmp/floppy/tree/lib/ld-linux.so.2-so-stripped Object: ./tmp/floppy/tree/usr/lib/cdebconf/frontend/newt.so Object: ./tmp/floppy/tree/var/lib/dpkg/info/di-utils-shell.postinst Object: ./tmp/floppy/tree/usr/bin/debconf-copydb Object: ./tmp/floppy/tree/usr/bin/debconf-loadtemplate Object: ./tmp/floppy/tree/usr/lib/cdebconf/libdebconf.so Object: ./tmp/floppy/tree/usr/sbin/dpkg-reconfigure Object: ./tmp/floppy/tree/usr/bin/main-menu Object: ./tmp/floppy/tree/driver-tmp/usr/lib/debian-installer/retriever/net-retriever Object: ./tmp/floppy/tree/driver-tmp/var/lib/dpkg/info/netcfg-static.postinst Object: ./tmp/floppy/tree/usr/bin/udpkg Object: ./tmp/floppy/tree/usr/bin/debconf 486 symbols, 0 unresolved Moving libresolv.so.2 to libresolv.so.2. Moving libnss_dns.so.2 to libnss_dns.so.2. Moving libresolv-2.3.2.so to libresolv.so.2. Moving libnss_dns-2.3.2.so to libnss_dns.so.2. Moving libdiscover.so.1 to libdiscover.so.1. Moving libnewt.so.0.51 to libnewt.so.0.51. Moving libdebian-installer.so.3 to libdebian-installer.so.3. Moving libm.so.6 to libm.so.6. Moving ld-linux.so.2 to ld-linux.so.2. Moving libdl.so.2 to libdl.so.2. Moving libdebconfclient.so.0 to libdebconfclient.so.0. Moving libc.so.6 to libc.so.6. # Add missing symlinks for libraries # (Needed for mklibs.py) /sbin/ldconfig -n ./tmp/floppy/tree/lib ./tmp/floppy/tree/usr/lib # Remove any libraries that are present in both usr/lib and lib, # from lib. These were unnecessarily copied in by mklibs, and # we want to use the ones in usr/lib instead since they came # from udebs. Only libdebconf has this problem so far. for lib in `find ./tmp/floppy/tree/usr/lib/lib* -type f -printf "%f\n" | cut -d . -f 1 | sort | uniq`; do \ rm -f ./tmp/floppy/tree/lib/$lib.*; \ done find: ./tmp/floppy/tree/usr/lib/lib*: No such file or directory # Now we have reduced libraries installed .. but they are # not listed in the status file. This nasty thing puts them in, # and alters their names to end in -reduced to indicate that # they have been modified. for package in $(dpkg -S `find ./tmp/floppy/tree/lib -type f -not -name '*.o'| sed s:./tmp/floppy/tree::` | cut -d : -f 1 | sort | uniq); do \ dpkg -s $package | sed "s/$package/$package-reduced/g" \ >> ./tmp/floppy/tree/var/lib/dpkg/status; \ done dpkg: /lib/modules/2.4.20-1-386/modules.dep not found. dpkg: /lib/debian-installer.d/S70main-menu-linux not found. dpkg: /lib/debian-installer.d/S20templates not found. dpkg: /lib/debian-installer.d/S50frontend not found. dpkg: /lib/debian-installer.d/S50priority not found. dpkg: /lib/debian-installer.d/S35framebuffer-linux not found. dpkg: /lib/debian-installer.d/S30term-linux not found. dpkg: /lib/debian-installer.d/S40utf8-linux not found. dpkg: /lib/debian-installer.d/S90utf8-linux not found. dpkg: /lib/debian-installer.d/S45usb-linux not found. dpkg: /lib/debian-installer.d/S33framebuffer-module-linux-i386 not found. dpkg: /lib/libdiscover.so.1 not found. dpkg: /lib/libnewt.so.0.51 not found. dpkg: /lib/libdebian-installer.so.3 not found. dpkg: /lib/libdebconfclient.so.0 not found. # Reduce status file to contain only the elements we care about. egrep -i '^((Status|Provides|Depends|Package|Version|Description|installer-menu-item|Description-..):|$)' \ ./tmp/floppy/tree/var/lib/dpkg/status > ./tmp/floppy/tree/var/lib/dpkg/status.udeb rm -f ./tmp/floppy/tree/var/lib/dpkg/status ln -sf status.udeb ./tmp/floppy/tree/var/lib/dpkg/status # Strip all kernel modules, just in case they haven't already been for module in `find ./tmp/floppy/tree/lib/modules/ -name '*.o'`; do \ strip -R .comment -R .note -g $module; \ done # Remove some unnecessary dpkg files. for file in `find ./tmp/floppy/tree/var/lib/dpkg/info -name '*.md5sums' -o \ -name '*.postrm' -o -name '*.prerm' -o -name '*.preinst' -o \ -name '*.list'`; do \ rm $file; \ done touch floppy-tree-stamp # Collect the used UTF-8 strings, to know which glyphs to include in # the font. Using strings is not the best way, but no better suggestion # has been made yet. cp graphic.utf all-floppy.utf cat ./tmp/floppy/tree/driver-tmp/var/lib/dpkg/info/*.templates >> all-floppy.utf cat ./tmp/floppy/tree/var/lib/dpkg/info/*.templates >> all-floppy.utf find ./tmp/floppy/tree -type f | xargs strings >> all-floppy.utf # Remove additional driver disk contents now that we're done with # them. rm -rf ./tmp/floppy/tree/driver-tmp # Tree target ends here. Whew! mkdir -p ./tmp/floppy/net_drivers for file in net-retriever netcfg-static netcfg-dhcp choose-mirror kbd-chooser busybox-cvs-udeb hw-detect discover-udeb discover-data-udeb bogl-bterm-udeb languagechooser nano-udeb ethdetect nic-shared-modules-2.4.20-1-386-udeb isa-pnp-modules-2.4.20-1-386-udeb nic-modules-2.4.20-1-386-udeb ide-modules-2.4.20-1-386-udeb fb-modules-2.4.20-1-386-udeb nic-extra-modules-2.4.20-1-386-udeb parport-modules-2.4.20-1-386-udeb ppp-modules-2.4.20-1-386-udeb serial-modules-2.4.20-1-386-udeb console-keymaps-at console-keymaps-usb ; do \ cp extraudebs/$file* ./tmp/floppy/net_drivers ; done touch net_drivers-stamp mkdir -p ./tmp/floppy/cd_drivers for file in busybox-cvs-udeb hw-detect discover-udeb discover-data-udeb isa-pnp-modules-2.4.20-1-386-udeb ide-modules-2.4.20-1-386-udeb scsi-modules-2.4.20-1-386-udeb cdrom-modules-2.4.20-1-386-udeb ; do \ cp extraudebs/$file* ./tmp/floppy/cd_drivers ; done touch cd_drivers-stamp System stats for floppy ------------------------- Installed udebs: rootskel main-menu cdebconf-udeb udpkg anna di-utils-shell kernel-image-2.4.20-1-386-udeb floppy-retriever cdebconf-newt-udeb rootskel-locale usb-discover busybox-cvs-net-udeb socket-modules-2.4.20-1-386-udeb usb-modules-2.4.20-1-386-udeb floppy-modules-2.4.20-1-386-udeb input-modules-2.4.20-1-386-udeb Total system size: 2.4M (1012K libs, 416K kernel modules) Initrd size: 810k Kernel size: 666k Free space: -36k Disk usage per package: 6134 B - 16 blocks - 4 files used by pkg di-utils-shell.udeb (version 0.24 ) 6350 B - 20 blocks - 4 files used by pkg usb-discover.udeb (version 0.02 ) 12736 B - 24 blocks - 4 files used by pkg floppy-retriever.udeb (version 0.06 ) 13660 B - 16 blocks - 2 files used by pkg udpkg.udeb (version 0.014 ) 15220 B - 32 blocks - 4 files used by pkg main-menu.udeb (version 0.036 ) 26570 B - 32 blocks - 4 files used by pkg input-modules-2.4.20-1-386-udeb.udeb (version 2.4.20-8 ) 29755 B - 32 blocks - 2 files used by pkg cdebconf-newt-udeb.udeb (version 0.40 ) 52587 B - 152 blocks - 29 files used by pkg rootskel.udeb (version 0.35 ) 53576 B - 56 blocks - 3 files used by pkg socket-modules-2.4.20-1-386-udeb.udeb (version 2.4.20-8 ) 69580 B - 92 blocks - 10 files used by pkg anna.udeb (version 0.033 ) 114888 B - 136 blocks - 10 files used by pkg cdebconf-udeb.udeb (version 0.40 ) 164175 B - 172 blocks - 4 files used by pkg floppy-modules-2.4.20-1-386-udeb.udeb (version 2.4.20-8 ) 167144 B - 176 blocks - 5 files used by pkg usb-modules-2.4.20-1-386-udeb.udeb (version 2.4.20-8 ) 222719 B - 232 blocks - 2 files used by pkg busybox-cvs-net-udeb.udeb (version 0.60.99.cvs20030426-9 ) 239624 B - 280 blocks - 13 files used by pkg rootskel-locale.udeb (version 0.35 ) 795097 B - 800 blocks - 3 files used by pkg kernel-image-2.4.20-1-386-udeb.udeb (version 2.4.20-8 ) echo Calculating spec stats Calculating spec stats net_drivers size: 936k Free space: 504k Disk usage per package on net_drivers: -rw-r--r-- 1 root root 17638 Aug 22 11:34 ./tmp/floppy/net_drivers/bogl-bterm-udeb.udeb -rw-r--r-- 1 root root 133420 Aug 22 11:34 ./tmp/floppy/net_drivers/busybox-cvs-udeb.udeb -rw-r--r-- 1 root root 13966 Aug 22 11:34 ./tmp/floppy/net_drivers/choose-mirror.udeb -rw-r--r-- 1 root root 37380 Aug 22 11:34 ./tmp/floppy/net_drivers/console-keymaps-at.udeb -rw-r--r-- 1 root root 6520 Aug 22 11:34 ./tmp/floppy/net_drivers/console-keymaps-usb.udeb -rw-r--r-- 1 root root 11332 Aug 22 11:34 ./tmp/floppy/net_drivers/discover-data-udeb.udeb -rw-r--r-- 1 root root 31210 Aug 22 11:34 ./tmp/floppy/net_drivers/discover-udeb.udeb -rw-r--r-- 1 root root 6386 Aug 22 11:34 ./tmp/floppy/net_drivers/ethdetect.udeb -rw-r--r-- 1 root root 19052 Aug 22 11:34 ./tmp/floppy/net_drivers/fb-modules-2.4.20-1-386-udeb.udeb -rw-r--r-- 1 root root 5550 Aug 22 11:34 ./tmp/floppy/net_drivers/hw-detect.udeb -rw-r--r-- 1 root root 148534 Aug 22 11:34 ./tmp/floppy/net_drivers/ide-modules-2.4.20-1-386-udeb.udeb -rw-r--r-- 1 root root 21180 Aug 22 11:34 ./tmp/floppy/net_drivers/isa-pnp-modules-2.4.20-1-386-udeb.udeb -rw-r--r-- 1 root root 26464 Aug 22 11:34 ./tmp/floppy/net_drivers/kbd-chooser.udeb -rw-r--r-- 1 root root 5130 Aug 22 11:34 ./tmp/floppy/net_drivers/languagechooser.udeb -rw-r--r-- 1 root root 20218 Aug 22 11:34 ./tmp/floppy/net_drivers/nano-udeb.udeb -rw-r--r-- 1 root root 2550 Aug 22 11:34 ./tmp/floppy/net_drivers/net-retriever.udeb -rw-r--r-- 1 root root 17356 Aug 22 11:34 ./tmp/floppy/net_drivers/netcfg-dhcp.udeb -rw-r--r-- 1 root root 19398 Aug 22 11:34 ./tmp/floppy/net_drivers/netcfg-static.udeb -rw-r--r-- 1 root root 139824 Aug 22 11:34 ./tmp/floppy/net_drivers/nic-extra-modules-2.4.20-1-386-udeb.udeb -rw-r--r-- 1 root root 186392 Aug 22 11:34 ./tmp/floppy/net_drivers/nic-modules-2.4.20-1-386-udeb.udeb -rw-r--r-- 1 root root 5752 Aug 22 11:34 ./tmp/floppy/net_drivers/nic-shared-modules-2.4.20-1-386-udeb.udeb -rw-r--r-- 1 root root 28280 Aug 22 11:34 ./tmp/floppy/net_drivers/parport-modules-2.4.20-1-386-udeb.udeb -rw-r--r-- 1 root root 44578 Aug 22 11:34 ./tmp/floppy/net_drivers/ppp-modules-2.4.20-1-386-udeb.udeb -rw-r--r-- 1 root root 7044 Aug 22 11:34 ./tmp/floppy/net_drivers/serial-modules-2.4.20-1-386-udeb.udeb echo Calculating spec stats Calculating spec stats cd_drivers size: 1392k Free space: 48k Disk usage per package on net_drivers: -rw-r--r-- 1 root root 133420 Aug 22 11:34 ./tmp/floppy/cd_drivers/busybox-cvs-udeb.udeb -rw-r--r-- 1 root root 109292 Aug 22 11:34 ./tmp/floppy/cd_drivers/cdrom-modules-2.4.20-1-386-udeb.udeb -rw-r--r-- 1 root root 11332 Aug 22 11:34 ./tmp/floppy/cd_drivers/discover-data-udeb.udeb -rw-r--r-- 1 root root 31210 Aug 22 11:34 ./tmp/floppy/cd_drivers/discover-udeb.udeb -rw-r--r-- 1 root root 5550 Aug 22 11:34 ./tmp/floppy/cd_drivers/hw-detect.udeb -rw-r--r-- 1 root root 148534 Aug 22 11:34 ./tmp/floppy/cd_drivers/ide-modules-2.4.20-1-386-udeb.udeb -rw-r--r-- 1 root root 21180 Aug 22 11:34 ./tmp/floppy/cd_drivers/isa-pnp-modules-2.4.20-1-386-udeb.udeb -rw-r--r-- 1 root root 961560 Aug 22 11:34 ./tmp/floppy/cd_drivers/scsi-modules-2.4.20-1-386-udeb.udeb
if [ -d "./tmp/floppy/tree/usr/lib/locale/C.UTF-8" ]; then \ make ./tmp/floppy/tree/unifont.bgf; \ fi make[1]: Entering directory `/home/tom/debian/debian-boot/cvs/debian-installer/build' # Use the UTF-8 locale in rootskel-locale. This target shouldn't # be called when it is not present anyway. # reduce-font is part of package libbogl-dev # unifont.bdf is part of package bf-utf-source # The locale must be generated after installing the package locales CHARMAP=`LOCPATH=./tmp/floppy/tree/usr/lib/locale LC_ALL=C.UTF-8 locale charmap`; \ if [ UTF-8 != "$CHARMAP" ]; then \ echo "error: Trying to build unifont.bgf without rootskel-locale!"; \ exit 1; \ fi LOCPATH=./tmp/floppy/tree/usr/lib/locale LC_ALL=C.UTF-8 reduce-font /usr/src/unifont.bdf < all-floppy.utf > unifont-reduced-floppy.bdf.tmp setlocale: C.UTF-8 FYI: MB_CUR_MAX/MB_LEN_MAX: 6/16 Used chars: 303 (1296401 processed) mv unifont-reduced-floppy.bdf.tmp unifont-reduced-floppy.bdf # bdftobogl is part of package libbogl-dev bdftobogl -b unifont-reduced-floppy.bdf > tmp/floppy/tree/unifont.bgf.tmp mv tmp/floppy/tree/unifont.bgf.tmp tmp/floppy/tree/unifont.bgf make[1]: Leaving directory `/home/tom/debian/debian-boot/cvs/debian-installer/build' rm -f ./tmp/floppy/image.tmp install -d ./tmp/floppy install -d dest if [ ext2 = ext2 ]; then \ genext2fs -d ./tmp/floppy/tree -b `expr $(du -s ./tmp/floppy/tree | cut -f 1) + $(expr $(find ./tmp/floppy/tree | wc -l) \* 2)` ./tmp/floppy/image.tmp; \ elif [ ext2 = romfs ]; then \ genromfs -d ./tmp/floppy/tree -f ./tmp/floppy/image.tmp; \ else \ echo "Unsupported filesystem type"; \ exit 1; \ fi; gzip -vc9 ./tmp/floppy/image.tmp > dest/floppy-initrd.gz.tmp ./tmp/floppy/image.tmp: 70.8% mv dest/floppy-initrd.gz.tmp dest/floppy-initrd.gz if mount | grep -q /home/tom/debian/debian-boot/cvs/debian-installer/build/mnt && ! umount /home/tom/debian/debian-boot/cvs/debian-installer/build/mnt ; then \ echo "Error unmounting /home/tom/debian/debian-boot/cvs/debian-installer/build/mnt" 2>&1 ; \ exit 1; \ fi mkdir -p /home/tom/debian/debian-boot/cvs/debian-installer/build/mnt if [ "/usr/bin/upx-ucl-beta" ] ; then \ /usr/bin/upx-ucl-beta -9 ./tmp/floppy/vmlinuz; \ fi Ultimate Packer for eXecutables Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 UPX 1.91 beta Markus F.X.J. Oberhumer & Laszlo Molnar Jan 27th 2003 File size Ratio Format Name -------------------- ------ ----------- ----------- 682135 -> 637971 93.52% bvmlinuz/386 vmlinuz Packed 1 file. WARNING: this is an unstable beta version - use for testing only! Really. dd if=/dev/zero of=dest/floppy-image.img.new bs=1k count=1440 1440+0 records in 1440+0 records out 1474560 bytes transferred in 0.037047 seconds (39802390 bytes/sec) mkfs.msdos -i deb00001 -n 'Debian Installer' -C dest/floppy-image.img.new 1440 mkfs.msdos 2.9 (15 May 2003) # syslinux is used to make the floppy bootable mcopy -idest/floppy-image.img.new ./tmp/floppy/vmlinuz ::\linux && mcopy -idest/floppy-image.img.new dest/floppy-initrd.gz ::\initrd.gz && todos < boot/i386/syslinux.cfg | mcopy -idest/floppy-image.img.new - ::\syslinux.cfg Disk full make: *** [dest/floppy-image.img] Error 1