Bug#453360: live-helper: global hooks mini and minimal break local hooks natural flow.
I agree. Mini and minimal hooks are not normal hooks. They should not be
implemented like normal hooks, but as "cleanup hooks", "teardown script" or
something like that. In that way, live-helper will make sure to cleanup just
*after* all other hooks were executed.
On Nov 29, 2007 2:15 AM, Ra?l S?nchez Siles <rasasi78 at gmail.com> wrote:
> Package: live-helper
> Version: 1.0~a37-2
> Severity: important
> 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 220.127.116.11-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
> live-helper recommends no packages.
> -- no debconf information
> debian-live-devel mailing list
> debian-live-devel at lists.alioth.debian.org
-------------- next part --------------
An HTML attachment was scrubbed...