summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_deb.bbclass
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2011-09-19 16:00:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-21 13:42:49 +0100
commit23773a899be5dcb0e08762b408791c01c48d22cf (patch)
treee4cda2f85a28d705a049abd73d46b6412aedc9c3 /meta/classes/populate_sdk_deb.bbclass
parentf45ef8d9fa0277a919b69e95442fd44db741db0a (diff)
downloadpoky-23773a899be5dcb0e08762b408791c01c48d22cf.tar.gz
deb packages support: switch from /var/dpkg to /var/lib/dpkg
[YOCTO #1086] The pach was backported from OE: http://git.openembedded.net/cgit.cgi/openembedded/commit/?id=41e0fbf792037f249d1b8d283b3de81718887c9f (From OE-Core rev: d1e6f49a6473df3c626100ba01b27485f735c33b) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_deb.bbclass')
-rw-r--r--meta/classes/populate_sdk_deb.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/populate_sdk_deb.bbclass b/meta/classes/populate_sdk_deb.bbclass
index 2cff69e827..be7b5520c4 100644
--- a/meta/classes/populate_sdk_deb.bbclass
+++ b/meta/classes/populate_sdk_deb.bbclass
@@ -52,8 +52,8 @@ fakeroot populate_sdk_deb () {
52 populate_sdk_post_deb ${SDK_OUTPUT}/${SDKPATHNATIVE} 52 populate_sdk_post_deb ${SDK_OUTPUT}/${SDKPATHNATIVE}
53 53
54 #move remainings 54 #move remainings
55 install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/var/dpkg 55 install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/var/lib/dpkg
56 mv ${SDK_OUTPUT}/var/dpkg/* ${SDK_OUTPUT}/${SDKPATHNATIVE}/var/dpkg 56 mv ${SDK_OUTPUT}/var/lib/dpkg/* ${SDK_OUTPUT}/${SDKPATHNATIVE}/var/lib/dpkg
57 rm -rf ${SDK_OUTPUT}/var 57 rm -rf ${SDK_OUTPUT}/var
58 58
59 populate_sdk_log_check populate_sdk 59 populate_sdk_log_check populate_sdk