LIVE-BUILD(1) Live Systems Project LIVE-BUILD(1)
live-build - Live System Build Components
lb binary-hooks [--verbose]
lb binary-hooks [--help]
lb binary-hooks [--version]
live-build contains the components to build a live system from a con‐
The lb binary-hooks command executes hook files after the binary stage.
lb binary-hooks executes any hook files found in the config/hooks
directory within the configuration directory.
Hook files do not require to have a specific owner nor specific permis‐
sions. They are marked executable by lb binary-hooks automatically when
they are executed.
Hook files must either have the suffix *.hook or *.hook.binary.
Hook files with the suffix *.hook are executed first, hook files with
the suffix *.hook.binary are executed second.
Hook files are executed in alphanumberical order by lb binary-hooks. If
one hook file depends on being run after another, best practise is to
use number prefixes (nnnn, starting with 0001) to ensure the order of
Hook files are copied into the binary/live-build directory by lb
binary-hooks. They are executed from within the binary directory and
can read the configuration directory in live-build/config within the
Warning: hook files are not executed within a chroot but within the
context of the host system in the binary directory. They have root
privileges and access to the all host system resources (devices,
filesystems, network, etc.).
sets verbose option (default: False).
show help message and exit.
show program's version number and exit.
generic hook files.
hook files specific for the binary stage.
directory in which the hook files are executed.
bind mounted configuration directory within the binary directory to
be read by hook files.
directory in which hook files are copied.
More information about live-build and the Live Systems project can be
found on the homepage at <http://live-systems.org/> and in the manual
Bugs can be reported by submitting a bugreport for the live-build pack‐
age in the Bug Tracking System at <http://bugs.debian.org/> or by writ‐
ing a mail to the Live Systems mailing list at
live-build was written by Daniel Baumann <email@example.com>.
4.0~alpha32-1 2014-03-02 LIVE-BUILD(1)