mkve-cache(1)

MKVE-CACHE(1) General Commands Manual MKVE-CACHE(1)

NAME

mkve-cache - install packages, create fake devices, run hooks, tarify

SYNOPSIS

mkve-cache [options] [packages]

DESCRIPTION

mkve-cache utility interprets its arguments as a list of packages to install to hasher chroot in which you can run specified hooks or commands with rooter access. The specified chroot might be saved into tarball.

OPTIONS

--output=PATH

Specifies PATH where tarball, if created, will be placed. The default path is $TMPDIR/output.tar or $TMPDIR/output.tar.gz, if --gzip option specified.

--hook=HOOK

Specifies a HOOK, which must be presented as an absolute path and be an executable. This hook will be copied and ran in chroot before taring. This option could be specified many times. Hooks will be executed in the same order they was on command line; they also can be intermixed with commands and copies (see description of --command and --copy options).

--command=COMMAND

Specifies a COMMAND, that will be ran with rooter permissions in chroot before taring. This option could be specified many times. Commands will be executed in the same order they was on command line; they also can be intermixed with hooks and copies (see description of --hook and --copy options).

--copy="NAME1 NAME2"

Copy a file from host to hasher chroot. The first name must be valid name in host, the second one in chroot. This option could be specified many times. Copies will be executed in the same order they were appeared on command line; they also can be intermixed with hook and commands (see description of --hook and --command options).

--hsh-workdir=DIR

Specifies a directory to be used by hsh(1). In case --tarify-only option is specified, it must be valid hasher chroot. Otherwise directory will be created if it doesn't exist yet. The default value for this option is $TMPDIR/hasher.

--create-fake-devices

Create additional fake devices (now they are: tty, console, ptmx).

--no-tarify

Do not tarify chroot. This can be useful if you want to run some program, say, hsh-run, manually. See --tarify-only option.

--tarify-only

Do not try to create chroot, to install fake devices or any packages, but only try to tarify specified chroot. This chroot may be any valid hasher chroot.

-z, --gzip
Gzip output tarball.

-q, --quiet
Try to be more quiet.

-v, --verbose
Try to be more verbose.

-V, --version
Print program version and exit.

-h, --help
Show help text and exit.

SEE ALSO

hasher(7), hsh(1), hsh-initroot(1), hsh-install(1), hsh-mkchroot(1), hsh-rmchroot(1), hsh-run(1).

AUTHOR

Written by Anton S. Protopopov <aspsk at altlinux.org>

30 September 2008 ALT Linux Team