summaryrefslogtreecommitdiffstats
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
parent133a314a4f1d38fc93d37caf204c9946b92eccf3 (diff)
downloadpoky-49f680f862ded42189765ac1f3258b17de7bdc89.tar.gz
run-postinsts: switch to opkg
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4152 311d38ba-8fff-0310-9ca6-ca027cbcb966
-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 334a39b78b..cb24a623fd 100755
--- a/meta/packages/meta/run-postinsts/run-postinsts
+++ b/meta/packages/meta/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=/usr/lib/ipkg 8PKGSYSTEM=/usr/lib/opkg
9STAMP=$PKGSYSTEM/postinsts-done 9STAMP=$PKGSYSTEM/postinsts-done
10STATFILE=$PKGSYSTEM/status 10STATFILE=$PKGSYSTEM/status
11STATFILE2=$PKGSYSTEM/status2 11STATFILE2=$PKGSYSTEM/status2
diff --git a/meta/packages/meta/run-postinsts/run-postinsts.awk b/meta/packages/meta/run-postinsts/run-postinsts.awk
index 1532577b6e..46ee8df9a4 100644
--- a/meta/packages/meta/run-postinsts/run-postinsts.awk
+++ b/meta/packages/meta/run-postinsts/run-postinsts.awk
@@ -14,7 +14,7 @@ BEGIN {
14} 14}
15/Status:.*unpacked.*/ { 15/Status:.*unpacked.*/ {
16 print "Configuring: " package > "/dev/stderr" 16 print "Configuring: " package > "/dev/stderr"
17 ret = system("/usr/lib/ipkg/info/" package ".postinst 1>&2") 17 ret = system("/usr/lib/opkg/info/" package ".postinst 1>&2")
18 if (ret == 0) 18 if (ret == 0)
19 $0 = gensub("unpacked", "installed", 1) 19 $0 = gensub("unpacked", "installed", 1)
20 else 20 else
diff --git a/meta/packages/meta/run-postinsts_1.0.bb b/meta/packages/meta/run-postinsts_1.0.bb
index b095adc909..bf132f51f3 100644
--- a/meta/packages/meta/run-postinsts_1.0.bb
+++ b/meta/packages/meta/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 = "r0" 3PR = "r1"
4 4
5SRC_URI = "file://run-postinsts file://run-postinsts.awk" 5SRC_URI = "file://run-postinsts file://run-postinsts.awk"
6 6