summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-30 00:20:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:11 +0100
commit8b41a106e4d05f9e711557e1d2201991cc582094 (patch)
tree31d31c7f9f6f602fcd538bb62d09cbd3a3bc1d56 /meta
parent587ef78f574576d899d8d0c349a530d0aa35b2c5 (diff)
downloadpoky-8b41a106e4d05f9e711557e1d2201991cc582094.tar.gz
dropbear: Fix incorrect package override for postrm
This bug has been around for a long time (2011) but fix it to do what was intended originally. The postrm is changed by classes but those should append to existing entries. (From OE-Core rev: 7762b07bf3b0c77b91ad91963ab39d3c73770ebf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/dropbear/dropbear.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc
index b5f3778abe..f2a490c473 100644
--- a/meta/recipes-core/dropbear/dropbear.inc
+++ b/meta/recipes-core/dropbear/dropbear.inc
@@ -114,7 +114,7 @@ ALTERNATIVE:${PN} = "${@bb.utils.filter('BINCOMMANDS', 'scp ssh', d)}"
114 114
115ALTERNATIVE_TARGET = "${sbindir}/dropbearmulti" 115ALTERNATIVE_TARGET = "${sbindir}/dropbearmulti"
116 116
117pkg_postrm:append_${PN} () { 117pkg_postrm:${PN} () {
118 if [ -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then 118 if [ -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then
119 rm ${sysconfdir}/dropbear/dropbear_rsa_host_key 119 rm ${sysconfdir}/dropbear/dropbear_rsa_host_key
120 fi 120 fi