diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-31 18:34:38 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-31 18:34:38 +0000 |
commit | 49f680f862ded42189765ac1f3258b17de7bdc89 (patch) | |
tree | ff7dbca996f3a9e3e73b6e91c8b500f6d9e0c029 | |
parent | 133a314a4f1d38fc93d37caf204c9946b92eccf3 (diff) | |
download | poky-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-x | meta/packages/meta/run-postinsts/run-postinsts | 2 | ||||
-rw-r--r-- | meta/packages/meta/run-postinsts/run-postinsts.awk | 2 | ||||
-rw-r--r-- | meta/packages/meta/run-postinsts_1.0.bb | 2 |
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 | ||
8 | PKGSYSTEM=/usr/lib/ipkg | 8 | PKGSYSTEM=/usr/lib/opkg |
9 | STAMP=$PKGSYSTEM/postinsts-done | 9 | STAMP=$PKGSYSTEM/postinsts-done |
10 | STATFILE=$PKGSYSTEM/status | 10 | STATFILE=$PKGSYSTEM/status |
11 | STATFILE2=$PKGSYSTEM/status2 | 11 | STATFILE2=$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 @@ | |||
1 | DESCRIPTION = "Run postinstall scripts on device using awk" | 1 | DESCRIPTION = "Run postinstall scripts on device using awk" |
2 | SECTION = "devel" | 2 | SECTION = "devel" |
3 | PR = "r0" | 3 | PR = "r1" |
4 | 4 | ||
5 | SRC_URI = "file://run-postinsts file://run-postinsts.awk" | 5 | SRC_URI = "file://run-postinsts file://run-postinsts.awk" |
6 | 6 | ||