chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add chroot-setup, chroot-teardown, and chroot-enter suite of tools
[bin.git]
/
chroot-enter
diff --git a/chroot-enter
b/chroot-enter
new file mode 100755
(executable)
index 0000000..
b260b3a
--- /dev/null
+++ b/
chroot-enter
@@ -0,0
+1,4
@@
+#! /bin/sh
+ROOT="${1:-/chroot/sid}"
+chroot-setup "$ROOT"
+sudo chroot "$ROOT" su cjwatson