[oe] [PATCH] openjade_1.3.2.bb: Create directory before installing a file to that location.

Graham Gower graham.gower at gmail.com
Fri Dec 3 04:11:41 UTC 2010


Fixes a breakage I introduced in last openjade commit.

Signed-off-by: Graham Gower <graham.gower at gmail.com>
---
 recipes/openjade/openjade_1.3.2.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/openjade/openjade_1.3.2.bb b/recipes/openjade/openjade_1.3.2.bb
index 6c69173..afd333a 100644
--- a/recipes/openjade/openjade_1.3.2.bb
+++ b/recipes/openjade/openjade_1.3.2.bb
@@ -44,7 +44,8 @@ do_install_append () {
 
        # The catalog must live in the sysroot and it must be there for
        # install-catalog to do its thing.
-       install -m 644 dsssl/catalog ${datadir}/sgml/openjade-${PV}
+       install -d ${datadir}/sgml/openjade-${PV}
+       install -m 644 dsssl/catalog ${datadir}/sgml/openjade-${PV}/catalog
        install-catalog --add ${sysconfdir}/sgml/openjade-${PV}.cat \
            ${datadir}/sgml/openjade-${PV}/catalog
 
-- 
1.7.1





More information about the Openembedded-devel mailing list