similarity index 93%
copy from meta-arago-distro/recipes-core/udev/eudev_%.bbappend
copy to meta-arago-distro/recipes-core/udev/eudev-arago.inc
@@ -3,7 +3,7 @@
# meta-arago switches to Dora
# look for files in this layer first
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/eudev:"
PR:append = ".arago5"
@@ -1,22 +1,4 @@
-# This fixes an issue with touchscreens not being detected with the default
-# local.rules. This can be removed when this change is picked up and
-# meta-arago switches to Dora
+EUDEV_ARAGO = ""
+EUDEV_ARAGO:arago = "eudev-arago.inc"
-# look for files in this layer first
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
-
-PR:append = ".arago5"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRC_URI:append = " \
- file://usb1-rules.sh \
- file://usb2-rules.sh"
-
-do_install:append() {
- install -d ${D}/${bindir}
-
- install -m 0755 ${UNPACKDIR}/usb1-rules.sh ${D}${bindir}/usb1-rules.sh
- install -m 0755 ${UNPACKDIR}/usb2-rules.sh ${D}${bindir}/usb2-rules.sh
- ln -sf libudev.so.1 ${D}${base_libdir}/libudev.so.0
-}
+require ${EUDEV_ARAGO}
Wrap the bbappend in a yocto-check-layer compliant manner so that only if you are building this recipe under meta-arago-distro with the arago DISTRO_OVERRIDE would the bbappend apply. Signed-off-by: Ryan Eatmon <reatmon@ti.com> --- .../{eudev_%.bbappend => eudev-arago.inc} | 2 +- .../recipes-core/udev/eudev_%.bbappend | 24 +++---------------- 2 files changed, 4 insertions(+), 22 deletions(-) copy meta-arago-distro/recipes-core/udev/{eudev_%.bbappend => eudev-arago.inc} (93%)