mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
recipes: Switch away from S = WORKDIR
Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to
a subdir of WORKDIR and make S point at this instead.
I've chosen not to force S into any standard UNPACKDIR we may pick in
future just so the S = UNPACKDIR case is clearly visible by the
directory naming under WORKDIR as that should aid usability.
(From OE-Core rev: d9328e3b0b062f0621de3d114584b44f384a1c02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -7,7 +7,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
inherit systemd-boot-cfg
|
||||
|
||||
S = "${WORKDIR}"
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
|
||||
LABELS = "boot"
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@ LICENSE = "MIT"
|
||||
|
||||
PACKAGE_WRITE_DEPS += "systemd-systemctl-native"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
|
||||
inherit features_check
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ SERIAL_TERM ?= "linux"
|
||||
|
||||
SRC_URI = "file://serial-getty@.service"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
|
||||
# As this package is tied to systemd, only build it when we're also building systemd.
|
||||
inherit features_check
|
||||
|
||||
@@ -8,7 +8,8 @@ inherit native
|
||||
|
||||
SRC_URI = "file://systemctl"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
|
||||
Reference in New Issue
Block a user