diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2016-10-10 11:11:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-10-10 11:11:01 +0000 |
commit | db02e069cc213fc63994331bfb6191f517b699ca (patch) | |
tree | 3f69ee7d275f12e01d0709d16deeab7a679b3346 /build/install | |
parent | 6b87729e4b16975138d67ec01a0aa6b925a06245 (diff) | |
parent | 94ea115c36d5f5c79823692ac80626cf8959b35d (diff) |
Merge "build: Use OPNFV_GIT_SHA for ISO preparer ID"
Diffstat (limited to 'build/install')
-rwxr-xr-x | build/install/install.sh | 6 |
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 \ |