.. -*- coding: utf-8; indent-tabs-mode: nil; -*-

ftjail-build-etcupdate-current-tmpl
===================================

Synopsis
--------

**ftjail build-etcupdate-current-tmpl** `directory` `tarball`


Description
-----------

Build a tarball in `tarball` of a "current" tree from the template
mounted at `directory`.

This tarball can be used by the default and extract modes of
:command:`etcupdate`. Using a tarball can allow :command:`etcupdate`
to perform a merge without requiring a source tree that matches the
currently installed world.  The tarball argument specifies the name of
the file to create.  The file will be a :manpage:`tar(5)` file compressed with
:manpage:`bzip2(1)`.

Within `directory` the default database locations are assumed. They are
:file:`{directory}/var/db/etcupdate/current`.


Environment
-----------

All environment variables that affect :manpage:`tar(1)` are effective also.


See Also
--------

:manpage:`ftjail(8)`, :manpage:`etcupdate(8)`,
:manpage:`tar(1)`, :manpage:`tar(5)`
