diff options
author | Alexey Neyman <stilor@att.net> | 2018-04-29 23:03:26 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-04-29 23:03:26 -0700 |
commit | bd60424e099623a148a5d186c6f268807e33896c (patch) | |
tree | 3668983f0de90401bbe0ca710cc937a6107056c0 /testing/docker/common-scripts/ctng-build-sample | |
parent | b04bd522709fabbff4ebb010d12a8724df2c66c3 (diff) | |
download | crosstool-ng-bd60424e099623a148a5d186c6f268807e33896c.tar.gz crosstool-ng-bd60424e099623a148a5d186c6f268807e33896c.tar.bz2 crosstool-ng-bd60424e099623a148a5d186c6f268807e33896c.zip |
Add the ability to run some but not all samples in docker
Also, build containers with --no-cache: distributions like ArchLinux
retire their packages very quickly, need to always use up-to-date
package databases.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'testing/docker/common-scripts/ctng-build-sample')
-rwxr-xr-x | testing/docker/common-scripts/ctng-build-sample | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/docker/common-scripts/ctng-build-sample b/testing/docker/common-scripts/ctng-build-sample new file mode 100755 index 00000000..3f21478d --- /dev/null +++ b/testing/docker/common-scripts/ctng-build-sample @@ -0,0 +1,9 @@ +#!/bin/bash + +set -e +cd +rm -rf bld-samples +mkdir bld-samples +cd bld-samples +export PATH=$HOME/inst-ctng/bin:$PATH +ct-ng build-all ${1+CT_SAMPLES="$*"} |