Skip to main content

corefs

Build a Core Linux root filesystem.

corefs install <profile> <rootfs> [--mirror <url>]
corefs --help
corefs --version

Commands​

CommandDescription
installFetch, verify and extract the packages <profile> lists into <rootfs>. Nothing is extracted until all of them verify.

Arguments​

ArgumentDescription
<profile>Package list in the repository, e.g. base
<rootfs>Target directory, created if missing

Options​

OptionDescription
--mirror <url>, --mirror=<url>Repository to install from, instead of COREFS_REPO
-h, --helpShow help
-V, --versionShow the version

Environment​

VariableDescription
COREFS_REPORepository to use without --mirror. Default: http://localhost:8000/core
COREFS_CACHEKeep downloads in this directory instead of inside <rootfs>, and don't delete them afterwards
NO_COLORDisable colors

A repository URL can be http://, https:// or file://.

Examples​

corefs install base ./rootfs
corefs install base /mnt --mirror https://mirror.example.com/core
corefs install base ./rootfs --mirror "file://$PWD/repo/core"
warning

Run corefs as root, or the installed files are owned by you.

See also​