mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: "Amadeusz Żołnowski" <aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] kernel-modules: inst modules.builtin if there's no modules.builtin.bin
Date: Thu, 28 Apr 2011 15:45:47 +0200	[thread overview]
Message-ID: <4DB96F8B.7080505@redhat.com> (raw)
In-Reply-To: <1303486991-8133-1-git-send-email-aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>

Am 22.04.2011 17:43, schrieb Amadeusz Żołnowski:
> Also report failure if none of them exist.
> ---
>   modules.d/90kernel-modules/module-setup.sh |   11 ++++++++++-
>   1 files changed, 10 insertions(+), 1 deletions(-)
>
> diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
> index 5f0e4a7..5764bf5 100755
> --- a/modules.d/90kernel-modules/module-setup.sh
> +++ b/modules.d/90kernel-modules/module-setup.sh
> @@ -46,5 +46,14 @@ install() {
>       dracut_install $(find /etc/modprobe.d/ -type f -name '*.conf')
>       inst_hook cmdline 01 "$moddir/parse-kernel.sh"
>       inst_simple "$moddir/insmodpost.sh" /sbin/insmodpost.sh
> -    inst "$srcmods/modules.builtin.bin" "/lib/modules/$kernel/modules.builtin.bin"
> +
> +    local f
> +
> +    for f in modules.builtin.bin modules.builtin; do
> +        [[ $srcmods/$f ]]&&  inst "$srcmods/$f" "/lib/modules/$kernel/$f" \
> +&&  break
> +    done || {
> +        dfatal "No modules.builtin.bin and modules.builtin found!"
> +        return 1
> +    }
>   }

pushed! Thank you!

      parent reply	other threads:[~2011-04-28 13:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-22 15:43 [PATCH] kernel-modules: inst modules.builtin if there's no modules.builtin.bin Amadeusz Żołnowski
     [not found] ` <1303486991-8133-1-git-send-email-aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
2011-04-28 13:45   ` Harald Hoyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DB96F8B.7080505@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox