Documentation ¶
Overview ¶
pox builds a portable executable as a squashfs image. It is intended to create files compatible with tinycore tcz files. This could have been a simple program but mksquashfs does not preserve path information. Yeah.
Synopsis:
pox [-d] -[output|o file]
Description:
pox makes portable executables in squashfs format compatible with tcz format. We don't build in the execution code, rather, we set it up so we can use the command itself.
Options:
debug|d: verbose output|o file: output file name (default /tmp/pox.tcz) test|t: run a test by loopback mounting the squashfs and using the first arg as a command to run in a chroot
Example:
pox -d -t /bin/bash /bin/cat /bin/ls /etc/hosts Will build and squashfs, mount it, and drop you into it running bash. You can use ls and cat on /etc/hosts. Simpler example: pox -d -t /bin/ls /etc/hosts will run ls and exit.
Click to show internal directories.
Click to hide internal directories.