Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deb and rpm packages #753

Merged
merged 2 commits into from
Feb 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@

### Bugfixes

## v0.10.4.1

### Release Notes
- Bug in the build script broke deb and rpm packages.

### Bugfixes
- [#750](https://github.com/influxdata/telegraf/issues/750): deb package broken
- [#752](https://github.com/influxdata/telegraf/issues/752): rpm package broken

## v0.10.4 [2016-02-24]

### Release Notes
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ the [release blog post](https://influxdata.com/blog/announcing-telegraf-0-10-0/)
### Linux deb and rpm Packages:

Latest:
* http://get.influxdb.org/telegraf/telegraf_0.10.4-1_amd64.deb
* http://get.influxdb.org/telegraf/telegraf-0.10.4-1.x86_64.rpm
* http://get.influxdb.org/telegraf/telegraf_0.10.4.1-1_amd64.deb
* http://get.influxdb.org/telegraf/telegraf-0.10.4.1-1.x86_64.rpm

Latest (arm):
* http://get.influxdb.org/telegraf/telegraf_0.10.4-1_arm.deb
* http://get.influxdb.org/telegraf/telegraf-0.10.4-1.arm.rpm
* http://get.influxdb.org/telegraf/telegraf_0.10.4.1-1_arm.deb
* http://get.influxdb.org/telegraf/telegraf-0.10.4.1-1.arm.rpm

0.2.x:
* http://get.influxdb.org/telegraf/telegraf_0.2.4_amd64.deb
Expand All @@ -56,9 +56,9 @@ for instructions, replacing the `influxdb` package name with `telegraf`.
### Linux tarballs:

Latest:
* http://get.influxdb.org/telegraf/telegraf-0.10.4-1_linux_amd64.tar.gz
* http://get.influxdb.org/telegraf/telegraf-0.10.4-1_linux_i386.tar.gz
* http://get.influxdb.org/telegraf/telegraf-0.10.4-1_linux_arm.tar.gz
* http://get.influxdb.org/telegraf/telegraf-0.10.4.1-1_linux_amd64.tar.gz
* http://get.influxdb.org/telegraf/telegraf-0.10.4.1-1_linux_i386.tar.gz
* http://get.influxdb.org/telegraf/telegraf-0.10.4.1-1_linux_arm.tar.gz

0.2.x:
* http://get.influxdb.org/telegraf/telegraf_linux_amd64_0.2.4.tar.gz
Expand All @@ -70,13 +70,13 @@ Latest:
To install the full directory structure with config file, run:

```
sudo tar -C / -zxvf ./telegraf-0.10.4-1_linux_amd64.tar.gz
sudo tar -C / -zxvf ./telegraf-0.10.4.1-1_linux_amd64.tar.gz
```

To extract only the binary, run:

```
tar -zxvf telegraf-0.10.4-1_linux_amd64.tar.gz --strip-components=3 ./usr/bin/telegraf
tar -zxvf telegraf-0.10.4.1-1_linux_amd64.tar.gz --strip-components=3 ./usr/bin/telegraf
```

### Ansible Role:
Expand All @@ -93,8 +93,8 @@ brew install telegraf
### Windows Binaries (EXPERIMENTAL)

Latest:
* http://get.influxdb.org/telegraf/telegraf-0.10.4-1_windows_amd64.zip
* http://get.influxdb.org/telegraf/telegraf-0.10.4-1_windows_i386.zip
* http://get.influxdb.org/telegraf/telegraf-0.10.4.1-1_windows_amd64.zip
* http://get.influxdb.org/telegraf/telegraf-0.10.4.1-1_windows_i386.zip

### From Source:

Expand Down
4 changes: 3 additions & 1 deletion scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,10 @@ def build_packages(build_output, version, pkg_arch, nightly=False, rc=None, iter
for b in targets:
if p == 'windows':
b = b + '.exe'
to = os.path.join(build_root, b)
else:
to = os.path.join(build_root, INSTALL_ROOT_DIR[1:], b)
fr = os.path.join(current_location, b)
to = os.path.join(build_root, b)
print("\t- [{}][{}] - Moving from '{}' to '{}'".format(p, a, fr, to))
copy_file(fr, to)
# Package the directory structure
Expand Down