Skip to content

Commit

Permalink
Merge pull request #51 from ejoerns/unpackdir-master
Browse files Browse the repository at this point in the history
recipes: follow WORKDIR -> UNPACKDIR transition
  • Loading branch information
Emantor authored Jun 3, 2024
2 parents c3edddc + 40f8f6f commit bf2c957
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ BBFILE_PRIORITY_labgrid = "8"
LAYERDEPENDS_labgrid = "core"
LAYERDEPENDS_labgrid += "meta-python"

LAYERSERIES_COMPAT_labgrid = "nanbield scarthgap"
LAYERSERIES_COMPAT_labgrid = "styhead"
6 changes: 3 additions & 3 deletions recipes-devtools/python/python3-labgrid.inc
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ SYSTEMD_SERVICE:${PN} = "labgrid-exporter.service"

do_install:append() {
install -d ${D}${sysconfdir}/labgrid
install -m 0644 ${WORKDIR}/configuration.yaml ${D}${sysconfdir}/labgrid
install -m 0644 ${WORKDIR}/environment ${D}${sysconfdir}/labgrid
install -m 0644 ${UNPACKDIR}/configuration.yaml ${D}${sysconfdir}/labgrid
install -m 0644 ${UNPACKDIR}/environment ${D}${sysconfdir}/labgrid
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/labgrid-exporter.service ${D}${systemd_system_unitdir}/
install -m 0644 ${UNPACKDIR}/labgrid-exporter.service ${D}${systemd_system_unitdir}/
}

FILES:${PN} += "${sysconfdir} ${systemd_system_unitdir}"
2 changes: 1 addition & 1 deletion recipes-devtools/python/python3-lxa-iobus_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ inherit python_setuptools_build_meta systemd
do_install:append() {
# CAN interface setup is handled by systemd service instead of this script
rm -f ${D}${bindir}/lxa-iobus-can-setup
install -D -m0644 ${WORKDIR}/environment ${D}${sysconfdir}/lxa-iobus/environment
install -D -m0644 ${UNPACKDIR}/environment ${D}${sysconfdir}/lxa-iobus/environment
install -D -m0644 ${S}/contrib/systemd/lxa-iobus.service ${D}${systemd_system_unitdir}/lxa-iobus.service
}

Expand Down
2 changes: 1 addition & 1 deletion recipes-devtools/python/python3-powerrelay_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SYSTEMD_SERVICE:${PN} = "labgrid-powerrelay.service"
do_install:append() {
rm -rf "${D}${datadir}"
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/labgrid-powerrelay.service ${D}${systemd_system_unitdir}/
install -m 0644 ${UNPACKDIR}/labgrid-powerrelay.service ${D}${systemd_system_unitdir}/
}

FILES:${PN} += "${systemd_system_unitdir}"

0 comments on commit bf2c957

Please sign in to comment.