Skip to content
Snippets Groups Projects
Verified Commit 0e969450 authored by Vojtech Myslivec's avatar Vojtech Myslivec Committed by Karel Koci
Browse files

updater/fix: Add cert-backup cleanup after cznic-cacert-bundle removal

parent 28e27861
Branches
Tags
2 merge requests!697Turris OS 5.2 merge,!588feature: Remove obsolete custom certificates
......@@ -122,6 +122,11 @@ define Package/fix-corrupted-contract-by-rescue/description
configuration. This script fixes the broken environment.
endef
define Package/fix-cleanup-cert-backup/description
Remove obsolete custom certificates from cert-bakup storage.
They originally belonged to now removed cznic-cacert-bundle package.
endef
$(eval $(call FIX,sentinel-remove-invalid-firewall-rules,+firewall +uci))
$(eval $(call FIX,samba-migrate-to-samba4,+samba4-server +uci))
$(eval $(call FIX,updater-v65.0-alternatives-update,+updater-ng +uci,prerm))
......@@ -132,3 +137,4 @@ $(eval $(call FIX,updater-rm-log,+updater-ng))
$(eval $(call FIX,config-foris-restore,+foris-controller +schnapps))
$(eval $(call FIX,all-lan-ports-in-lan,+uci +netifd))
$(eval $(call FIX,corrupted-contract-by-rescue,+uboot-envtools))
$(eval $(call FIX,cleanup-cert-backup,+cert-backup))
#!/bin/sh
cert-backup \
-r /etc/ssl/api.turris.pem \
-r /etc/ssl/startcom.pem \
-r /etc/ssl/turris.pem \
-r /etc/ssl/ucollect-server.pem \
-r /etc/ssl/www_turris_cz_ca.pem \
-r /usr/bin/get-api-crl
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment