summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-06-10 15:04:38 +0100
committerJoshua Lock <josh@linux.intel.com>2010-06-10 15:04:38 +0100
commitb5a370970f8b7a28255032aec70813520e15aaff (patch)
treeb297b1c3bc644ffe985d87a0078cd72bfba026b3 /meta
parenteb3c93f40121299d9ab83fee810c43f802900fd6 (diff)
downloadopenembedded-core-b5a370970f8b7a28255032aec70813520e15aaff.tar.gz
openembedded-core-b5a370970f8b7a28255032aec70813520e15aaff.tar.bz2
openembedded-core-b5a370970f8b7a28255032aec70813520e15aaff.tar.xz
openembedded-core-b5a370970f8b7a28255032aec70813520e15aaff.zip
opkg: ensure the data directory is created
We need to ensure the data directory (/usr/lib/opkg) is created and shipped in the package as it's used by opkg to create a lock file. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/opkg/opkg_svn.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/packages/opkg/opkg_svn.bb b/meta/packages/opkg/opkg_svn.bb
index 9d8bec818..c3192bea5 100644
--- a/meta/packages/opkg/opkg_svn.bb
+++ b/meta/packages/opkg/opkg_svn.bb
@@ -8,13 +8,18 @@ RDEPENDS_${PN}_virtclass-native = ""
RDEPENDS_${PN}_virtclass-nativesdk = ""
PACKAGE_ARCH_update-alternatives-cworth = "all"
-PR = "r12"
+PR = "r13"
PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth"
FILES_update-alternatives-cworth = "${bindir}/update-alternatives"
FILES_libopkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
-FILES_libopkg = "${libdir}/*.so.*"
+FILES_libopkg = "${libdir}/*.so.* ${libdir}/opkg/"
+
+# We need to create the lock directory
+do_install_append() {
+ install -d ${D}${libdir}/opkg
+}
# Define a variable to allow distros to run configure earlier.
# (for example, to enable loading of ethernet kernel modules before networking starts)