As I mentioned on the old forum, this project is based on the standbox tools available in puppy and fatdog64 which are:
rootfs-skeleton/usr/bin/sandbox.sh
rootfs-skeleton/usr/bin/sandbox-rw.sh
a traditional use for these tools was to build packages for puppy and puppy-like systems:
http://distro.ibiblio.org/fatdog/web/fa ... ckage.html
However, they can be used to run an entire puppy in a chroot environment. It is the latter aim which this project is focused on and as a consequence, it is possible that I could break some of the packaging building testing stuff along the way, which if I happen to break I can fix at a later date. The traditional way to run a puppy this way is to simulate the full install mode and having the top layer as an RW layer.
However, previously I've provided code to help simulate other pup modes but further testing is required. The pupmode can be specified with the flag --pupmode option and one thing that it does is affects how the initrd directory is made. See code:
More recently, I've added the following options:
Code: Select all
-r|--copy-resolv_conf) #Copies resolv.conf into the chroot:
-u|--bind-X11-sockets) #binds the x11 sockets into the proot
-a|--copy-Xauth) #Copies the Xauth file into the chroot
The following option was modified:
Code: Select all
-e|--extra-sfs) add an sfs layer to the chroot via a single sfs file name or a file that lists multipole sfs files.
and I restructured the code so all options are immediately processed rather than delaying the mounts until all arguments are processed. This simplifies the code. The updated code can be found at:
but I haven't copied it yet into the gitlab project since I have to remember how to do that.