diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-02-02 10:00:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-02-02 10:00:00 +0000 |
commit | 32322960234c8ec91e0d42835a3ec5ee63305070 (patch) | |
tree | 71d79574de0193778ad6cc6c96dfd4f74fa6bbbb /system-images/share/images/container-server/auto | |
parent | Initial commit. (diff) | |
download | open-infrastructure-system-tools-32322960234c8ec91e0d42835a3ec5ee63305070.tar.xz open-infrastructure-system-tools-32322960234c8ec91e0d42835a3ec5ee63305070.zip |
Adding upstream version 20190202.upstream/20190202
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'system-images/share/images/container-server/auto')
3 files changed, 37 insertions, 0 deletions
diff --git a/system-images/share/images/container-server/auto/build b/system-images/share/images/container-server/auto/build new file mode 100755 index 0000000..f8d8346 --- /dev/null +++ b/system-images/share/images/container-server/auto/build @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +lb build noauto "${@}" 2>&1 | tee build.log diff --git a/system-images/share/images/container-server/auto/clean b/system-images/share/images/container-server/auto/clean new file mode 100755 index 0000000..4b8ccaa --- /dev/null +++ b/system-images/share/images/container-server/auto/clean @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +lb clean noauto "${@}" + +rm -f config/binary config/bootstrap config/chroot config/common config/source +rm -f config/control + +rm -f build.log diff --git a/system-images/share/images/container-server/auto/config b/system-images/share/images/container-server/auto/config new file mode 100755 index 0000000..fbe2c70 --- /dev/null +++ b/system-images/share/images/container-server/auto/config @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e + +case "$(dpkg --print-architecture)" in + amd64) + _SOURCE="true" + ;; + + i386) + _SOURCE="false" + ;; +esac + +lb config noauto \ + --clean \ + --ignore-system-defaults \ + --mode debian \ + --debian-installer live \ + --linux-packages "linux-image" \ + --source "${_SOURCE}" \ +"${@}" |