1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00
Files
meta-ti/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes.bb
Ryan Eatmon afcdfa2e63 recipes: Update to UNPACKDIR for files going into WORKDIR
For recipes that have file:// in SRC_URI, the files are placed into
WORKDIR.  Moving forward [1], that directory will be UNPACKDIR and
eventually move to somewhere other than WORKDIR.  So update all
references to WORKDIR that are looking for these file to use UNPACKDIR
instead.

[1] https://git.openembedded.org/openembedded-core/commit/?id=e022d62ba917790af2121da57646271ef17c03fa

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2024-05-31 11:51:39 -05:00

27 lines
710 B
BlitzBasic

DESCRIPTION = "Userspace setup for beaglebone capes"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
PR = "r4"
inherit allarch
SRC_URI = "file://cape.service \
file://cape.sh \
file://cape-stop.sh \
"
do_install() {
install -d ${D}${base_libdir}/systemd/system/
install -m 0644 ${UNPACKDIR}/cape.service ${D}${base_libdir}/systemd/system
install -d ${D}${base_libdir}/systemd/system/basic.target.wants
ln -sf ../cape.service ${D}${base_libdir}/systemd/system/basic.target.wants/
install -d ${D}${bindir}
install -m 0755 ${UNPACKDIR}/cape*.sh ${D}${bindir}
}
FILES:${PN} += "${base_libdir}/systemd/system"