sandbox.sh has been broken in puppy for a while but should be fixed now. It is useful tool for building packages and testing applications.
The commit that likely fixed sandbox.sh was:
fix sandbox.sh & sandbox-rw.sh #1739
You can read about sandbox.sh at:
http://distro.ibiblio.org/fatdog/web/faqs/sandbox.html
and as I note, it now should work on puppy but requires further testing before we can close "Issue #1737"
We need testers to test how well sandbox.sh works with different pup modes. To test it replace the sandbox.sh on your system with the one from the latest woof-CE testing branch.
rootfs-skeleton/usr/bin/sandbox.sh
rootfs-skeleton/usr/bin/sandbox-rw.sh
Non Official Modifications (not ready yet, so I strongly recommend not testing these mods yet)
For me further testing of standbox.sh is on the back burner because I'm working on some non-official modifications of sandbox.sh which add considerably more features to it. The reason, is that I want to be able to mount a puppy in a sandbox that is different than the one I'm currently running.
I'be been struggling with the code a bit the last few days but I finally have code that appears to create a sandbox from multiple layers of an external puppy:
sandbox_s243a-debug4.sh
sandbox.awk
This was my test command:
Code: Select all
bash -x /usr/bin/sandbox_s243a_debug4.sh -f ~/sandbox.out -o ~/sandbox.out --maybe-psubdir "Tiny_Puduan/PreAlpha11.4" --no-exit
Code: Select all
-f
input file
-o
output file
--maybe-psubdir
get the layers from a given sub directory if no layers were found via the previous options.
--no-exit
when an output file is specified the layers are just written to the output file and the script will exit before mounting the sandbox unless the --no-exit option is specified.
More info on available options are documented in the comments of:
sandbox_s243a-debug4.sh
As noted above these mods aren't ready yet for general use. When the code gets a bit further along I'll put it on something like github or gitlab, Perhaps as part of my woof-next project or it could be it's own project if people think that is worth while. In the case that it is it's own project, I want to look at ways of expanding functionality. For instance perhaps I could adopt some of the functionality from easy containers but first I need to learn about easy containers.
P.S. What should this thread should be about (suggestions welcome )
I'm not sure if this thread should be about the official sandbox.sh or the non-official modifications of it that I'm working on. Alternatively, I could start a new thread for each of these topics.