[OE-core] [PATCH 1/2] mesa-dri-glsl-native: Avoid error when running configure a second time

Richard Purdie richard.purdie at linuxfoundation.org
Mon Mar 12 12:14:45 UTC 2012


This avoids the error:

ln: creating symbolic link `/media/data1/build1/poky/build/tmp/work/x86_64-linux/mesa-dri-glsl-native-7.11-r0/Mesa-7.11/src/glsl//../../configs/current': File exists

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 .../mesa/mesa-dri-glsl-native_7.11.bb              |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
index 07b0761..9194595 100644
--- a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
@@ -17,7 +17,7 @@ inherit native
 
 # use default config for native build
 do_configure_prepend() {
-	ln -s ${S}/../../configs/default ${S}/../../configs/current
+	ln -sf ${S}/../../configs/default ${S}/../../configs/current
 }
 
 do_install() {






More information about the Openembedded-core mailing list