summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg
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/recipes-devtools/dpkg
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/recipes-devtools/dpkg')
-rwxr-xr-xmeta/recipes-devtools/dpkg/run-postinsts/run-postinsts2
-rw-r--r--meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk2
-rw-r--r--meta/recipes-devtools/dpkg/run-postinsts_1.0.bb2
3 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts
index f632d1c7d3..584a92ebfd 100755
--- a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts
+++ b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts
@@ -5,7 +5,7 @@
5# Author: Richard Purdie <rpurdie@openedhand.com> 5# Author: Richard Purdie <rpurdie@openedhand.com>
6# 6#
7 7
8PKGSYSTEM=/var/dpkg 8PKGSYSTEM=/var/lib/dpkg
9 9
10if [ ! -e $PKGSYSTEM/status ]; then 10if [ ! -e $PKGSYSTEM/status ]; then
11 if [ -e /usr/lib/opkg/status ]; then 11 if [ -e /usr/lib/opkg/status ]; then
diff --git a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk
index 09a1400cf4..d92200b4f0 100644
--- a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk
+++ b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk
@@ -9,7 +9,7 @@
9BEGIN { 9BEGIN {
10 rc=system("test -d /usr/dpkg/info/") 10 rc=system("test -d /usr/dpkg/info/")
11 if (rc==0) 11 if (rc==0)
12 pkgdir="/var/dpkg/info" 12 pkgdir="/var/lib/dpkg/info"
13 else 13 else
14 pkgdir="/usr/lib/opkg/info" 14 pkgdir="/usr/lib/opkg/info"
15 package="" 15 package=""
diff --git a/meta/recipes-devtools/dpkg/run-postinsts_1.0.bb b/meta/recipes-devtools/dpkg/run-postinsts_1.0.bb
index f15243b60a..f8f3368729 100644
--- a/meta/recipes-devtools/dpkg/run-postinsts_1.0.bb
+++ b/meta/recipes-devtools/dpkg/run-postinsts_1.0.bb
@@ -1,6 +1,6 @@
1DESCRIPTION = "Run postinstall scripts on device using awk" 1DESCRIPTION = "Run postinstall scripts on device using awk"
2SECTION = "devel" 2SECTION = "devel"
3PR = "r6" 3PR = "r7"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ 5LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
6 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 6 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"