mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-15 18:27:12 +00:00
luaposix: set the version from PV
The lukefile of the git checkout has version = '$USER', which only the release tarballs replace, so posix/version.lua carried the name of the user who built it. Set it to PV before building. AI-Generated: Uses Claude Code (Claude Opus 5.5) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
d364539dc6
commit
52da7260de
1 file changed
+4
@@ -14,6 +14,10 @@ B = "${S}"
|
||||
|
||||
inherit pkgconfig
|
||||
|
||||
do_configure() {
|
||||
sed -i "s/^version *= .*/version = '${PV}'/" ${S}/lukefile
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
${S}/build-aux/luke LUA_INCDIR=${STAGING_INCDIR}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user