Skip to content

Commit

Permalink
seriously, it really is '-' on amazonlinux
Browse files Browse the repository at this point in the history
  • Loading branch information
jettero committed Jun 16, 2020
1 parent 0d78881 commit a0fb19d
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 a0fb19d

Please sign in to comment.