Merged,
Maxim.
On 11/19/2015 09:35, Riku Voipio wrote:
For CI loop, we have separate job to build binaries (build-package).
To make it possible to build source package without first installing
all build-deps, add a new optional parameter "source" to build
only source package.
Signed-off-by: Riku Voipio <[email protected]>
---
scripts/builddeb | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/scripts/builddeb b/scripts/builddeb
index 829fd1d..28927ea 100755
--- a/scripts/builddeb
+++ b/scripts/builddeb
@@ -23,6 +23,11 @@ if [ $(egrep "\.([a-z0-9]{8}\>|dirty)" .scmversion |wc -l)
-gt 0 ]; then
dch --newversion ${version}-1 --urgency low "not a official release!"
fi
-debuild -us -uc
+if [ "$1" = source ]
+then
+ dpkg-buildpackage -S -d
+else
+ debuild -us -uc
+fi
popd
popd
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp