summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r--tools/builder_common.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index fe04bef..198bb2a 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -2026,9 +2026,11 @@ snapshots_copy_to_staging_iso_updates() {
sha256 ${MEMSTICKSERIALPATH}.gz > ${MEMSTICKSERIALPATH}.sha256
cp ${MEMSTICKSERIALPATH}* $STAGINGAREA/ 2>/dev/null
- md5 ${MEMSTICKADIPATH}.gz > ${MEMSTICKADIPATH}.md5
- sha256 ${MEMSTICKADIPATH}.gz > ${MEMSTICKADIPATH}.sha256
- cp ${MEMSTICKADIPATH}* $STAGINGAREA/ 2>/dev/null
+ if [ "${TARGET}" = "amd64" ]; then
+ md5 ${MEMSTICKADIPATH}.gz > ${MEMSTICKADIPATH}.md5
+ sha256 ${MEMSTICKADIPATH}.gz > ${MEMSTICKADIPATH}.sha256
+ cp ${MEMSTICKADIPATH}* $STAGINGAREA/ 2>/dev/null
+ fi
md5 ${UPDATES_TARBALL_FILENAME} > ${UPDATES_TARBALL_FILENAME}.md5
sha256 ${UPDATES_TARBALL_FILENAME} > ${UPDATES_TARBALL_FILENAME}.sha256
OpenPOWER on IntegriCloud