On Mon, Aug 09, 2021 at 04:40:30PM +0200, Roland Hieber wrote: > Currently, sysroot-host/var/lib/keys/${keyprovider} is left over even > when the provider package is cleaned. To help with this, introduce > cs_clean and cs_clean_softhsm shell functions. The latter needs access > to ${shsm_keys}, so move its definition into cs_init_variables (even if > this function is not only meant for the SoftHSM workflow, the additional > variable makes no trouble here). Call the cleanup functions in the clean > stage of the providers, and also at the beginning of the compile stage > to ensure a clean setup. For the latter, introduce cs_init for the > non-SoftHSM use case. > > Reported-by: Bastian Stender <b...@pengutronix.de> > Signed-off-by: Roland Hieber <r...@pengutronix.de>
Bastian had some remarks offline, see v2 of this series. - Roland -- Roland Hieber, Pengutronix e.K. | r.hie...@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-requ...@pengutronix.de