On Sat, Jul 13, 2002 at 04:09:47PM +0200, Geert Stappers wrote: > At http://www.nl.debian.org/releases/woody/powerpc/ch-install-methods.en.html > is the text > > debootstrap binary-basedebs SUITE=woody VERSION=3.0 \ > MIRROR="http://ftp.debian.org/debian" ARCHES="powerpc" > > When invoking that, I get, > > E: No such script: MIRROR=http://ftp.debian.org/debian
Right, that command is horribly broken. > So I think the example given is wrong. > > debootstrap --arch=powerpc woody binary-basedebs http://ftp.debian.org/debian > > is a working example. Unfortunately, this is broken as well. debootstrap's debian/rules files contains the following target: binary-basedebs: dh_testdir dh_testroot $(MAKE) pkgdetails ln -s . scripts for a in $(ARCHES); do \ rm -rf chroot-dir; \ mkdir -p chroot-dir; \ DEBOOTSTRAP_DIR=. ./debootstrap --arch $$a --download-only $(SUITE) chroot-dir $(MIRROR); \ (cd chroot-dir && tar cf ../../basedebs_$(VERSION)_$$a.tar *); \ rm -rf chroot-dir; \ done rm -f scripts Thus, the correct commands are mkdir -p chroot-dir debootstrap --arch powerpc --download-only woody chroot-dir http://ftp.debian.org/debian (cd chroot-dir && tar cf ../basedebs_3.0_powerpc.tar *) rm -rf chroot-dir If desired, I'll document this in the manual. I'd rather remove them entirely, however. Why would the user want to rebuild the tarball? Matt
msg20798/pgp00000.pgp
Description: PGP signature