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:
Alexandre Bard 2021-11-25 15:17:56 +01:00
parent 27a82d21c9
commit 8bc99070fa
1 changed files with 3 additions and 0 deletions

View File

@ -18,5 +18,8 @@ do_install () {
if ls ${S}/machines/${MACHINE}/*.rules 1> /dev/null 2>&1 ; then
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
}