Adding rpm generation functionalities in onos-package
Change-Id: Iced5950e6f509700dcce5f419edec52a90a1ab83
diff --git a/tools/build/envDefaults b/tools/build/envDefaults
index 494abdd..57c1f67 100644
--- a/tools/build/envDefaults
+++ b/tools/build/envDefaults
@@ -21,12 +21,15 @@
export ONOS_POM_VERSION="1.3.0-SNAPSHOT"
export ONOS_VERSION=${ONOS_VERSION:-1.3.0.$BUILD_NUMBER}
-# ONOS production bits (onos.tar.gz & onos.zip) staging environment
+# ONOS production bits (onos.tar.gz, onos.zip, onos.deb, onos.rpm) staging environment
export ONOS_BITS=onos-${ONOS_VERSION%~*}
export ONOS_STAGE_ROOT=${ONOS_STAGE_ROOT:-/tmp}
export ONOS_STAGE=$ONOS_STAGE_ROOT/$ONOS_BITS
export ONOS_DEB_ROOT=$ONOS_STAGE_ROOT/deb
export ONOS_DEB=$ONOS_STAGE.deb
+export ONOS_RPM_ROOT=$ONOS_STAGE_ROOT/rpm
+export ONOS_RPM=$ONOS_STAGE.rpm
+export ONOS_RPM_VERSION=${ONOS_POM_VERSION//-/.}
export ONOS_TAR=$ONOS_STAGE.tar.gz
export ONOS_ZIP=$ONOS_STAGE.zip