aboutsummaryrefslogtreecommitdiffstats
path: root/build/install/install.sh
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-10-12 19:39:31 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-12 19:39:31 +0000
commit38b2256753f0fe358b8b3eecae117ba3b9e20076 (patch)
tree78c7535b15351b2d86fe192a426bf96d766726ff /build/install/install.sh
parentb47042641c215adcdce8ddaf587f23aa2215c71a (diff)
parent3e102a940811ccd9d08eb8362f739394334eda91 (diff)
Merge "build: Use OPNFV_GIT_SHA for ISO preparer ID" into stable/colorado
Diffstat (limited to 'build/install/install.sh')
-rwxr-xr-xbuild/install/install.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/install/install.sh b/build/install/install.sh
index c63241974..866d30419 100755
--- a/build/install/install.sh
+++ b/build/install/install.sh
@@ -196,8 +196,12 @@ make_iso_image() {
find . -name TRANS.TBL -exec rm {} \;
rm -rf rr_moved
+ if [[ -z "$OPNFV_GIT_SHA" ]]; then
+ OPNFV_GIT_SHA=$(git rev-parse --verify HEAD)
+ fi
+
mkisofs --quiet -r -V "$VOLUMEID" -publisher "$PUBLISHER" \
- -p `git rev-parse --verify HEAD` -J -R -b isolinux/isolinux.bin \
+ -p "$OPNFV_GIT_SHA" -J -R -b isolinux/isolinux.bin \
-no-emul-boot \
-boot-load-size 4 -boot-info-table \
--hide-rr-moved \