diff options
author | Filip Zyzniewski <filip.zyzniewski@gmail.com> | 2011-02-13 03:26:58 +0000 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-02-14 10:24:19 -0700 |
commit | 41e0fbf792037f249d1b8d283b3de81718887c9f (patch) | |
tree | 231cbfb1777489f1dc4cf422d6a0f9aa1776b616 /recipes/meta | |
parent | b32d23948fa698057d274b94d09ab49d729064a4 (diff) | |
download | openembedded-41e0fbf792037f249d1b8d283b3de81718887c9f.tar.gz |
deb packages support: switch from /var/dpkg to /var/lib/dpkg
OE generally tries to use /var/dpkg, but the change is missing
in some places, so it is needed to move completely to one of the
options. Keeping the dpkg's default /var/lib/dpkg causes less
maintenance overhead for OE.
Signed-off-by: Filip Zyzniewski <filip.zyzniewski@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/meta')
-rwxr-xr-x | recipes/meta/run-postinsts/run-postinsts | 2 | ||||
-rw-r--r-- | recipes/meta/run-postinsts/run-postinsts.awk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/meta/run-postinsts/run-postinsts b/recipes/meta/run-postinsts/run-postinsts index f632d1c7d3..584a92ebfd 100755 --- a/recipes/meta/run-postinsts/run-postinsts +++ b/recipes/meta/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/recipes/meta/run-postinsts/run-postinsts.awk b/recipes/meta/run-postinsts/run-postinsts.awk index 09a1400cf4..d92200b4f0 100644 --- a/recipes/meta/run-postinsts/run-postinsts.awk +++ b/recipes/meta/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="" |