mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 02:11:38 +02:00
Allowing suppression of onos*.zip generation form onos-package; mostly for speed in dev.
Change-Id: Id4f7484f0226abb8fadea881aed76ab23bcffc68
This commit is contained in:
parent
cb5016f137
commit
aab3559e9f
@ -82,6 +82,11 @@ echo $ONOS_VERSION > $ONOS_STAGE/VERSION
|
||||
cd $ONOS_STAGE_ROOT
|
||||
rm -f $ONOS_TAR $ONOS_ZIP
|
||||
COPYFILE_DISABLE=1 tar zcf $ONOS_TAR $ONOS_BITS
|
||||
which zip >/dev/null && zip -rq $ONOS_ZIP $ONOS_BITS
|
||||
which zip >/dev/null && ls -lh $ONOS_TAR $ONOS_ZIP || ls -lh $ONOS_TAR
|
||||
|
||||
# Figure out whether we should build ONOS zip file and if so, build it.
|
||||
which zip >/dev/null && [ -z "$ONOS_TAR_ONLY" ] && buildZip=true || unset buildZip
|
||||
[ -n "$buildZip" ] && zip -rq $ONOS_ZIP $ONOS_BITS
|
||||
|
||||
# Report on the archives that were built and clean-up
|
||||
[ -n "$buildZip" ] && ls -lh $ONOS_TAR $ONOS_ZIP || ls -lh $ONOS_TAR
|
||||
rm -r $ONOS_STAGE
|
||||
|
Loading…
x
Reference in New Issue
Block a user