Skip to contentSkip to conversation

package/xenomai: update udev rules search path

PATCH New Romain Naour 2 participants 2 messages Apr 30, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/xenomai: update udev rules search path

The udev rules has been moved to kernel/cobalt/udev.

Fixes:
http://autobuild.buildroot.net/results/8eb/8eb4643faed523ffccd421f20c2955adfde634a6

---
Do we want to keep the old path in the .mk for backward compatibility with Xenomai < 3 ?

---
 package/xenomai/xenomai.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/xenomai/xenomai.mk +1 -1
index c1477d9..fa46819 100644
@@ -146,7 +146,7 @@ XENOMAI_DEPENDENCIES += udev
 
 define XENOMAI_INSTALL_UDEV_RULES
 	if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
-		for f in $(@D)/ksrc/nucleus/udev/*.rules ; do \
+		for f in $(@D)/kernel/cobalt/udev/*.rules ; do \
 			cp $$f $(TARGET_DIR)/etc/udev/rules.d/ || exit 1 ; \
 		done ; \
 	fi;
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 package/xenomai: update udev rules search path

Hello,

Quoted 6 lines · Romain Naour

The udev rules has been moved to kernel/cobalt/udev.

Fixes:
http://autobuild.buildroot.net/results/8eb/8eb4643faed523ffccd421f20c2955adfde634a6

Applied, thanks!

Quoted 2 lines

Do we want to keep the old path in the .mk for backward compatibility with Xenomai < 3 ?

No, there are already lots of things that no longer work with Xenomai < 3.

Quoted 2 lines

define XENOMAI_INSTALL_UDEV_RULES
if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \

Why do we have this test here? XENOMAI_INSTALL_UDEV_RULES is only used when udev is enabled, so this folder should already exist, no?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com