make-fai-nfsroot: debootstrap 0.1.16.1 crashes at inst of exim
Chad C. Walstrom
chewie at wookimus.net
Thu Jan 31 21:50:30 CET 2002
On Thu, Jan 31, 2002 at 06:15:26PM +0100, Albrecht Frank wrote:
> Therefor the main problem is for me, how do I avoid the selection
> of exim [for debootstrap]?
The quickest way is to hack debootstrap's package selection files:
bash# dpkg-divert --add --local --rename /usr/lib/debootstrap/scripts/woody
----------- BEGIN PATCH --------------
--- woody.old Thu Jan 31 14:44:21 2002
+++ woody Thu Jan 31 14:44:55 2002
@@ -24,6 +24,7 @@
;;
"i386")
required="$(without_package "libperl5.6" "$required") mbr"
+ base="$(without_package "exim" "$base")"
base="$base lilo pciutils setserial syslinux psmisc
pcmcia-cs"
;;
"ia64")
----------- END PATCH --------------
Note, I said quickest. I can't guarantee that it'll work. There are
some packages that require a mail transport agent, such as cron.
A better solution would be to debug the exim install process. Where
does it fail? You can download the exim sources with
bash$ apt-get source exim
Then add a 'set -x' line to the debian/postinst script. Increment the
version to something like <version>-<debian version>.0.1. Make your
debian package:
# build a binary only package w/o digitally signing
bash$ dpkg-buildpackage -uc -us -b -rfakeroot
Place this in your local debian mirror and make sure your sources.list
file has a line to read that location. Create a Packages and
Packages.gz file for that mirror.
bash$ dpkg-scanpackages <directory> <overrides> > Packages
bash$ gzip -c Packages > Packages.gz
Test it on your local workstation:
bash$ sudo apt-get install exim
Test it with an FAI install. Debug, change package, recompile, test,
test, test. ;-)
--
Chad Walstrom <chewie at wookimus.net> | a.k.a. ^chewie
http://www.wookimus.net/ | s.k.a. gunnarr
Get my public key, ICQ#, etc. $(mailx -s 'get info' chewie at wookimus.net)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20020131/82a58689/attachment.bin
More information about the linux-fai
mailing list