On Sun, Apr 10, 2011 at 02:18:49AM +0200, Goswin von Brederlow wrote:
> - The rules for essential packages must remain fulfilled on upgrades
> without this script being executed. The bootstrap script is never
> executed if the system was installed from a version predating the
> "bootstrap" script in the package.

This is already clear in the policy.

> - It must be called before any maintainer script of any package other
> than the "bootstrap" script is called.

Okay.

> - It must not execute other scripts or executables in the new root.

Okay, that is enough.

> > For now two packages will get such a script:

I missed dpkg. At least cdebootstrap still inits files in /var/lib/dpkg.

> Here I think we can go one of two ways:
> 2) "bootstrap" scripts are only executed after the owners (Pre-)Depends
> have been unpacked. This would allow base-files to setup the links based
> on available packages and some internal preference list. In this
> scenario I think base-files should set up /bin/sh and /usr/bin/awk and
> gain a Pre-Depends: system-shell.

This will work now. But needs a lot of work to move the system-shell
name later to another package.

Bastian

-- 
Oh, that sound of male ego.  You travel halfway across the galaxy and
it's still the same song.
                -- Eve McHuron, "Mudd's Women", stardate 1330.1


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110410075720.ga28...@wavehammer.waldi.eu.org

Reply via email to