From 52da7260de9ed51c6660b0dfbe37975fa26a7960 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 5 Oct 2026 03:19:56 +0200 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb b/meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb index 686b1365d0..e420c1a289 100644 --- a/meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb +++ b/meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb @@ -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} }