udev-rules-nmhw: Update rule to also add scripts
Some scripts trigerred by udev rules must also be installed. BugzID: 75479
This commit is contained in:
parent
27a82d21c9
commit
8bc99070fa
|
|
@ -18,5 +18,8 @@ do_install () {
|
||||||
|
|
||||||
if ls ${S}/machines/${MACHINE}/*.rules 1> /dev/null 2>&1 ; then
|
if ls ${S}/machines/${MACHINE}/*.rules 1> /dev/null 2>&1 ; then
|
||||||
install -m 0644 ${S}/machines/${MACHINE}/*.rules ${D}${sysconfdir}/udev/rules.d/
|
install -m 0644 ${S}/machines/${MACHINE}/*.rules ${D}${sysconfdir}/udev/rules.d/
|
||||||
|
if [ -f ${S}/machines/${MACHINE}/*.sh ]; then
|
||||||
|
install -m 0755 ${S}/machines/${MACHINE}/*.sh ${D}${sysconfdir}/udev/rules.d/
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue