Skip to content

Commit

Permalink
Examples: download-*-chroot.sh scripts updated, add some instructions…
Browse files Browse the repository at this point in the history
… at the end of the script
  • Loading branch information
DarkCaster committed Oct 5, 2024
1 parent da4c4a0 commit 3e10b14
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions Examples/download-debian-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,12 @@ if [[ $name = sid || $name = buster || $name = bullseye ]]; then
echo "APT::Sandbox::Seccomp::Allow { \"socket\" };" > "$script_dir/debian_chroot/etc/apt/apt.conf.d/99-sandboxer"
echo "APT::Sandbox::Seccomp::Allow { \"connect\" };" >> "$script_dir/debian_chroot/etc/apt/apt.conf.d/99-sandboxer"
fi

echo "download complete"
echo ""
echo "to finish setup or install packages inside sandbox, run:"
echo "sandboxer debian-setup.cfg.lua fakeroot_shell"
echo "this will run bash session wrapped with fakeroot tool with RW access to debian_chroot dir, so you will be able to install packages into the sandbox using apt-get tool"
echo ""
echo "to run regular sandbox with RO access to debian_chroot dir and RW access to dedicated home dir, run:"
echo "sandboxer debian-sandbox.cfg.lua shell"
5 changes: 3 additions & 2 deletions Examples/download-ubuntu-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,9 @@ echo "$fs_layout" > "fs-layout"

echo "download complete"
echo ""
echo "to finish setup or install packages inside ubuntu chroot, run:"
echo "to finish setup or install packages inside sandbox, run:"
echo "sandboxer debian-setup.cfg.lua fakeroot_shell"
echo "this will run bash session wrapped with fakeroot tool with RW access to debian_chroot dir, so you will be able to install packages into the sandbox using apt-get tool"
echo ""
echo "to run regular sandbox inside ubuntu chroot, run:"
echo "to run regular sandbox with RO access to debian_chroot dir and RW access to dedicated home dir, run:"
echo "sandboxer debian-sandbox.cfg.lua shell"

0 comments on commit 3e10b14

Please sign in to comment.