summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb12
1 files changed, 2 insertions, 10 deletions
diff --git a/meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb b/meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb
index 18d6abdded..a20e316a3d 100644
--- a/meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb
+++ b/meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb
@@ -35,14 +35,6 @@ FILES_${PN} = "${datadir}/opkg/keyrings"
35# We need 'opkg-key' to run the postinst script 35# We need 'opkg-key' to run the postinst script
36RDEPENDS_${PN} = "opkg" 36RDEPENDS_${PN} = "opkg"
37 37
38pkg_postinst_${PN} () { 38pkg_postinst_ontarget_${PN} () {
39#! /bin/sh 39opkg-key populate
40set -e
41
42if [ x"$D" = "x" ]; then
43 # On target
44 opkg-key populate
45else
46 exit 1
47fi
48} 40}