mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 15:32:14 +02:00
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: 6f44b146f0875c588252b5c3b2015a621eba86ab) 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> (cherry picked from commit 227c46fe48b64de7574f7b6b407b8c13be71b392) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7b199d5083
commit
ca564b9513
@@ -52,8 +52,10 @@ INITSCRIPT_PARAMS = "defaults"
|
||||
|
||||
SYSTEMD_SERVICE:${PN} = "atd.service"
|
||||
|
||||
do_configure:prepend() {
|
||||
cp -f ${WORKDIR}/posixtm.[ch] ${S}
|
||||
do_patch[postfuncs] += "copy_posix_files"
|
||||
|
||||
copy_posix_files() {
|
||||
cp -f ${WORKDIR}/posixtm.[ch] ${S}
|
||||
}
|
||||
|
||||
do_install () {
|
||||
|
||||
Reference in New Issue
Block a user