All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Drake <dsd-2X9k7bc8m7Mdnm+yROfE0A@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: installing modules from outside of /
Date: Thu, 16 Jul 2009 12:58:37 +0100	[thread overview]
Message-ID: <1247745517.2197.20.camel@polyethylene> (raw)

Hi,

dracut-functions instmods() seems to only look for modules
in /lib/modules/$kernel

In the case of OLPC, we are hoping to build the dracut initramfs in the
%install part of our kernel RPM package. That way, the target systems do
not need to have dracut installed in order to install the
kernel/initramfs -- avoiding a huge pile of dependencies including
cryptsetup, device-mapper, etc. This was suggested by Harald.

In this particular scenario, the modules we'd want to include in the
initramfs are not at /lib/modules/$kernel. They are at
$RPM_BUILD_ROOT/lib/modules/$kernel

Can dracut be extended to work in this situation?

Thanks,
Daniel


--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

                 reply	other threads:[~2009-07-16 11:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1247745517.2197.20.camel@polyethylene \
    --to=dsd-2x9k7bc8m7mdnm+yrofe0a@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.