onos-package improvement
Change-Id: I032e87ca05892eb7f73c33a4eb8bcd2c4e88d81a
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -63,7 +63,7 @@ done | ... | @@ -63,7 +63,7 @@ done |
63 | 63 | ||
64 | # Patch the Apache Karaf distribution file to add ONOS features repository | 64 | # Patch the Apache Karaf distribution file to add ONOS features repository |
65 | perl -pi.old -e "s|^(featuresRepositories=.*)|\1,mvn:org.onosproject/onos-features/$ONOS_POM_VERSION/xml/features|" \ | 65 | perl -pi.old -e "s|^(featuresRepositories=.*)|\1,mvn:org.onosproject/onos-features/$ONOS_POM_VERSION/xml/features|" \ |
66 | - $ONOS_STAGE/$KARAF_DIST/etc/org.apache.karaf.features.cfg | 66 | + $ONOS_STAGE/$KARAF_DIST/etc/org.apache.karaf.features.cfg |
67 | 67 | ||
68 | # Patch the Apache Karaf distribution file to load default ONOS boot features | 68 | # Patch the Apache Karaf distribution file to load default ONOS boot features |
69 | export BOOT_FEATURES="webconsole,onos-api,onos-core,onos-cli,onos-rest,onos-gui" | 69 | export BOOT_FEATURES="webconsole,onos-api,onos-core,onos-cli,onos-rest,onos-gui" |
... | @@ -82,5 +82,5 @@ cd $ONOS_STAGE_ROOT | ... | @@ -82,5 +82,5 @@ cd $ONOS_STAGE_ROOT |
82 | rm -f $ONOS_TAR $ONOS_ZIP | 82 | rm -f $ONOS_TAR $ONOS_ZIP |
83 | COPYFILE_DISABLE=1 tar zcf $ONOS_TAR $ONOS_BITS | 83 | COPYFILE_DISABLE=1 tar zcf $ONOS_TAR $ONOS_BITS |
84 | which zip >/dev/null && zip -rq $ONOS_ZIP $ONOS_BITS | 84 | which zip >/dev/null && zip -rq $ONOS_ZIP $ONOS_BITS |
85 | -which zip >/dev/null && ls -l $ONOS_TAR $ONOS_ZIP || ls -l $ONOS_TAR | 85 | +which zip >/dev/null && ls -lh $ONOS_TAR $ONOS_ZIP || ls -lh $ONOS_TAR |
86 | rm -r $ONOS_STAGE | 86 | rm -r $ONOS_STAGE | ... | ... |
-
Please register or login to post a comment