diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-01-09 17:43:43 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-01-09 17:43:43 +0100 |
commit | 1b18a81a4a9b2ebe3a2b8e10571dee71da9b64bf (patch) | |
tree | d7854555daaddd1cdb67766f3336b7c76d32a360 /ch | |
parent | e9d04b9993f78e9126c0ac4bee984add5385a73d (diff) | |
download | bin-1b18a81a4a9b2ebe3a2b8e10571dee71da9b64bf.tar.gz bin-1b18a81a4a9b2ebe3a2b8e10571dee71da9b64bf.tar.xz |
ch: add shell-bind command
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'ch')
-rwxr-xr-x | ch | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -14,6 +14,8 @@ # ch list lists all existing master chroots # ch shell <id> [command ...] # spawn a shell/run command in a chroot +# ch shell-bind <id> [command ...] +# spawn a shell/run command in a chroot and bind $PWD from the host to /pwd in the chroot # ch rshell <id> [command ...] # spawn a shell/run command in the master chroot # ch repack <id> ... repack (makepkg -R) @@ -207,6 +209,7 @@ case $command in done ;; shell) chshell "$@";; + shell-bind) chshell --bind-ro="$PWD:/pwd" "$@";; rshell) chrshell "$@";; install) chinstall "$@";; list) |