Updating onos-package to stage onos-features
Change-Id: Id9e145c93cac99d64526586b3b89825cd35608b1
diff --git a/tools/build/onos-package b/tools/build/onos-package
index 3ca4e6e..e7f2cbe 100755
--- a/tools/build/onos-package
+++ b/tools/build/onos-package
@@ -52,6 +52,10 @@
if [ -d $ONOS_ROOT/tools/package/karaf-assembly/target/repo ]; then
cp -r $ONOS_ROOT/tools/package/karaf-assembly/target/repo/* $ONOS_STAGE/$KARAF_DIST/system
+ #FIXME we need to add onos-features manually
+ mkdir -p $ONOS_STAGE/$KARAF_DIST/system/org/onosproject/onos-features/$ONOS_POM_VERSION
+ cp $M2_REPO/org/onosproject/onos-features/$ONOS_POM_VERSION/onos-features* \
+ $ONOS_STAGE/$KARAF_DIST/system/org/onosproject/onos-features/$ONOS_POM_VERSION
else
# TODO: Deprecated so remove when confident staging works.
# Stage the ONOS bundles, but only those that match the version