diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd_3.5.22.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/dropbear/dropbear.inc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb index b8263671de..aed84914bf 100644 --- a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb +++ b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb | |||
@@ -40,7 +40,7 @@ do_install_append_openmn() { | |||
40 | } | 40 | } |
41 | 41 | ||
42 | 42 | ||
43 | pkg_postinst () { | 43 | pkg_postinst_${PN} () { |
44 | set -e | 44 | set -e |
45 | 45 | ||
46 | if [ ! -e $D${sysconfdir}/passwd ] ; then | 46 | if [ ! -e $D${sysconfdir}/passwd ] ; then |
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc index dd2f0c5b53..ab7719c469 100644 --- a/meta/recipes-core/dropbear/dropbear.inc +++ b/meta/recipes-core/dropbear/dropbear.inc | |||
@@ -63,12 +63,12 @@ do_install() { | |||
63 | chmod 755 ${D}${sysconfdir}/init.d/dropbear | 63 | chmod 755 ${D}${sysconfdir}/init.d/dropbear |
64 | } | 64 | } |
65 | 65 | ||
66 | pkg_postinst () { | 66 | pkg_postinst_${PN} () { |
67 | update-alternatives --install ${bindir}/scp scp ${sbindir}/dropbearmulti 20 | 67 | update-alternatives --install ${bindir}/scp scp ${sbindir}/dropbearmulti 20 |
68 | update-alternatives --install ${bindir}/ssh ssh ${sbindir}/dropbearmulti 20 | 68 | update-alternatives --install ${bindir}/ssh ssh ${sbindir}/dropbearmulti 20 |
69 | } | 69 | } |
70 | 70 | ||
71 | pkg_postrm_append () { | 71 | pkg_postrm_append_${PN} () { |
72 | if [ -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then | 72 | if [ -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then |
73 | rm ${sysconfdir}/dropbear/dropbear_rsa_host_key | 73 | rm ${sysconfdir}/dropbear/dropbear_rsa_host_key |
74 | fi | 74 | fi |