Fixes to onos_stage to include karaf.zip
Change-Id: Iae00ae0a47150b470a7fc409260ca21824af020e
diff --git a/tools/package/BUCK b/tools/package/BUCK
index 27c0274..a452ce4 100644
--- a/tools/package/BUCK
+++ b/tools/package/BUCK
@@ -100,6 +100,6 @@
genrule(
name = 'onos-package',
out = 'onos.tar.gz',
- bash = 'cp $(location :onos-karaf) $OUT && $(exe //buck-tools:onos-stage) $OUT ' + ' '.join(sources),
+ bash = '$(exe //buck-tools:onos-stage) $OUT $(location :onos-karaf) ' + ' '.join(sources),
visibility = [ 'PUBLIC' ],
)
\ No newline at end of file