mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
cwautomacros: Ensure version is set deterministically
The makefile injects the current date into the version file. Do this deterministically with SOURCE_DATE_EPOCH. (From OE-Core rev: 52658a8df1bf86902a277f4896cf766c8391ad61) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 31f2ad739ea776a1e11b5cef5434df188007c7bf) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -13,7 +13,7 @@ do_configure() {
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake CWAUTOMACROSPREFIX=${D}${prefix} install
|
||||
oe_runmake LABEL=`date -d @${SOURCE_DATE_EPOCH} +%Y%m%d` CWAUTOMACROSPREFIX=${D}${prefix} install
|
||||
|
||||
# cleanup buildpaths in autogen.sh
|
||||
sed -i -e 's,${D},,g' ${D}${prefix}/share/cwautomacros/scripts/autogen.sh
|
||||
|
||||
Reference in New Issue
Block a user