diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-30 14:23:37 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-02 15:15:51 +0100 |
| commit | 0ea63b6a439fe97f840c69d08cf381687baaae3f (patch) | |
| tree | c632ba15d6b67617859f335fe9263930cbf1a0fa /meta/recipes-kernel | |
| parent | 3288587aeb009fb65652776242c0a526b90771e2 (diff) | |
| download | poky-0ea63b6a439fe97f840c69d08cf381687baaae3f.tar.gz | |
recipes: Update WORKDIR references to UNPACKDIR
Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR
references in recipe do_compile/do_install tasks to use UNPACKDIR in the
appropraite places instead.
(From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
4 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb b/meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb index 974fcba876..332525f5c9 100644 --- a/meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb +++ b/meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb | |||
| @@ -9,9 +9,9 @@ SRC_URI = "file://dt-doc-validate \ | |||
| 9 | 9 | ||
| 10 | do_install() { | 10 | do_install() { |
| 11 | install -d ${D}${bindir}/ | 11 | install -d ${D}${bindir}/ |
| 12 | install -m 755 ${WORKDIR}/dt-doc-validate ${D}${bindir}/ | 12 | install -m 755 ${UNPACKDIR}/dt-doc-validate ${D}${bindir}/ |
| 13 | install -m 755 ${WORKDIR}/dt-mk-schema ${D}${bindir}/ | 13 | install -m 755 ${UNPACKDIR}/dt-mk-schema ${D}${bindir}/ |
| 14 | install -m 755 ${WORKDIR}/dt-validate ${D}${bindir}/ | 14 | install -m 755 ${UNPACKDIR}/dt-validate ${D}${bindir}/ |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | BBCLASSEXTEND = "native nativesdk" | 17 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.28.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.28.bb index dec821ea88..c39fff834d 100644 --- a/meta/recipes-kernel/kexec/kexec-tools_2.0.28.bb +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.28.bb | |||
| @@ -44,15 +44,15 @@ do_compile:prepend() { | |||
| 44 | 44 | ||
| 45 | do_install:append () { | 45 | do_install:append () { |
| 46 | install -d ${D}${sysconfdir}/sysconfig | 46 | install -d ${D}${sysconfdir}/sysconfig |
| 47 | install -m 0644 ${WORKDIR}/kdump.conf ${D}${sysconfdir}/sysconfig | 47 | install -m 0644 ${UNPACKDIR}/kdump.conf ${D}${sysconfdir}/sysconfig |
| 48 | 48 | ||
| 49 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 49 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
| 50 | install -D -m 0755 ${WORKDIR}/kdump ${D}${sysconfdir}/init.d/kdump | 50 | install -D -m 0755 ${UNPACKDIR}/kdump ${D}${sysconfdir}/init.d/kdump |
| 51 | fi | 51 | fi |
| 52 | 52 | ||
| 53 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 53 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 54 | install -D -m 0755 ${WORKDIR}/kdump ${D}${libexecdir}/kdump-helper | 54 | install -D -m 0755 ${UNPACKDIR}/kdump ${D}${libexecdir}/kdump-helper |
| 55 | install -D -m 0644 ${WORKDIR}/kdump.service ${D}${systemd_system_unitdir}/kdump.service | 55 | install -D -m 0644 ${UNPACKDIR}/kdump.service ${D}${systemd_system_unitdir}/kdump.service |
| 56 | sed -i -e 's,@LIBEXECDIR@,${libexecdir},g' ${D}${systemd_system_unitdir}/kdump.service | 56 | sed -i -e 's,@LIBEXECDIR@,${libexecdir},g' ${D}${systemd_system_unitdir}/kdump.service |
| 57 | fi | 57 | fi |
| 58 | } | 58 | } |
diff --git a/meta/recipes-kernel/kmod/kmod_31.bb b/meta/recipes-kernel/kmod/kmod_31.bb index 6ae83a7c66..718a5565b4 100644 --- a/meta/recipes-kernel/kmod/kmod_31.bb +++ b/meta/recipes-kernel/kmod/kmod_31.bb | |||
| @@ -63,7 +63,7 @@ do_install:append () { | |||
| 63 | install -dm755 ${D}${sysconfdir}/modprobe.d | 63 | install -dm755 ${D}${sysconfdir}/modprobe.d |
| 64 | 64 | ||
| 65 | # install depmod.d file for search/ dir | 65 | # install depmod.d file for search/ dir |
| 66 | install -Dm644 "${WORKDIR}/depmod-search.conf" "${D}${nonarch_base_libdir}/depmod.d/search.conf" | 66 | install -Dm644 "${UNPACKDIR}/depmod-search.conf" "${D}${nonarch_base_libdir}/depmod.d/search.conf" |
| 67 | 67 | ||
| 68 | # Add .debug to the exclude path for depmod | 68 | # Add .debug to the exclude path for depmod |
| 69 | echo "exclude .debug" > ${D}${nonarch_base_libdir}/depmod.d/exclude.conf | 69 | echo "exclude .debug" > ${D}${nonarch_base_libdir}/depmod.d/exclude.conf |
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.13.13.bb b/meta/recipes-kernel/lttng/lttng-tools_2.13.13.bb index 174dec036e..e73dd4801a 100644 --- a/meta/recipes-kernel/lttng/lttng-tools_2.13.13.bb +++ b/meta/recipes-kernel/lttng/lttng-tools_2.13.13.bb | |||
| @@ -69,7 +69,7 @@ PRIVATE_LIBS:${PN}-ptest = "libfoo.so" | |||
| 69 | do_install:append () { | 69 | do_install:append () { |
| 70 | # install systemd unit file | 70 | # install systemd unit file |
| 71 | install -d ${D}${systemd_system_unitdir} | 71 | install -d ${D}${systemd_system_unitdir} |
| 72 | install -m 0644 ${WORKDIR}/lttng-sessiond.service ${D}${systemd_system_unitdir} | 72 | install -m 0644 ${UNPACKDIR}/lttng-sessiond.service ${D}${systemd_system_unitdir} |
| 73 | } | 73 | } |
| 74 | 74 | ||
| 75 | do_install_ptest () { | 75 | do_install_ptest () { |
