1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

run-postinsts: switch to opkg

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4152 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2008-03-31 18:34:38 +00:00
parent 133a314a4f
commit 49f680f862
3 changed files with 3 additions and 3 deletions
@@ -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
@@ -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
+1 -1
View File
@@ -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"