mirror of
https://github.com/fsquillace/junest.git
synced 2026-01-23 02:34:30 +00:00
Issue #74: Apply chroot_cmd function
This commit is contained in:
parent
e4b6bbb974
commit
f15dc54b38
3 changed files with 23 additions and 16 deletions
|
|
@ -52,6 +52,8 @@ chroot_setup() {
|
|||
chroot_add_mount tmp "$1/tmp" -t tmpfs -o mode=1777,atime,nodev,nosuid &&
|
||||
mkdir -p "$1/$HOME" &&
|
||||
chroot_add_mount $HOME "$1/$HOME" --bind
|
||||
|
||||
mkdir -p "$1/run/lock"
|
||||
}
|
||||
|
||||
chroot_teardown() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue