summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-27 15:36:08 -0200
committerRenato Botelho <renato@netgate.com>2015-10-27 15:36:31 -0200
commit812bbf0dfce0fe3d624c3b627c95e903933ab5c1 (patch)
tree636765e7544d7b69605621daee74205c232eb985 /tools/builder_common.sh
parentfb08d0e1912fc414baec58b2976da16b5133d554 (diff)
downloadpfsense-812bbf0dfce0fe3d624c3b627c95e903933ab5c1.zip
pfsense-812bbf0dfce0fe3d624c3b627c95e903933ab5c1.tar.gz
Deal with full update file separately, it doesn't end in .gz
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r--tools/builder_common.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 41d8043..e425d22 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -2073,7 +2073,7 @@ snapshots_copy_to_staging_nanobsd() {
snapshots_copy_to_staging_iso_updates() {
local _img=""
- for _img in ${ISOPATH} ${MEMSTICKPATH} ${MEMSTICKSERIALPATH} ${UPDATES_TARBALL_FILENAME}; do
+ for _img in ${ISOPATH} ${MEMSTICKPATH} ${MEMSTICKSERIALPATH}; do
if [ ! -f "${_img}.gz" ]; then
continue
fi
@@ -2082,6 +2082,12 @@ snapshots_copy_to_staging_iso_updates() {
snapshots_create_latest_symlink ${STAGINGAREA}/$(basename ${_img})
done
+ if [ -f "${UPDATES_TARBALL_FILENAME}" ]; then
+ sha256 ${UPDATES_TARBALL_FILENAME} > ${UPDATES_TARBALL_FILENAME}.sha256
+ cp -l ${UPDATES_TARBALL_FILENAME}* $STAGINGAREA/ 2>/dev/null
+ snapshots_create_latest_symlink ${STAGINGAREA}/$(basename ${UPDATES_TARBALL_FILENAME})
+ fi
+
if [ "${TARGET}" = "amd64" -a -f "${MEMSTICKADIPATH}.gz" ]; then
sha256 ${MEMSTICKADIPATH}.gz > ${MEMSTICKADIPATH}.sha256
cp -l ${MEMSTICKADIPATH}* $STAGINGAREA/ 2>/dev/null
OpenPOWER on IntegriCloud