OpenSearch/distribution/packages
Jason Tedor b56afebad1
Fix creating keystore when upgrading (#29121)
When upgrading via the RPM package, we can run into a problem where
the keystore fails to be created. This arises because the %post script
on RPM runs after the new package files are installed but before the
removal of the old package files. This means that the contents of the
lib folder can contain files from the old package and the new package
and thus running the create keystore tool can encounter JAR hell
issues and fail. To solve this, we move creating the keystore to the
%posttrans script which runs after the old package files are
removed. We only need to do this on the RPM package, so we add a
switch in the shared post-install script.
2018-03-17 07:48:40 -04:00
..
deb Build: Consolidate archives and packages configuration (#28760) 2018-02-21 17:46:40 -08:00
rpm Build: Consolidate archives and packages configuration (#28760) 2018-02-21 17:46:40 -08:00
src Fix creating keystore when upgrading (#29121) 2018-03-17 07:48:40 -04:00
build.gradle Fix creating keystore when upgrading (#29121) 2018-03-17 07:48:40 -04:00