From 1e58c093f1163b8e527e394d61678ef1382bb49b Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 14 Dec 2014 14:53:38 +0100 Subject: ch: update doc; move numbered logfiles Signed-off-by: Florian Pritz --- ch | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'ch') diff --git a/ch b/ch index cd87bc4..11bb986 100755 --- a/ch +++ b/ch @@ -1,12 +1,22 @@ #!/bin/bash -# ch build ... build the current package for multiple chroots +# ch build ... build the current package for multiple chroots +# ch build-single [... clean then build -# ch install ... install the package files in the chroot +# ch cbuild ... clean then build +# ch install ... +# install the package files in the chroot +# ch kill remove a chroot (including master chroot) # ch kill all remove all chroots (including master chroot) +# ch update ... update a chroot # ch update update all chroots # ch list lists all existing master chroots +# ch shell [command ...] +# spawn a shell/run command in a chroot +# ch rshell [command ...] +# spawn a shell/run command in the master chroot +# ch repack ... 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() { -- cgit v1.2.3-24-g4f1b