mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Matt Domsch <Matt_Domsch-8PEkshWhKlo@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] include biosdevname calls in dracut
Date: Sun, 5 Dec 2010 18:52:29 -0600	[thread overview]
Message-ID: <20101206005229.GA687@auslistsprd01.us.dell.com> (raw)

For your consideration.  This allows biosdevname to be called from
network-using functions in dracut.  biosdevname is included in Fedora
15, and there are tickets open to include it in other distros.

Signed-off-by: Matt Domsch <Matt_Domsch-8PEkshWhKlo@public.gmane.org>

Thanks,
Matt


From ef6a283f685571c730063a666830e2f02d8e9244 Mon Sep 17 00:00:00 2001
From: Matt Domsch <Matt_Domsch-8PEkshWhKlo@public.gmane.org>
Date: Fri, 3 Dec 2010 23:41:01 -0600
Subject: [PATCH] add biosdevname calls to network subpackage

---
 dracut.spec                    |    1 +
 modules.d/95udev-rules/install |    5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dracut.spec b/dracut.spec
index f3b92d7..f3fb3dd 100644
--- a/dracut.spec
+++ b/dracut.spec
@@ -113,6 +113,7 @@ Requires: bridge-utils
 Requires: iscsi-initiator-utils
 Requires: nfs-utils 
 Requires: dhclient
+Requires: biosdevname
 %endif
 
 %if 0%{?suse_version}
diff --git a/modules.d/95udev-rules/install b/modules.d/95udev-rules/install
index ee32b56..f42f68a 100755
--- a/modules.d/95udev-rules/install
+++ b/modules.d/95udev-rules/install
@@ -6,10 +6,11 @@
 # ultimately, /lib/initramfs/rules.d or somesuch which includes links/copies
 # of the rules we want so that we just copy those in would be best
 dracut_install udevd udevadm /etc/udev/udev.conf /etc/group
-dracut_install basename
+dracut_install basename biosdevname
 inst_rules 50-udev-default.rules 60-persistent-storage.rules \
     61-persistent-storage-edd.rules 80-drivers.rules 95-udev-late.rules \
-    60-pcmcia.rules 
+    60-pcmcia.rules \
+    71-netdevice.rules
 #Some debian udev rules are named differently
 inst_rules 50-udev.rules 95-late.rules
 
-- 
1.7.3.2

             reply	other threads:[~2010-12-06  0:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-06  0:52 Matt Domsch [this message]
     [not found] ` <20101206005229.GA687-fZmvIyTar7vbK7CpiBUVEGyRm/Zj/t/4AL8bYrjMMd8@public.gmane.org>
2010-12-14 19:58   ` [PATCH] include biosdevname calls in dracut Matt Domsch
     [not found]     ` <20101214195807.GB31714-fZmvIyTar7vbK7CpiBUVEGyRm/Zj/t/4AL8bYrjMMd8@public.gmane.org>
2010-12-21 16:16       ` Amadeusz Żołnowski
2010-12-31 14:57         ` Matt Domsch

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=20101206005229.GA687@auslistsprd01.us.dell.com \
    --to=matt_domsch-8pekshwhklo@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