Skip to content

Commit

Permalink
Telegraf no longer depends on lsof
Browse files Browse the repository at this point in the history
so remove it as a dependency from the linux packages.

closes #974
  • Loading branch information
sparrc committed Apr 8, 2016
1 parent 4459467 commit 1a383b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def build_packages(build_output, version, nightly=False, rc=None, iteration=1):
fr = os.path.join(current_location, binary)
# Where the binary should go in the package filesystem
to = os.path.join(build_root, INSTALL_ROOT_DIR[1:], binary)

if debug:
print("[{}][{}] - Moving from '{}' to '{}'".format(platform,
arch,
Expand Down Expand Up @@ -560,7 +560,6 @@ def build_packages(build_output, version, nightly=False, rc=None, iteration=1):
fpm_command += "--verbose "
if package_type == "rpm":
fpm_command += "--depends coreutils "
fpm_command += "--depends lsof "
out = run(fpm_command, shell=True)
matches = re.search(':path=>"(.*)"', out)
outfile = None
Expand Down

0 comments on commit 1a383b7

Please sign in to comment.