diff options
| author | Jonathan Bauer | 2014-02-27 12:11:24 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2014-02-27 12:11:24 +0100 |
| commit | 9880f5f77f19932428272a4b6da6a9e46eecf974 (patch) | |
| tree | ee8370722c8ba82e4d019c51abd221b38818548a /remote | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-9880f5f77f19932428272a4b6da6a9e46eecf974.tar.gz tm-scripts-9880f5f77f19932428272a4b6da6a9e46eecf974.tar.xz tm-scripts-9880f5f77f19932428272a4b6da6a9e46eecf974.zip | |
added example usage
Diffstat (limited to 'remote')
| -rw-r--r-- | remote/includes/chroot.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/remote/includes/chroot.inc b/remote/includes/chroot.inc index 0e95417c..3485ce63 100644 --- a/remote/includes/chroot.inc +++ b/remote/includes/chroot.inc @@ -92,7 +92,12 @@ chroot_handle_whiteouts() { # Main function to be called from the outside # Usage: -# chroot_run <build_dir> +# chroot_run <build_dir> < <code_to_exec_in_chroot> +# +# Example: +# chroot_run /tmp/chroot_build <<-EOF +# echo "This will be executed inside the chroot" +# EOF # # It will run: # - chroot_prepare |
