Commit Graph

8 Commits (0ae0bd6e2eb6eeeb97b67bc8c96ad6b158ce28f5)

Author SHA1 Message Date
Lorenzo Affetti 83b1f48112 fix(package): make rpm verify pass after installation 2019-04-30 12:10:40 +02:00
Gunnar Aasen 0350557c16 Use Systemd for Amazon Linux 2 packages 2019-02-06 16:28:48 -08:00
Mark Rushakoff e623b1b16b Use `command` instead of `which`
Some systems don't have `which` installed.

Also fix some whitespace issues.

Fixes #8900.
2017-10-02 11:49:08 -07:00
Ross McDonald 11418fefba Added support for Amazon Linux to installation scripts. 2016-02-04 09:17:59 -06:00
Alexandre Derumier 487756fa46 postinstall script : use /etc/debian_version for debian/ubuntu detection
currently we use /etc/lsb-release to detect debian,

but this file is only present on ubuntu.

/etc/debian_version is installed by default by debian and ubuntu
2016-01-14 15:22:48 +01:00
Ross McDonald 560f691096 A few updates:
- Re-enabling support for ARM builds in `build.py`.
- Improved `build.py`'s iteration and package version.
- Fixed minor bug with logrotate file path in `build.py`.
- Improved installation pre and post install/uninstall scripts by adding distribution-specific logic to account for quirks between the different package managers.
- Added post-install as post-trans script for RPM builds due to the order of RPM upgrade commands (issue where init scripts were removed when upgrading).
- Added explicit backup to pre-install script to ensure legacy configuration survive an upgrade.
2016-01-07 15:03:43 -06:00
Ross McDonald b53ebe9d5d Backporting changes from build.py to package.sh. Also fixes a few miscellaneous package permissions issues that Debian's lintian complained about. 2015-11-16 13:19:54 -06:00
Ross McDonald bd186195db Restructured filesystem hierarchy, and updated pre/post installation scripts to ease upgrade progress. Also adding first iteration of new build script (build.py).
New package filesystem hierarchy:
	 - /var/lib/influxdb => Data directories
	 - /usr/lib/influxdb => Scripts and other miscellaneous files
	 - /etc/influxdb => Configuration
	 - /usr/bin/ => Where InfluxDB binaries will live
2015-11-12 10:42:41 -06:00