diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-03-03 17:34:36 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-13 11:45:09 +0000 |
commit | 792d79f157116f86866daf67341347525cd712fb (patch) | |
tree | 660e24a4f86e47ef9fca265a8016e2541ebc91e5 /meta/recipes-devtools/opkg/opkg.inc | |
parent | f473660b5fb051140118f212b1a8c6201ac693f3 (diff) | |
download | poky-792d79f157116f86866daf67341347525cd712fb.tar.gz |
opkg: rename postinst trigger script
Use 'run-postinsts' as trigger script name as it describes better the
intent of it.
(From OE-Core rev: 9a0a106f64a913de593877bf47f79cb29ab87716)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg.inc')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc index a67066fe6e..689bd4ad10 100644 --- a/meta/recipes-devtools/opkg/opkg.inc +++ b/meta/recipes-devtools/opkg/opkg.inc | |||
@@ -11,7 +11,7 @@ DEPENDS_virtclass-native = "curl-native" | |||
11 | DEPENDS_virtclass-nativesdk = "curl-nativesdk" | 11 | DEPENDS_virtclass-nativesdk = "curl-nativesdk" |
12 | 12 | ||
13 | PE = "1" | 13 | PE = "1" |
14 | INC_PR = "r7" | 14 | INC_PR = "r8" |
15 | 15 | ||
16 | FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg" | 16 | FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg" |
17 | 17 | ||
@@ -60,9 +60,9 @@ if [ "x$D" != "x" ]; then | |||
60 | # this happens at S98 where our good 'ole packages script used to run | 60 | # this happens at S98 where our good 'ole packages script used to run |
61 | echo "#!/bin/sh | 61 | echo "#!/bin/sh |
62 | opkg-cl configure | 62 | opkg-cl configure |
63 | rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure | 63 | rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts |
64 | " > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure | 64 | " > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts |
65 | chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure | 65 | chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts |
66 | fi | 66 | fi |
67 | 67 | ||
68 | update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100 | 68 | update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100 |