Skip to content

Commit

Permalink
Merge pull request #870 from jettero/one-more-I-guess
Browse files Browse the repository at this point in the history
seriously, it really is '-' on amazonlinux
  • Loading branch information
devagupt authored Jun 16, 2020
2 parents 0d78881 + a0fb19d commit 00b5918
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pkg/amazonlinux2016.09/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ fpm -s dir -t rpm \
etc/hubble opt usr /var/log/hubble_osquery/backuplogs

# edit to change iteration number, if necessary
PKG_BASE_NAME=${HUBBLE_VERSION}-${HUBBLE_ITERATION}
PKG_BASE_NAME=hubblestack-${HUBBLE_VERSION}-${HUBBLE_ITERATION}
PKG_OUT_EXT=x86_64.rpm
PKG_FIN_EXT=al1609.$PKG_OUT_EXT
PKG_ONAME="hubblestack_$PKG_BASE_NAME.$PKG_OUT_EXT"
PKG_FNAME="hubblestack-$PKG_BASE_NAME.$PKG_FIN_EXT"
PKG_ONAME="$PKG_BASE_NAME.$PKG_OUT_EXT"
PKG_FNAME="$PKG_BASE_NAME.$PKG_FIN_EXT"

cp -va "$PKG_ONAME" /data/"$PKG_FNAME"
openssl dgst -sha256 /data/"$PKG_FNAME" > /data/"$PKG_FNAME".sha256
6 changes: 3 additions & 3 deletions pkg/dev/amazonlinux2016.09/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ fpm -s dir -t rpm \
etc/hubble opt usr /var/log/hubble_osquery/backuplogs

# edit to change iteration number, if necessary
PKG_BASE_NAME=${HUBBLE_VERSION}-${HUBBLE_ITERATION}
PKG_BASE_NAME=hubblestack-${HUBBLE_VERSION}-${HUBBLE_ITERATION}
PKG_OUT_EXT=x86_64.rpm
PKG_FIN_EXT=al1609.$PKG_OUT_EXT
PKG_ONAME="hubblestack_$PKG_BASE_NAME.$PKG_OUT_EXT"
PKG_FNAME="hubblestack-$PKG_BASE_NAME.$PKG_FIN_EXT"
PKG_ONAME="$PKG_BASE_NAME.$PKG_OUT_EXT"
PKG_FNAME="$PKG_BASE_NAME.$PKG_FIN_EXT"

cp -va "$PKG_ONAME" /data/"$PKG_FNAME"
openssl dgst -sha256 /data/"$PKG_FNAME" > /data/"$PKG_FNAME".sha256

0 comments on commit 00b5918

Please sign in to comment.