diff options
author | Dexuan Cui <dexuan.cui@intel.com> | 2011-09-19 16:00:38 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-21 13:27:35 +0100 |
commit | d1e6f49a6473df3c626100ba01b27485f735c33b (patch) | |
tree | f6e3a30376f8367fd9cfdd9e29274c55723e715c /meta/recipes-devtools/dpkg/run-postinsts | |
parent | 9f1b4e5923c60cd4215b0ca4da2cab6245e54ccb (diff) | |
download | openembedded-core-d1e6f49a6473df3c626100ba01b27485f735c33b.tar.gz openembedded-core-d1e6f49a6473df3c626100ba01b27485f735c33b.tar.bz2 openembedded-core-d1e6f49a6473df3c626100ba01b27485f735c33b.tar.xz openembedded-core-d1e6f49a6473df3c626100ba01b27485f735c33b.zip |
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
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'meta/recipes-devtools/dpkg/run-postinsts')
-rwxr-xr-x | meta/recipes-devtools/dpkg/run-postinsts/run-postinsts | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts index f632d1c7d..584a92ebf 100755 --- a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts +++ b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts @@ -5,7 +5,7 @@ # Author: Richard Purdie <rpurdie@openedhand.com> # -PKGSYSTEM=/var/dpkg +PKGSYSTEM=/var/lib/dpkg if [ ! -e $PKGSYSTEM/status ]; then 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 09a1400cf..d92200b4f 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 @@ BEGIN { rc=system("test -d /usr/dpkg/info/") if (rc==0) - pkgdir="/var/dpkg/info" + pkgdir="/var/lib/dpkg/info" else pkgdir="/usr/lib/opkg/info" package="" |