Patching Apache Karaf with a shell console fix to avoid thread leak.
Change-Id: I27e8fbaf443391a51b40c35639a39a5f38aecf31
diff --git a/tools/package/BUCK b/tools/package/BUCK
index 05fefcb..a317983 100644
--- a/tools/package/BUCK
+++ b/tools/package/BUCK
@@ -1,5 +1,6 @@
KARAF = '//lib:apache-karaf'
BRANDING = '//tools/package/branding:onos-tools-package-branding'
+PATCHES = '//lib:apache-karaf-patches'
FEATURES = [
'//features:onos-thirdparty-base',
@@ -21,8 +22,8 @@
genrule(
name = 'onos-karaf',
srcs = glob(['bin/*', 'etc/*', 'init/*', 'runtime/bin/*']),
- bash = '$(location :onos-prep-karaf) $OUT $(location %s) %s $(location %s)'\
- % (KARAF, ONOS_VERSION, BRANDING),
+ bash = '$(location :onos-prep-karaf) $OUT $(location %s) %s $(location %s) $(location %s)'\
+ % (KARAF, ONOS_VERSION, BRANDING, PATCHES),
out = 'karaf.zip',
)