pox

command
v2.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2018 License: BSD-3-Clause Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL