diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-12-14 14:53:38 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2014-12-14 14:53:38 +0100 |
commit | 1e58c093f1163b8e527e394d61678ef1382bb49b (patch) | |
tree | f181ec2eb45fcff02e1593b1c9cb0cb6d45f1b8d | |
parent | f57e70617a8b4587f9bd92915f98bfc18d5619f9 (diff) | |
download | bin-1e58c093f1163b8e527e394d61678ef1382bb49b.tar.gz bin-1e58c093f1163b8e527e394d61678ef1382bb49b.tar.xz |
ch: update doc; move numbered logfiles
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | ch | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -1,12 +1,22 @@ #!/bin/bash -# ch build <id>... build the current package for multiple chroots +# ch build <id> ... build the current package for multiple chroots +# ch build-single <id> [<arguments] +# build the current package for one chroot and pass arguments to makechrootpkg # ch clean remove all working copies -# ch cbuild <id>... clean then build -# ch install <id> <package files>... install the package files in the chroot +# ch cbuild <id> ... clean then build +# ch install <id> <package files>... +# install the package files in the chroot +# ch kill <id> remove a chroot (including master chroot) # ch kill all remove all chroots (including master chroot) +# ch update <id> ... update a chroot # ch update update all chroots # ch list lists all existing master chroots +# ch shell <id> [command ...] +# spawn a shell/run command in a chroot +# ch rshell <id> [command ...] +# spawn a shell/run command in the master chroot +# ch repack <id> ... repack (makepkg -R) # IDs work like this: # 64 = 64bit extra @@ -83,7 +93,7 @@ __chrootalias() { __cleanup_logs() { mkdir -p "$1/logs" - mv "$1/"*.log "$1/logs" + mv "$1/"*.log "$1/"*.log.* "$1/logs/" } chkill() { |