* [PATCH] Install debian renamed udev rules as well
@ 2009-06-08 15:18 Seewer Philippe
[not found] ` <4A2D2BD4.1000504-omB+W0Dpw2o@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Seewer Philippe @ 2009-06-08 15:18 UTC (permalink / raw)
To: <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Debian has reworked/renamed quite a few default udev rules.
This patch ensures that the necessary debian rules get installed if available.
---
diff --git a/modules.d/95udev-rules/install b/modules.d/95udev-rules/install
index b53650f..3ed1e5a 100755
--- a/modules.d/95udev-rules/install
+++ b/modules.d/95udev-rules/install
@@ -6,6 +6,9 @@ dracut_install udevd udevadm /lib*/udev/*_id /etc/udev/udev.conf /etc/group
inst_rules 50-udev-default.rules 60-persistent-storage.rules \
61-persistent-storage-edd.rules 80-drivers.rules 95-udev-late.rules
+#Debian udev rules are named a bit differently
+inst_rules 50-udev.rules 95-late.rules
+
if ldd $(find_binary udevd) |grep -q /lib64/libc; then
dracut_install /lib64/libnss_files*
else
--
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
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <4A2D2BD4.1000504-omB+W0Dpw2o@public.gmane.org>]
* Re: [PATCH] Install debian renamed udev rules as well [not found] ` <4A2D2BD4.1000504-omB+W0Dpw2o@public.gmane.org> @ 2009-06-08 19:15 ` Jeremy Katz [not found] ` <20090608191550.GA11215-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Jeremy Katz @ 2009-06-08 19:15 UTC (permalink / raw) To: <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> On Monday, June 08 2009, Seewer Philippe said: > Debian has reworked/renamed quite a few default udev rules. The last time this came up, the conclusion was that the dracut upstream shouldn't be hacked to workaround the fact that Debian deviates from upstream udev. Kay even felt pretty strongly about it, iirc. Debian is currently the only major distro that isn't just shipping the upstream defaults... Jeremy -- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20090608191550.GA11215-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH] Install debian renamed udev rules as well [not found] ` <20090608191550.GA11215-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2009-06-08 20:57 ` Seewer Philippe 0 siblings, 0 replies; 3+ messages in thread From: Seewer Philippe @ 2009-06-08 20:57 UTC (permalink / raw) To: Jeremy Katz; +Cc: <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> Jeremy Katz wrote: > On Monday, June 08 2009, Seewer Philippe said: >> Debian has reworked/renamed quite a few default udev rules. > > The last time this came up, the conclusion was that the dracut upstream > shouldn't be hacked to workaround the fact that Debian deviates from > upstream udev. Kay even felt pretty strongly about it, iirc. I know, I know. I think I heard the rambling a few times on IRC. But: It's not a hack and not even a workaraound. It's just two files that may be copied if they are there. So I thought maybe its OK... > Debian is currently the only major distro that isn't just shipping the > upstream defaults... Well, I really need (want?) Debian support in dracut. If you're not happy with that, what about a debian specific module? Would result in more or less the same but wouldn't clutter up a "normal" dracut module. Regards, Philippe > > Jeremy > -- > 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 -- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-06-08 20:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-08 15:18 [PATCH] Install debian renamed udev rules as well Seewer Philippe
[not found] ` <4A2D2BD4.1000504-omB+W0Dpw2o@public.gmane.org>
2009-06-08 19:15 ` Jeremy Katz
[not found] ` <20090608191550.GA11215-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-08 20:57 ` Seewer Philippe
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox