diff options
author | 2024-05-23 07:37:25 -0400 | |
---|---|---|
committer | 2024-06-28 11:48:50 +0000 | |
commit | 4a683ffa2531677e962db0c5ecc186a86763b1a3 (patch) | |
tree | f03654a267934a8025109517d30785d49a43cca9 /meta-agl-core/dynamic-layers | |
parent | a63891ae753b4a157d12bda88231a11d737c5f23 (diff) |
Update recipes for transition to UNPACKDIR
Update recipes to handle the transition to using UNPACKDIR as the
destination for unpacked files. For recipes that had been using
S = WORKDIR, the approach used in meta-openembedded has been
followed, i.e. using UNPACKDIR in tasks for consistency.
Bug-AGL: SPEC-5147
Change-Id: I32e277e15e5aa1ac93dadc67199dedd148d3d0b9
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'meta-agl-core/dynamic-layers')
-rw-r--r-- | meta-agl-core/dynamic-layers/meta-selinux/recipes-core/systemd/systemd-selinux-relabel_1.0.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-agl-core/dynamic-layers/meta-selinux/recipes-core/systemd/systemd-selinux-relabel_1.0.bb b/meta-agl-core/dynamic-layers/meta-selinux/recipes-core/systemd/systemd-selinux-relabel_1.0.bb index 7e4f9783c..77020a630 100644 --- a/meta-agl-core/dynamic-layers/meta-selinux/recipes-core/systemd/systemd-selinux-relabel_1.0.bb +++ b/meta-agl-core/dynamic-layers/meta-selinux/recipes-core/systemd/systemd-selinux-relabel_1.0.bb @@ -6,6 +6,9 @@ SRC_URI = "file://systemd-selinux-relabel.service \ file://systemd-selinux-relabel.sh \ " +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" + inherit systemd allarch features_check SYSTEMD_SERVICE:${PN} = "${BPN}.service" @@ -17,9 +20,9 @@ do_compile[noexec] = "1" do_install() { install -d ${D}${systemd_system_unitdir} - install -m 0644 ${WORKDIR}/systemd-selinux-relabel.service ${D}${systemd_system_unitdir}/ + install -m 0644 ${UNPACKDIR}/systemd-selinux-relabel.service ${D}${systemd_system_unitdir}/ install -d ${D}${sbindir} - install -m 0755 ${WORKDIR}/systemd-selinux-relabel.sh ${D}${sbindir}/ + install -m 0755 ${UNPACKDIR}/systemd-selinux-relabel.sh ${D}${sbindir}/ } FILES:${PN} += "${systemd_system_unitdir}" |