Brian O'Connor

Updating onos-package to stage onos-features

Change-Id: Id9e145c93cac99d64526586b3b89825cd35608b1
...@@ -52,6 +52,10 @@ function build_stage_dir() { ...@@ -52,6 +52,10 @@ function build_stage_dir() {
52 52
53 if [ -d $ONOS_ROOT/tools/package/karaf-assembly/target/repo ]; then 53 if [ -d $ONOS_ROOT/tools/package/karaf-assembly/target/repo ]; then
54 cp -r $ONOS_ROOT/tools/package/karaf-assembly/target/repo/* $ONOS_STAGE/$KARAF_DIST/system 54 cp -r $ONOS_ROOT/tools/package/karaf-assembly/target/repo/* $ONOS_STAGE/$KARAF_DIST/system
55 + #FIXME we need to add onos-features manually
56 + mkdir -p $ONOS_STAGE/$KARAF_DIST/system/org/onosproject/onos-features/$ONOS_POM_VERSION
57 + cp $M2_REPO/org/onosproject/onos-features/$ONOS_POM_VERSION/onos-features* \
58 + $ONOS_STAGE/$KARAF_DIST/system/org/onosproject/onos-features/$ONOS_POM_VERSION
55 else 59 else
56 # TODO: Deprecated so remove when confident staging works. 60 # TODO: Deprecated so remove when confident staging works.
57 # Stage the ONOS bundles, but only those that match the version 61 # Stage the ONOS bundles, but only those that match the version
......