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

Neil Williams <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <[email protected]>
On Sun, 09 Oct 2011 21:40:12 +0200
Marcus Osdoba <[email protected]> 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/
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk6R/z0ACgkQiAEJSii8s+MOlgCeL8j+bL8z5MK9Cn3mH8UCL6ek
mOgAoLsHds7W/1fzOMN/AdYYzRISwvkM
=SaMH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.