Skip to content

A quick & dirty shell script for creating a minimal chroot environment.

Notifications You must be signed in to change notification settings

cauchy-schwarz-inequality/chroot-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Chroot Setup

This is a quick & dirty script used to create a minimal chroot environment for experimentation.

Run

chmod +x env_setup

to make it executable, and

./env_setup $CHROOT_DIR [chroot]

to run the script, where $CHROOT_DIR is the absolute path to your environment root, and chroot is the string "chroot".

If "chroot" is passed, the script will invoke sudo chroot $CHROOT_DIR.

Why not use debootstrap?

I do. I made this mostly for finer grained control.

TODO

  • Teardown script
  • Code cleanup

About

A quick & dirty shell script for creating a minimal chroot environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages