[projects/cleanbuild: 2/4] add general readme and a wrapper

glen glen at pld-linux.org
Sun Jun 18 20:04:23 CEST 2017


commit 97dec0cca0bb30ad055ad341a7cee36178e84071
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Jun 18 20:48:38 2017 +0300

    add general readme and a wrapper

 README     | 18 ++++++++++++++++++
 cleanbuild |  9 +++++++++
 2 files changed, 27 insertions(+)
---
diff --git a/README b/README
new file mode 100644
index 0000000..a412694
--- /dev/null
+++ b/README
@@ -0,0 +1,18 @@
+cleanbuild
+
+cleanbuild is tool to help discovering missing (or excessive) dependencies by
+building packages in clean build environment.
+
+cleanbuild comes with two backends:
+- vserver (legacy)
+- docker
+
+See README.vserver or README.docker for engine specific instructions.
+
+Run cleanbuild:
+
+  ./cleanbuild FHS
+
+You can create yourself alias for easier invocation from regular user:
+  alias cleanbuild='_cleanbuild() { sudo -H -u builder sh -c "cd ~/cleanbuild && ./cleanbuild $*"; }; _cleanbuild'
+  cleanbuild somepkg
diff --git a/cleanbuild b/cleanbuild
new file mode 100755
index 0000000..0e99905
--- /dev/null
+++ b/cleanbuild
@@ -0,0 +1,9 @@
+#!/bin/sh
+dir=$(dirname "$0")
+
+[ -r .cleanbuildrc ] && . ./.cleanbuildrc
+
+# backend to use: vserver or docker
+BACKEND=${BACKEND:-docker}
+
+exec $dir/cleanbuild-$BACKEND.sh "$@"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/125f8f48ef407b6dc26d4e6f8cd5ae05cd3ba534



More information about the pld-cvs-commit mailing list