diff options
author | Sander Klein <s.klein@picturae.com> | 2020-08-19 15:14:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 09:14:26 -0400 |
commit | 2a798ad5510008abcb3949d17d97ddaa6d2801b8 (patch) | |
tree | 9041c7604bcc2efdfa69b805ab70f37c8546e820 /.travis | |
parent | b1505b45f87de267f7a374f5c4a2dee33056a5b8 (diff) |
Debian packaging (#8982)
* Add protobuf-compiler
This adds the package protobuf-compiler to the dependencies. Without it,
prometheus support will not be included.
* Remove libraries from dependencies
There is no need to include the libraries since they will automaticaly
be added by ${shlibs:Depends}
* Remove various control files
- control.buster
- control.eoan
- control.xenial
Default control file can be used
- control.jessie
About to be unsupported
- control.wheezy
unsupported
- control.trusty
Since Netdata need libuv1-dev to build, it cannot be build on Trusty
anymore because it doesn't have that library.
* Fix sysv init scripts
Set the location of the pidfile using $PIDFILE in the init script and in
the defaults file. This way no changes are needed when compiling for
systemd or sysv.
* Update documentation to reflect the changes
* Add note about updating the changelog
* Update install instructions
* Remove travis control file adjustments
Since these control files have been removed, this code is now obsolete.
* Remove unused control.focal file
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/package_management/configure_deb_lxc_environment.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/.travis/package_management/configure_deb_lxc_environment.py b/.travis/package_management/configure_deb_lxc_environment.py index 1ffda6135f..627493bf54 100755 --- a/.travis/package_management/configure_deb_lxc_environment.py +++ b/.travis/package_management/configure_deb_lxc_environment.py @@ -80,30 +80,6 @@ tar_file="%s/netdata-%s.tar.gz" % (os.path.dirname(dest_archive), friendly_versi print("5. I will be building version '%s' of netdata." % os.environ['BUILD_VERSION']) dest_archive="%s/netdata-%s.tar.gz" % (build_path, friendly_version) -### Debian -if str(os.environ["BUILD_STRING"]).count("debian/jessie") == 1: - print("5.1 We are building for Jessie, adjusting control file") - common.run_command_in_host(['sudo', 'rm', 'contrib/debian/control']) - common.run_command_in_host(['sudo', 'cp', 'contrib/debian/control.jessie', 'contrib/debian/control']) -if str(os.environ["BUILD_STRING"]).count("debian/buster") == 1: - print("5.1 We are building for Buster, adjusting control file") - common.run_command_in_host(['sudo', 'rm', 'contrib/debian/control']) - common.run_command_in_host(['sudo', 'cp', 'contrib/debian/control.buster', 'contrib/debian/control']) - -### Ubuntu -if str(os.environ["BUILD_STRING"]).count("ubuntu/focal") == 1: - print("5.1 We are building for Focal, adjusting control file") - common.run_command_in_host(['sudo', 'rm', 'contrib/debian/control']) - common.run_command_in_host(['sudo', 'cp', 'contrib/debian/control.focal', 'contrib/debian/control']) -if str(os.environ["BUILD_STRING"]).count("ubuntu/xenial") == 1: - print("5.1 We are building for Xenial, adjusting control file") - common.run_command_in_host(['sudo', 'rm', 'contrib/debian/control']) - common.run_command_in_host(['sudo', 'cp', 'contrib/debian/control.xenial', 'contrib/debian/control']) -if str(os.environ["BUILD_STRING"]).count("ubuntu/eoan") == 1: - print("5.1 We are building for Eoan, adjusting control file") - common.run_command_in_host(['sudo', 'rm', 'contrib/debian/control']) - common.run_command_in_host(['sudo', 'cp', 'contrib/debian/control.eoan', 'contrib/debian/control']) - common.prepare_version_source(dest_archive, friendly_version, tag=tag) print("6. Installing build.sh script to build path") |