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

Re: multistrap in native mode - howto switch configuration step off



On Sun, 09 Oct 2011 21:40:12 +0200
Marcus Osdoba <marcus.osdoba@googlemail.com> wrote:

> Is there a way to swich the configuration step off in native mode (I'm 
> using multistrap from stable-backports.)?

In that version, there is support for "native-hooks" which use the N
filename prefix. Hook scripts are called with "$dir start" arguments,
where $dir is the top level of the rootfs, before multistrap starts
configuring packages. Hook scripts are called again with "$dir end"
arguments to "undo" the effect of the start operations. This could be
used to perform the required steps ahead of config.

Hooks may disappear in time or may be replaced by other functionality
in future versions but I might get around to separating native unpacking
and native configuration at some point. Never did quite get time to
document the hooks and there's little point doing it now until the
replacement method has been thought out.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgp7rXTnw1JS_.pgp
Description: PGP signature


Reply to: