summaryrefslogtreecommitdiff
path: root/examples/auto
diff options
context:
space:
mode:
authorBen Armstrong <synrg@debian.org>2010-11-27 18:48:13 -0400
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:36 +0100
commitaa456e33b51912a7a37bdb84f4aec1e53aa37cc9 (patch)
tree0cc74ffb591b16286bf88c0909e18df822c26f3f /examples/auto
parent32590cfdc7c6f81bc5349a812c6ef68c2dc7b4ea (diff)
downloadvyos-live-build-aa456e33b51912a7a37bdb84f4aec1e53aa37cc9.tar.gz
vyos-live-build-aa456e33b51912a7a37bdb84f4aec1e53aa37cc9.zip
Adding example auto scripts.
Diffstat (limited to 'examples/auto')
-rwxr-xr-xexamples/auto/build3
-rwxr-xr-xexamples/auto/clean5
-rwxr-xr-xexamples/auto/config5
3 files changed, 13 insertions, 0 deletions
diff --git a/examples/auto/build b/examples/auto/build
new file mode 100755
index 000000000..34956c13d
--- /dev/null
+++ b/examples/auto/build
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+lb build noauto "${@}" 2>&1 | tee binary.log
diff --git a/examples/auto/clean b/examples/auto/clean
new file mode 100755
index 000000000..436f52d9d
--- /dev/null
+++ b/examples/auto/clean
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+lb clean noauto "${@}"
+rm -f config/binary config/bootstrap config/chroot config/common config/source
+rm -f binary.log
diff --git a/examples/auto/config b/examples/auto/config
new file mode 100755
index 000000000..e67a471c7
--- /dev/null
+++ b/examples/auto/config
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+lb config noauto \
+ --packages-lists "standard" \
+ "${@}"