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-core/initrdscripts/initramfs-module-install_1.0.bb | |
| 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-core/initrdscripts/initramfs-module-install_1.0.bb')
| -rw-r--r-- | meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb index d6d8348731..96fd8310d2 100644 --- a/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb | |||
| @@ -12,8 +12,7 @@ COMPATIBLE_HOST:armv7ve = 'null' | |||
| 12 | 12 | ||
| 13 | SRC_URI = "file://init-install.sh" | 13 | SRC_URI = "file://init-install.sh" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/sources" | 15 | S = "${UNPACKDIR}" |
| 16 | UNPACKDIR = "${S}" | ||
| 17 | 16 | ||
| 18 | do_install() { | 17 | do_install() { |
| 19 | install -d ${D}/init.d | 18 | install -d ${D}/init.d |
