Install debian renamed udev rules as well
PATCH 1/1 Install debian renamed udev rules as well
Debian has reworked/renamed quite a few default udev rules.
This patch ensures that the necessary debian rules get installed if available.
---
modules.d/95udev-rules/install +0 -0
@@ -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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Seewer Philippe
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Jeremy Katz
Quoted 1 line · Seewer Philippe
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...
Quoted 2 lines
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
Quoted 6 lines
Jeremy
--
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
--
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