lh_clean1
Clean up system build directories
Usage
lh_clean [live-helper
options]
[--all]
[--cache]
[--chroot]
[--binary]
[--purge]
[--remove]
[--stage]
[--source]
lh_clean [live-helper
options]
Overview
lh_clean is a high-level command (porcelain) of live-helper, the Debian Live tool suite. It is responsible for cleaning up after a system is built. It removes the system build directories, and removes some other files including stage files, and any detritus left behind by other live-helper commands.
Options
In addition to its specific options, lh_clean also understands all generic live-helper options. See live-helper(7) for a complete list of all generic live-helper options.
-
--all -
removes chroot, binary, stage, and source, cache is kept. This is the default operation and will be processed if no argument is given.
-
--cache -
removes all cache directories.
-
--chroot -
unmounts and removes the chroot directory.
-
--binary -
removes all binary related caches, directories, and stages files.
-
--purge -
removes everything (including cache). The config directory is kept.
-
--remove -
removes everything (including package cache, but not stage cache). The config directory is kept.
-
--stage -
removes all stage files.
-
--source -
removes all source related caches, directories, and stage files.
Homepage
More information about live-helper and the Debian Live project can be found in the homepage at <http://debian-live.alioth.debian.org/> and in the manual at <http://live.debian.net/manual/>.