summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <Saul.Wold@windriver.com>2023-01-11 08:20:26 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-12 23:08:59 +0000
commit59603bd6dfbc3a80a143c111b4b45e3f31a27090 (patch)
tree61acf51a36f8830a6818aaa4d7db40d052f0802a
parent0cd69599e33c7dc80826542440ff696e4f47db14 (diff)
downloadpoky-59603bd6dfbc3a80a143c111b4b45e3f31a27090.tar.gz
at: Change when files are copied
The create_spdx code relies on patched code, if files are changed or added during the do_configure phase they will be missed by the create_spdx process. So we need to ensure files modifications/additions happen in the do_patch phase. (From OE-Core rev: 227c46fe48b64de7574f7b6b407b8c13be71b392) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/at/at_3.2.5.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-extended/at/at_3.2.5.bb b/meta/recipes-extended/at/at_3.2.5.bb
index 87a436173f..c0c876a644 100644
--- a/meta/recipes-extended/at/at_3.2.5.bb
+++ b/meta/recipes-extended/at/at_3.2.5.bb
@@ -52,8 +52,10 @@ INITSCRIPT_PARAMS = "defaults"
52 52
53SYSTEMD_SERVICE:${PN} = "atd.service" 53SYSTEMD_SERVICE:${PN} = "atd.service"
54 54
55do_configure:prepend() { 55do_patch[postfuncs] += "copy_posix_files"
56 cp -f ${WORKDIR}/posixtm.[ch] ${S} 56
57copy_posix_files() {
58 cp -f ${WORKDIR}/posixtm.[ch] ${S}
57} 59}
58 60
59do_install () { 61do_install () {