Updating Apache Karaf to 4.2.2.
Change-Id: I346f21b8da7583c77e7b0612c7f2931aa63a67e0
diff --git a/tools/package/bin/onos-backup b/tools/package/bin/onos-backup
index 72746e4..5082957 100755
--- a/tools/package/bin/onos-backup
+++ b/tools/package/bin/onos-backup
@@ -5,7 +5,7 @@
ONOS_HOME=${ONOS_HOME:-$(cd $(dirname $0)/.. >/dev/null 2>&1 && pwd)}
ONOS_DEFAULT_ARCHIVE=$(dirname $ONOS_HOME)/onos-data.tar.gz
-ONOS_KARAF=$ONOS_HOME/apache-karaf-4.2.1
+ONOS_KARAF=$ONOS_HOME/apache-karaf-4.2.2
# Fetch the name of the archive or use a default if none is specified
archive=${1:-$ONOS_DEFAULT_ARCHIVE}
diff --git a/tools/package/bin/onos-restore b/tools/package/bin/onos-restore
index b6bc4bc..6535f33 100755
--- a/tools/package/bin/onos-restore
+++ b/tools/package/bin/onos-restore
@@ -5,7 +5,7 @@
ONOS_HOME=${ONOS_HOME:-$(cd $(dirname $0)/.. >/dev/null 2>&1 && pwd)}
ONOS_DEFAULT_ARCHIVE=$(dirname $ONOS_HOME)/onos-data.tar.gz
-ONOS_KARAF=$ONOS_HOME/apache-karaf-4.2.1
+ONOS_KARAF=$ONOS_HOME/apache-karaf-4.2.2
# Fetch the name of the archive or use a default if none is specified
archive=${1:-$ONOS_DEFAULT_ARCHIVE}
diff --git a/tools/package/deb/prerm b/tools/package/deb/prerm
index d1cb8a1..d14f582 100755
--- a/tools/package/deb/prerm
+++ b/tools/package/deb/prerm
@@ -14,7 +14,7 @@
# Clean up onos runtime directories
# TODO don't hardcode karaf version
-rm -rf /opt/onos/apache-karaf-4.2.1/
+rm -rf /opt/onos/apache-karaf-4.2.2/
rm -rf /opt/onos/var/*
rm -rf /opt/onos/config
rm -rf /opt/onos/options
diff --git a/tools/package/etc/org.apache.karaf.features.cfg b/tools/package/etc/org.apache.karaf.features.cfg
index 4b77351..37bc7a5 100644
--- a/tools/package/etc/org.apache.karaf.features.cfg
+++ b/tools/package/etc/org.apache.karaf.features.cfg
@@ -21,45 +21,45 @@
# Comma separated list of features repositories to register by default
#
featuresRepositories = \
- mvn:org.apache.karaf.features/standard/4.2.1/xml/features, \
+ mvn:org.apache.karaf.features/standard/4.2.2/xml/features, \
mvn:org.onosproject/onos-features/$ONOS_VERSION/xml/features, \
- mvn:org.apache.karaf.features/enterprise/4.2.1/xml/features, \
- mvn:org.apache.karaf.features/spring/4.2.1/xml/features, \
- mvn:org.apache.karaf.features/standard/4.2.1/xml/features, \
- mvn:org.apache.karaf.features/framework/4.2.1/xml/features
+ mvn:org.apache.karaf.features/enterprise/4.2.2/xml/features, \
+ mvn:org.apache.karaf.features/spring/4.2.2/xml/features, \
+ mvn:org.apache.karaf.features/standard/4.2.2/xml/features, \
+ mvn:org.apache.karaf.features/framework/4.2.2/xml/features
#
# Comma separated list of features to install at startup
#
featuresBoot = \
- instance/4.2.1, \
- package/4.2.1, \
- log/4.2.1, \
- ssh/4.2.1, \
- framework/4.2.1, \
- system/4.2.1, \
- eventadmin/4.2.1, \
- feature/4.2.1, \
- shell/4.2.1, \
- management/4.2.1, \
- service/4.2.1, \
- jaas/4.2.1, \
- deployer/4.2.1, \
- diagnostic/4.2.1, \
+ instance/4.2.2, \
+ package/4.2.2, \
+ log/4.2.2, \
+ ssh/4.2.2, \
+ framework/4.2.2, \
+ system/4.2.2, \
+ eventadmin/4.2.2, \
+ feature/4.2.2, \
+ shell/4.2.2, \
+ management/4.2.2, \
+ service/4.2.2, \
+ jaas/4.2.2, \
+ deployer/4.2.2, \
+ diagnostic/4.2.2, \
(wrap/2.5.4), \
- (bundle/4.2.1, \
- config/4.2.1, \
- kar/4.2.1, \
- webconsole/4.2.1, \
- scr/4.2.1, \
- war/4.2.1), \
+ (bundle/4.2.2, \
+ config/4.2.2, \
+ kar/4.2.2, \
+ webconsole/4.2.2, \
+ scr/4.2.2, \
+ war/4.2.2), \
(onos-netty/$ONOS_VERSION), \
(onos-api/$ONOS_VERSION, \
onos-core/$ONOS_VERSION, \
onos-cli/$ONOS_VERSION, \
onos-rest/$ONOS_VERSION, \
onos-gui/$ONOS_VERSION), \
- (ssh/4.2.1)
+ (ssh/4.2.2)
#
diff --git a/tools/package/onos-prep-karaf b/tools/package/onos-prep-karaf
index 468494f..4b845a6 100755
--- a/tools/package/onos-prep-karaf
+++ b/tools/package/onos-prep-karaf
@@ -12,7 +12,7 @@
KARAF_PATCHES=$5
SANDBOX=${6:-.}
-KARAF_VERSION="4.2.1"
+KARAF_VERSION="4.2.2"
ONOS_SECURITY_MODE="false"
PREFIX="onos-$ONOS_VERSION"
diff --git a/tools/package/onos_stage.py b/tools/package/onos_stage.py
index a6b46d4..6ef1af1 100755
--- a/tools/package/onos_stage.py
+++ b/tools/package/onos_stage.py
@@ -27,7 +27,7 @@
written_files = set()
now = time.time()
-karaf_version = "4.2.1"
+karaf_version = "4.2.2"
karaf_system = "apache-karaf-" + karaf_version + "/system/"
def addFile(tar, dest, file, file_size):