Starting to switch aliases and some convenience scripts from Buck to Bazel.
Change-Id: I2e0a0dac882af430b8628174f3f97a1777d3e643
diff --git a/tools/build/onos-package b/tools/build/onos-package
index 9d3a747..aaa717a 100755
--- a/tools/build/onos-package
+++ b/tools/build/onos-package
@@ -1,7 +1,6 @@
#!/bin/bash
# -----------------------------------------------------------------------------
-# Packages ONOS distributable into onos.tar.gz, onos.zip or a deb file
+# Packages ONOS distributable into onos.tar.gz file
# -----------------------------------------------------------------------------
-[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
-cd $ONOS_ROOT && onos-buck build onos --deep --show-output && onos-check-bits
+SHLVL=1 bazel build //:onos && onos-check-bits