From a561f17dac73382d024cb68cb32f2b74fa3dc1b5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 16 Feb 2015 23:15:54 +0100 Subject: [PATCH] osmo-bts: Ignore failures on symlinking In yocto versions before dizzy/master the build was done in the source directory and when configure was executed twice in the same directory we would have a build failure due the symlink already existing. Simply assume that if the ln fails the link is already there. Out of disk space situations are handled more early by OE and missing files will be found by configure. In dizzy/master OE will clean the build directory before calling configure so the issue does not apply there. Fixes: SYS#1170 --- recipes-sysmobts/osmo-bts/osmo-bts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb index 9a2eafe..eb0473b 100644 --- a/recipes-sysmobts/osmo-bts/osmo-bts_git.bb +++ b/recipes-sysmobts/osmo-bts/osmo-bts_git.bb @@ -25,7 +25,7 @@ inherit femtobts_api CPPFLAGS += " ${BTS_HW_VERSION} " do_configure_prepend() { - ln -sf ../openbsc openbsc + ln -sf ../openbsc openbsc || true } do_compile_append_sysmobts-v2() {