diff options
-rw-r--r-- | meta/classes/xmlcatalog.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/xmlcatalog.bbclass b/meta/classes/xmlcatalog.bbclass index 075aef8c0c4..e805e7b7b4e 100644 --- a/meta/classes/xmlcatalog.bbclass +++ b/meta/classes/xmlcatalog.bbclass @@ -5,6 +5,8 @@ XMLCATALOGS ?= "" SYSROOT_PREPROCESS_FUNCS_append = " xmlcatalog_sstate_postinst" xmlcatalog_complete() { + # In case of eSDK, build-sysroot does not have xmlcatalog in its staging directory. + [ "`which xmlcatalog`" = "" ] && exit 0 ROOTCATALOG="${STAGING_ETCDIR_NATIVE}/xml/catalog" if [ ! -f $ROOTCATALOG ]; then mkdir --parents $(dirname $ROOTCATALOG) |