From: Khem Raj Date: Wed, 17 Sep 2025 20:41:10 +0000 (-0700) Subject: xkeyboard-config: Turn absolute symlinks into relative X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=811d4a9186c520e860877da536f5544daac9a2a9;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git xkeyboard-config: Turn absolute symlinks into relative 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 Signed-off-by: Khem Raj Signed-off-by: Mathieu Dubois-Briand --- diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.45.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.45.bb index 857ccc7516..5153b76d98 100644 --- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.45.bb +++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.45.bb @@ -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"