mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +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: 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>
This commit is contained in:
parent
0cd69599e3
commit
59603bd6df
|
@ -52,7 +52,9 @@ INITSCRIPT_PARAMS = "defaults"
|
||||||
|
|
||||||
SYSTEMD_SERVICE:${PN} = "atd.service"
|
SYSTEMD_SERVICE:${PN} = "atd.service"
|
||||||
|
|
||||||
do_configure:prepend() {
|
do_patch[postfuncs] += "copy_posix_files"
|
||||||
|
|
||||||
|
copy_posix_files() {
|
||||||
cp -f ${WORKDIR}/posixtm.[ch] ${S}
|
cp -f ${WORKDIR}/posixtm.[ch] ${S}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user