summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-03-31 18:34:38 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-03-31 18:34:38 +0000
commit49f680f862ded42189765ac1f3258b17de7bdc89 (patch)
treeff7dbca996f3a9e3e73b6e91c8b500f6d9e0c029 /meta/packages
parent133a314a4f1d38fc93d37caf204c9946b92eccf3 (diff)
downloadopenembedded-core-49f680f862ded42189765ac1f3258b17de7bdc89.tar.gz
openembedded-core-49f680f862ded42189765ac1f3258b17de7bdc89.tar.bz2
openembedded-core-49f680f862ded42189765ac1f3258b17de7bdc89.tar.xz
openembedded-core-49f680f862ded42189765ac1f3258b17de7bdc89.zip
run-postinsts: switch to opkg
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4152 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rwxr-xr-xmeta/packages/meta/run-postinsts/run-postinsts2
-rw-r--r--meta/packages/meta/run-postinsts/run-postinsts.awk2
-rw-r--r--meta/packages/meta/run-postinsts_1.0.bb2
3 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/meta/run-postinsts/run-postinsts b/meta/packages/meta/run-postinsts/run-postinsts
index 334a39b78..cb24a623f 100755
--- a/meta/packages/meta/run-postinsts/run-postinsts
+++ b/meta/packages/meta/run-postinsts/run-postinsts
@@ -5,7 +5,7 @@
# Author: Richard Purdie <rpurdie@openedhand.com>
#
-PKGSYSTEM=/usr/lib/ipkg
+PKGSYSTEM=/usr/lib/opkg
STAMP=$PKGSYSTEM/postinsts-done
STATFILE=$PKGSYSTEM/status
STATFILE2=$PKGSYSTEM/status2
diff --git a/meta/packages/meta/run-postinsts/run-postinsts.awk b/meta/packages/meta/run-postinsts/run-postinsts.awk
index 1532577b6..46ee8df9a 100644
--- a/meta/packages/meta/run-postinsts/run-postinsts.awk
+++ b/meta/packages/meta/run-postinsts/run-postinsts.awk
@@ -14,7 +14,7 @@ BEGIN {
}
/Status:.*unpacked.*/ {
print "Configuring: " package > "/dev/stderr"
- ret = system("/usr/lib/ipkg/info/" package ".postinst 1>&2")
+ ret = system("/usr/lib/opkg/info/" package ".postinst 1>&2")
if (ret == 0)
$0 = gensub("unpacked", "installed", 1)
else
diff --git a/meta/packages/meta/run-postinsts_1.0.bb b/meta/packages/meta/run-postinsts_1.0.bb
index b095adc90..bf132f51f 100644
--- a/meta/packages/meta/run-postinsts_1.0.bb
+++ b/meta/packages/meta/run-postinsts_1.0.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Run postinstall scripts on device using awk"
SECTION = "devel"
-PR = "r0"
+PR = "r1"
SRC_URI = "file://run-postinsts file://run-postinsts.awk"