recipes: Switch away from S = WORKDIR

Make it dependent on UNPACKDIR instead

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2024-05-14 10:05:20 -07:00
parent ffc64e9c6f
commit c33cfad1b0
20 changed files with 58 additions and 39 deletions
@@ -7,9 +7,10 @@ inherit nativesdk
SRC_URI = "file://systemctl"
S = "${WORKDIR}"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
do_install() {
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/systemctl ${D}${bindir}
install -m 0755 ${UNPACKDIR}/systemctl ${D}${bindir}
}