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

Re: [patch] debootstrap basedebs tarball support

Thank you, thank you! This solution should solve my pppoe problem in the 
same way as the base tarball does now for potato when I do an install.
I'd be able to separately install the pppoe software after the
basedebs.tgz is installed, and before I have to be on the network, if
I'm reading this correctly.


Without sharing, there would be no Internet
Without the Internet, there would be no sharing
Share your code, share your source
-- Let's build something as great as the Internet!

>From: Ethan Benson <erbenson@alaska.net>
>To: Debian-boot <debian-boot@lists.debian.org>
>Subject: [patch] debootstrap basedebs tarball support
>Date: Wed, Jun 20, 2001, 10:15

> I have written a patch to debootstrap which implements support for
> acquiring .debs via a tarball instead of the network.
> the way this works is you give debootstrap a mirror of
> tar://some/where/basedebs.tgz  instead of a normal file:// or http://
> URL.  debootstrap will extract the tarball in $TARGET/var and then
> proceed as if it just downloaded all the packages via the network.
> the tarball must contain cache/apt/archives/ and lib/apt/lists (or
> state/apt/lists).
> i wrote a basic script to build a basedebs.tgz its included in this
> patch.  for this script to work i needed a --download-only option to
> debootstrap, so i added that as well.
> Note that this does not attempt to solve the root filesystem base
> tarball that some people want for setting up NFS roots.  i don't think
> that needs to be supported in either debootstrap or the
> boot-floppies.  rather i think someone should make a debian package
> say nfsroot-pmac which in its build process runs debootstrap and then
> tars up the result. (or something similar).
> this tarball acquisition method for debootstrap would simply be to
> solve the ppp problem we have now, without saying `ffs! buy a CD!
> foad!'
> all b-f would have to do is add a single extra option: `tarball on
> mounted filesystem'  where the user would pick a basedebs.tgz on a
> mounted filesystem (hard disk partition most likely) and dbootstrap
> would just run debootstrap using tar://instmnt/basedebs.tgz as its
> mirror.  easy.
> i post this here just to get comments on the implementation.  if we
> decide that supporting a basedebs.tgz in b-f is useful i think this is
> the least problematic way to go about it.  i see no reason for b-f to
> support a root filesystem tarball since the only reason anyone seems
> to want one is setting up NFS roots for different archetecures, that
> task does not use b-f, so these can be built/kept somewhere else.
> --
> Ethan Benson
> http://www.alaska.net/~erbenson/

Reply to: