Skip to content

Update box build scripts#52

Open
MasloMaslane wants to merge 2 commits into
masterfrom
box-scripts
Open

Update box build scripts#52
MasloMaslane wants to merge 2 commits into
masterfrom
box-scripts

Conversation

@MasloMaslane

Copy link
Copy Markdown
Member

No description provided.

Comment thread boxes/utils.sh Outdated
Comment thread boxes/utils.sh
Comment on lines +73 to +78
# Remove mount points but keep /tmp and /dev (needed by sio2jail bind mounts)
sudo rm -rf "$chroot_dir/proc"
sudo rm -rf "$chroot_dir/sys"
sudo rm -rf "$chroot_dir/tmp"
sudo mkdir -p "$chroot_dir/proc"
sudo mkdir -p "$chroot_dir/tmp"
sudo mkdir -p "$chroot_dir/dev"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imho /tmp should be cleared before the mkdir, just as /proc is, as there may be some leftover files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants