diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2025-06-16 11:49:56 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-20 12:07:26 +0100 |
| commit | efb0410d388cb389a18e299b87fdb3554d527b39 (patch) | |
| tree | 0ba990254e449a421ab7ec56c3409c69e9100d24 /meta/recipes-extended | |
| parent | e1f059f34e7f1e6a252aff1ec5b1eb3376bd4d65 (diff) | |
| download | poky-efb0410d388cb389a18e299b87fdb3554d527b39.tar.gz | |
meta: set S from UNPACKDIR in recipes that use only local files
There is no need to have two assignments; also setting S from
UNPACKDIR (and not vice versa) is more logical as unpack
task comes first, and tasks that come after unpack use S to access
unpack results.
Also adjust reference test data in selftest/recipeutils to reflect changes in test recipes.
(From OE-Core rev: f64b7e5fb3181734c8dde87b27e872a026261a74)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
4 files changed, 4 insertions, 8 deletions
diff --git a/meta/recipes-extended/shadow/shadow-securetty_4.6.bb b/meta/recipes-extended/shadow/shadow-securetty_4.6.bb index 913c159c81..dbcfad5f1b 100644 --- a/meta/recipes-extended/shadow/shadow-securetty_4.6.bb +++ b/meta/recipes-extended/shadow/shadow-securetty_4.6.bb | |||
| @@ -8,8 +8,7 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
| 8 | 8 | ||
| 9 | SRC_URI = "file://securetty" | 9 | SRC_URI = "file://securetty" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/sources" | 11 | S = "${UNPACKDIR}" |
| 12 | UNPACKDIR = "${S}" | ||
| 13 | 12 | ||
| 14 | # Since SERIAL_CONSOLES is likely to be set from the machine configuration | 13 | # Since SERIAL_CONSOLES is likely to be set from the machine configuration |
| 15 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 14 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb b/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb index 13cfab6aab..aa132970b8 100644 --- a/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb +++ b/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb | |||
| @@ -13,8 +13,7 @@ DEPENDS = "base-passwd" | |||
| 13 | # can add custom users/groups for recipes that use inherit useradd. | 13 | # can add custom users/groups for recipes that use inherit useradd. |
| 14 | SRC_URI = "file://login.defs_shadow-sysroot" | 14 | SRC_URI = "file://login.defs_shadow-sysroot" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/sources" | 16 | S = "${UNPACKDIR}" |
| 17 | UNPACKDIR = "${S}" | ||
| 18 | 17 | ||
| 19 | do_install() { | 18 | do_install() { |
| 20 | install -d ${D}${sysconfdir} | 19 | install -d ${D}${sysconfdir} |
diff --git a/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb b/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb index 51d9c92766..9773d134cf 100644 --- a/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb +++ b/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb | |||
| @@ -8,8 +8,7 @@ PV = "1.0" | |||
| 8 | 8 | ||
| 9 | SRC_URI = "file://template.py file://COPYING" | 9 | SRC_URI = "file://template.py file://COPYING" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/sources" | 11 | S = "${UNPACKDIR}" |
| 12 | UNPACKDIR = "${S}" | ||
| 13 | 12 | ||
| 14 | inherit native | 13 | inherit native |
| 15 | 14 | ||
diff --git a/meta/recipes-extended/watchdog/watchdog-config.bb b/meta/recipes-extended/watchdog/watchdog-config.bb index 17151ced5e..58c565bd30 100644 --- a/meta/recipes-extended/watchdog/watchdog-config.bb +++ b/meta/recipes-extended/watchdog/watchdog-config.bb | |||
| @@ -13,8 +13,7 @@ SRC_URI = " \ | |||
| 13 | file://watchdog.conf \ | 13 | file://watchdog.conf \ |
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/sources" | 16 | S = "${UNPACKDIR}" |
| 17 | UNPACKDIR = "${S}" | ||
| 18 | 17 | ||
| 19 | # The default value is 60 seconds when null. | 18 | # The default value is 60 seconds when null. |
| 20 | WATCHDOG_TIMEOUT ??= "" | 19 | WATCHDOG_TIMEOUT ??= "" |
