Cyril Brulebois <[EMAIL PROTECTED]> (05/08/2007): > 1. http://ikibiki.org/blog/2007/08/04/Debootstrap_on_GNU_kFreeBSD/ > 2. http://users.alioth.debian.org/~kibi-guest/kfreebsd/ > 3. git://alioth.debian.org/~kibi-guest/debootstrap.git
I dropped a tiny patch in [2] to avoid component duplication (that is:
"main main" in sources.list), although it is quite harmless. From now
on, I encourage everyone to always have a look at the git tree, since I
won't spam here any time I modify something. The ``final diff'' was
mainly to give an overview of the patch.
Some notes:
- after installation, we have the following:
| The following packages have unmet dependencies:
| libgeom0: Depends: libexpat1 (>= 1.95.8) but it is not going to be installed
| module-init-tools: Depends: kfreebsd-image
| ufsutils: Depends: libedit2 (>= 2.5.cvs.20010821-1) but it is not going to
be installed
| E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify
a solution).
and indeed, ``apt-get -f install'' fixes the problem, so that's not
really a problem.
Why these problems? kfreebsd-image is a virtual package, that my
helper script can't handle. The other missing packages are
dependencies from unreleased to unstable, which I didn't consider in
my helper script yet, but I could add this feature. The fact is that
most unstable dependencies of unreleased packages are already
base/required packages, so it goes mostly OK. I could add some
checks on these unstable dependencies so as to list the non
base/required ones, and output them; then they could be added to the
normal debootstrap --include option. (I'll probably do this when
I'm rewritting the helper script to use grep-dctrl.)
- until the /dev generation is OK, you'll have to fix the permissions
on /dev/null. There's also no /dev/u?random, which is uncool for
crypto-related stuff (e.g. ssh-client).
- when ``playing'' with initscripts, I triggered by accident the
shutdown, but the whole machine went down, so: beware.
Cheers,
--
Cyril Brulebois
pgplWrHcKNhs5.pgp
Description: PGP signature

