Telegraf no longer depends on lsof
so remove it as a dependency from the linux packages. closes #974
This commit is contained in:
@@ -495,7 +495,7 @@ def build_packages(build_output, version, nightly=False, rc=None, iteration=1):
|
|||||||
fr = os.path.join(current_location, binary)
|
fr = os.path.join(current_location, binary)
|
||||||
# Where the binary should go in the package filesystem
|
# Where the binary should go in the package filesystem
|
||||||
to = os.path.join(build_root, INSTALL_ROOT_DIR[1:], binary)
|
to = os.path.join(build_root, INSTALL_ROOT_DIR[1:], binary)
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
print("[{}][{}] - Moving from '{}' to '{}'".format(platform,
|
print("[{}][{}] - Moving from '{}' to '{}'".format(platform,
|
||||||
arch,
|
arch,
|
||||||
@@ -560,7 +560,6 @@ def build_packages(build_output, version, nightly=False, rc=None, iteration=1):
|
|||||||
fpm_command += "--verbose "
|
fpm_command += "--verbose "
|
||||||
if package_type == "rpm":
|
if package_type == "rpm":
|
||||||
fpm_command += "--depends coreutils "
|
fpm_command += "--depends coreutils "
|
||||||
fpm_command += "--depends lsof "
|
|
||||||
out = run(fpm_command, shell=True)
|
out = run(fpm_command, shell=True)
|
||||||
matches = re.search(':path=>"(.*)"', out)
|
matches = re.search(':path=>"(.*)"', out)
|
||||||
outfile = None
|
outfile = None
|
||||||
|
|||||||
Reference in New Issue
Block a user