diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-01 22:52:57 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-21 12:08:04 +0100 |
| commit | d6ae8d2004f8ac3aab4571e0077d406b2d19b542 (patch) | |
| tree | 6fee0cb55968ea21155c7556bcfb56af956eda2c /meta-selftest/recipes-test/selftest-users | |
| parent | 71c6db8e65ced98db74fd18b726fa4b4c0346f05 (diff) | |
| download | poky-d6ae8d2004f8ac3aab4571e0077d406b2d19b542.tar.gz | |
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>
Diffstat (limited to 'meta-selftest/recipes-test/selftest-users')
7 files changed, 14 insertions, 7 deletions
diff --git a/meta-selftest/recipes-test/selftest-users/acreategroup.bb b/meta-selftest/recipes-test/selftest-users/acreategroup.bb index 66ed5695a2..7805182d48 100644 --- a/meta-selftest/recipes-test/selftest-users/acreategroup.bb +++ b/meta-selftest/recipes-test/selftest-users/acreategroup.bb | |||
| @@ -3,7 +3,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
| 3 | 3 | ||
| 4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
| 5 | 5 | ||
| 6 | S = "${WORKDIR}" | 6 | S = "${WORKDIR}/sources" |
| 7 | UNPACKDIR = "${S}" | ||
| 7 | 8 | ||
| 8 | EXCLUDE_FROM_WORLD="1" | 9 | EXCLUDE_FROM_WORLD="1" |
| 9 | 10 | ||
diff --git a/meta-selftest/recipes-test/selftest-users/bcreategroup.bb b/meta-selftest/recipes-test/selftest-users/bcreategroup.bb index c4844dd0da..b15c07d7b2 100644 --- a/meta-selftest/recipes-test/selftest-users/bcreategroup.bb +++ b/meta-selftest/recipes-test/selftest-users/bcreategroup.bb | |||
| @@ -7,7 +7,8 @@ LICENSE = "MIT" | |||
| 7 | 7 | ||
| 8 | USERADD_DEPENDS = "acreategroup ccreategroup" | 8 | USERADD_DEPENDS = "acreategroup ccreategroup" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}" | 10 | S = "${WORKDIR}/sources" |
| 11 | UNPACKDIR = "${S}" | ||
| 11 | 12 | ||
| 12 | EXCLUDE_FROM_WORLD="1" | 13 | EXCLUDE_FROM_WORLD="1" |
| 13 | 14 | ||
diff --git a/meta-selftest/recipes-test/selftest-users/ccreategroup.bb b/meta-selftest/recipes-test/selftest-users/ccreategroup.bb index 021b1ebbf7..ff2da1c039 100644 --- a/meta-selftest/recipes-test/selftest-users/ccreategroup.bb +++ b/meta-selftest/recipes-test/selftest-users/ccreategroup.bb | |||
| @@ -5,7 +5,8 @@ LICENSE = "MIT" | |||
| 5 | 5 | ||
| 6 | USERADD_DEPENDS = "acreategroup" | 6 | USERADD_DEPENDS = "acreategroup" |
| 7 | 7 | ||
| 8 | S = "${WORKDIR}" | 8 | S = "${WORKDIR}/sources" |
| 9 | UNPACKDIR = "${S}" | ||
| 9 | 10 | ||
| 10 | EXCLUDE_FROM_WORLD="1" | 11 | EXCLUDE_FROM_WORLD="1" |
| 11 | 12 | ||
diff --git a/meta-selftest/recipes-test/selftest-users/creategroup1.bb b/meta-selftest/recipes-test/selftest-users/creategroup1.bb index afd23ed1ee..4ab278f589 100644 --- a/meta-selftest/recipes-test/selftest-users/creategroup1.bb +++ b/meta-selftest/recipes-test/selftest-users/creategroup1.bb | |||
| @@ -3,7 +3,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
| 3 | 3 | ||
| 4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
| 5 | 5 | ||
| 6 | S = "${WORKDIR}" | 6 | S = "${WORKDIR}/sources" |
| 7 | UNPACKDIR = "${S}" | ||
| 7 | 8 | ||
| 8 | inherit useradd allarch | 9 | inherit useradd allarch |
| 9 | 10 | ||
diff --git a/meta-selftest/recipes-test/selftest-users/creategroup2.bb b/meta-selftest/recipes-test/selftest-users/creategroup2.bb index f776f43aed..179aba9bfc 100644 --- a/meta-selftest/recipes-test/selftest-users/creategroup2.bb +++ b/meta-selftest/recipes-test/selftest-users/creategroup2.bb | |||
| @@ -5,7 +5,8 @@ LICENSE = "MIT" | |||
| 5 | 5 | ||
| 6 | USERADD_DEPENDS = "creategroup1" | 6 | USERADD_DEPENDS = "creategroup1" |
| 7 | 7 | ||
| 8 | S = "${WORKDIR}" | 8 | S = "${WORKDIR}/sources" |
| 9 | UNPACKDIR = "${S}" | ||
| 9 | 10 | ||
| 10 | inherit useradd allarch | 11 | inherit useradd allarch |
| 11 | 12 | ||
diff --git a/meta-selftest/recipes-test/selftest-users/dcreategroup.bb b/meta-selftest/recipes-test/selftest-users/dcreategroup.bb index b96ca92a16..ab0a529669 100644 --- a/meta-selftest/recipes-test/selftest-users/dcreategroup.bb +++ b/meta-selftest/recipes-test/selftest-users/dcreategroup.bb | |||
| @@ -5,7 +5,8 @@ LICENSE = "MIT" | |||
| 5 | 5 | ||
| 6 | USERADD_DEPENDS = "bcreategroup" | 6 | USERADD_DEPENDS = "bcreategroup" |
| 7 | 7 | ||
| 8 | S = "${WORKDIR}" | 8 | S = "${WORKDIR}/sources" |
| 9 | UNPACKDIR = "${S}" | ||
| 9 | 10 | ||
| 10 | EXCLUDE_FROM_WORLD="1" | 11 | EXCLUDE_FROM_WORLD="1" |
| 11 | 12 | ||
diff --git a/meta-selftest/recipes-test/selftest-users/useraddbadtask.bb b/meta-selftest/recipes-test/selftest-users/useraddbadtask.bb index 99e04a80b3..2863541010 100644 --- a/meta-selftest/recipes-test/selftest-users/useraddbadtask.bb +++ b/meta-selftest/recipes-test/selftest-users/useraddbadtask.bb | |||
| @@ -5,7 +5,8 @@ LICENSE = "MIT" | |||
| 5 | 5 | ||
| 6 | DEPENDS:append = "coreutils-native" | 6 | DEPENDS:append = "coreutils-native" |
| 7 | 7 | ||
| 8 | S = "${WORKDIR}" | 8 | S = "${WORKDIR}/sources" |
| 9 | UNPACKDIR = "${S}" | ||
| 9 | 10 | ||
| 10 | inherit useradd allarch | 11 | inherit useradd allarch |
| 11 | 12 | ||
