fleet/orbit/pkg/packaging
Benjamin Edwards 71709e5ef9
Handle RPM upgrade in %postun script (#14379)
This pull request addresses a key aspect of the RPM upgrade process -
handling of scripts during upgrades vice pure deletion events.

An RPM upgrade operation consists of both an Install and an Uninstall
operation, meaning that during an upgrade, our %postun script is run and
previously, it was causing the accidental deletion of binaries needed
for the upgrade.

To prevent this unwanted removal during upgrade scenarios, the %postun
script now checks for the execution scenario in which it finds itself.
2023-10-27 12:29:09 -04:00
..
wix Add ability for fleetctl package to use local WiX v3 binaries when generating installer .msi (#14033) 2023-09-22 08:49:01 -07:00
certs.pem Update Orbit CA certs [automated] (#13446) 2023-08-22 06:01:58 -03:00
deb.go update documentation of orbit/pkg/packaging (#6819) 2022-07-25 20:14:20 -03:00
linux_shared.go Handle RPM upgrade in %postun script (#14379) 2023-10-27 12:29:09 -04:00
macos.go Add mTLS support to fleetd (#11319) 2023-04-27 08:44:39 -03:00
macos_notarize.go Add handling for Apple Team ID in Notarization (#7991) 2022-10-04 09:48:21 -07:00
macos_rcodesign.go add retry logic for native notarization and codesigning (#7806) 2022-09-19 13:08:39 -03:00
macos_templates.go Allow to configure fleetd for script execution (#13564) 2023-08-30 10:18:34 -03:00
mk-ca-bundle.pl Update mk-ca-bundle.pl tool in repository (#8184) 2022-10-12 12:01:18 -03:00
packaging.go Add ability for fleetctl package to use local WiX v3 binaries when generating installer .msi (#14033) 2023-09-22 08:49:01 -07:00
rpm.go update documentation of orbit/pkg/packaging (#6819) 2022-07-25 20:14:20 -03:00
windows.go Add ability for fleetctl package to use local WiX v3 binaries when generating installer .msi (#14033) 2023-09-22 08:49:01 -07:00
windows_templates.go Allow to configure fleetd for script execution (#13564) 2023-08-30 10:18:34 -03:00
windows_test.go Feature 8058: Added resource.syso metadata file (#10783) 2023-05-17 18:53:25 -03:00