diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-30 00:20:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:11 +0100 |
commit | 8b41a106e4d05f9e711557e1d2201991cc582094 (patch) | |
tree | 31d31c7f9f6f602fcd538bb62d09cbd3a3bc1d56 /meta | |
parent | 587ef78f574576d899d8d0c349a530d0aa35b2c5 (diff) | |
download | poky-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.inc | 2 |
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 | ||
115 | ALTERNATIVE_TARGET = "${sbindir}/dropbearmulti" | 115 | ALTERNATIVE_TARGET = "${sbindir}/dropbearmulti" |
116 | 116 | ||
117 | pkg_postrm:append_${PN} () { | 117 | pkg_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 |