]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
xkeyboard-config: Turn absolute symlinks into relative
authorKhem Raj <raj.khem@gmail.com>
Wed, 17 Sep 2025 20:41:10 +0000 (13:41 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Oct 2025 16:43:23 +0000 (17:43 +0100)
Native builds encode symlinks pointing to absolute paths into
build native sysroot which gets into sstate artifacts and an error
is rightly generated

ERROR: xkeyboard-config-native-2.45-r0 do_populate_sysroot: sstate found an absolute path symlink /mnt/b/yoe/master/build/tmp/work/x86_64-linux/xkeyboard-config-native/2.45/sysroot-destdir/mnt/b/yoe/master/build/tmp/work/x86_64-linux/xkeyboard-config-native/2.45/recipe-sysroot-native/usr/share/X11/xkb pointing at /mnt/b/yoe/master/build/tmp/work/x86_64-linux/xkeyboard-config-native/2.45/recipe-sysroot-native/usr/share/xkeyboard-config-2. Please replace this with a relative link.
ERROR: xkeyboard-config-native-2.45-r0 do_populate_sysroot: Failing task due to absolute path symlinks

Turn these symlinks to be relative inside D which will reflect
correclty without need for absolute path prefix

Suggested-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-graphics/xorg-lib/xkeyboard-config_2.45.bb

index 857ccc75160b3d5af17646288f1cf02495340ae1..5153b76d98bc5a522fd393c821273e307bf77bc4 100644 (file)
@@ -20,7 +20,7 @@ DEPENDS = "util-macros libxslt-native"
 
 FILES:${PN} += "${datadir}/X11/xkb ${datadir}/xkeyboard-config-2"
 
-inherit meson pkgconfig gettext python3native
+inherit meson pkgconfig gettext python3native relative_symlinks
 
 EXTRA_OEMESON += "-Dxorg-rules-symlinks=true"