Bug#453360: live-helper: global hooks mini and minimal break local hooks natural flow.
When you call lh_build after having configured the live helper build,
several steps are performed. Among them you can find the lh_chroot_hooks
and lh_chroot_local-hooks and they are executed in that order.
The thing is that lh_chroot_hooks usually calls mini or minimal scripts
at /usr/share/live-helper/hooks. They do a cleanup of the chroot, like
for example cleaning the package list(s). This changes the state that some
local-hook script expect like ipw3945.sh.
If they want to install modules-assistant for example, they will be
unable since apt-get won't have an up-to-date package list. For apt-get
any non-installed package will be unknown.
In this situation if you do apt-get update, you will bloat the chroot
and you wouldn't have any other option since the mini or minimal script
have already done the cleanup.
I propose deferring the cleanup when all chroot operations have been
performed either by user or local scripts or any other natural lh
-- Package-specific info:
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 22.214.171.124-rc1-rtoi (PREEMPT)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages live-helper depends on:
ii debootstrap 1.0.7 Bootstrap a basic Debian system
live-helper recommends no packages.
-- no debconf information