On 20.10.2011 19:57, Will Woods wrote:
> The livenet module was intended to be optional, so its check() function
> in module-setup.sh should return 255, not 0.
>
> This was causing systems without 'wget' to fail to build initramfs, as
> in RHBZ#747632.
> ---
> modules.d/90livenet/module-setup.sh | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/modules.d/90livenet/module-setup.sh
> b/modules.d/90livenet/module-setup.sh
> index 3ee7521..613a225 100755
> --- a/modules.d/90livenet/module-setup.sh
> +++ b/modules.d/90livenet/module-setup.sh
> @@ -5,7 +5,7 @@ check() {
> # a live, host-only image doesn't really make a lot of sense
> [[ $hostonly ]] && return 1
> command -v wget || return 1
> - return 0
> + return 255
> }
>
> depends() {
already fixed, thanks!
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html