diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb | 12 |
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 |
| 36 | RDEPENDS_${PN} = "opkg" | 36 | RDEPENDS_${PN} = "opkg" |
| 37 | 37 | ||
| 38 | pkg_postinst_${PN} () { | 38 | pkg_postinst_ontarget_${PN} () { |
| 39 | #! /bin/sh | 39 | opkg-key populate |
| 40 | set -e | ||
| 41 | |||
| 42 | if [ x"$D" = "x" ]; then | ||
| 43 | # On target | ||
| 44 | opkg-key populate | ||
| 45 | else | ||
| 46 | exit 1 | ||
| 47 | fi | ||
| 48 | } | 40 | } |
