[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: new demo system -- chrooted!

On Thu, Dec 28, 2000 at 01:34:45AM +1000, Anthony Towns wrote:
> On Thu, Dec 21, 2000 at 02:16:11PM -0800, Joey Hess wrote:
> > This demo system is a bit bigger than the previous ones, because it is a
> > self-contained chrooted system!
> > http://people.debian.org/~joeyh/debian-installer/demo3.tar.gz
> 	http://people.debian.org/~ajt/base-deb-20001228.tar.gz

Okay, working a bit better now is

if you unpack that somewhere with some space, and compile pkg_path.c, then
run ./create_chroot.sh as root, you should get an automatically generated
base systems; debs obtained from woody on ftp.debian.org.

It's easily extended to including ssh in the base system (and handling
that non-US/main and main are likely to be different mirrors), sets
up apt so that it works, and leaves /var/cache/apt/archives and
/var/state/apt/lists fairly well populated.

All of base that uses debconf properly gets pre-configured with
debconf-tiny; although base-config doesn't deal with that too well
and you have to say "no" to creating a normal user when it asks, and
console-data re-asks its questions.

It almost works with the demo system but doesn't quite: it needs a
patch applied to busybox tar (in the BTS), and uses sort and tr and uniq
(and ideally md5sum and wc) which aren't included in the demo busybox.

Note that this version works with woody instead of sid, so we've got
an ancient debconf, that doesn't depend on either apt or perl-5.6. The
script needs some (fairly minor) changes to move to perl-5.6 or debconf
instead of debconf-tiny, and so on.


Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

     ``Thanks to all avid pokers out there''
                       -- linux.conf.au, 17-20 January 2001

Attachment: pgpFEafX3lI15.pgp
Description: PGP signature

Reply to: