GERMINATE-UPDATE-METAPACKAGE(1) | General Commands Manual | GERMINATE-UPDATE-METAPACKAGE(1) |
germinate-update-metapackage
—
update a set of metapackages generated from
seeds
germinate-update-metapackage |
[--vcs ]
[--output-directory dir]
[dist] |
germinate-update-metapackage
assists with
the construction and update of “metapackages” (packages
consisting solely of a list of dependencies) from a list of seed packages.
It updates binary package stanzas in debian/control
to reflect the current contents of the seeds, and updates
debian/changelog with a description of the changes
it made.
germinate-update-metapackage
requires a
configuration file, called update.cfg, in the
current directory. The format is described below.
If a non-option argument is given, it specifies the distribution for which metapackages should be generated (e.g. “unstable”).
--nodch
--vcs
bzr
or
git
, as appropriate, to be installed. The version
control system to use is guessed from the
seed_base
URL defined in the configuration file,
trying git
then bzr
if the
URL is ambiguous. For git
, the part after the
rightmost ‘.’ character of
seed_dist
, if any, is treated as the branch name
to check out; this rather strange style is for backward
compatibility.--bzr
bzr
branch defined in the
configuration file rather than fetching them directly from the URL defined
there. Requires bzr
to be installed. This option
is deprecated and is retained for backward compatibility; use
--vcs
instead.-o
,
--output-directory
dirupdate.cfg uses Python's ConfigParser
configuration file syntax, supporting interpolation as defined by
SafeConfigParser. It should have a DEFAULT
section
with a dist
key indicating the default distribution,
and a dist section (corresponding to that
distribution). It may also have a
dist/vcs
or
dist/bzr
section which can
override the seed_base
and
seed_dist
values from the dist
section if the --vcs
or
--bzr
option respectively is given. For backward
compatibility, if --vcs
is given, then
dist/bzr
will also be
consulted.
The following keys are recognised in distribution sections:
seeds
(mandatory)output_seeds
(optional, deprecated)seeds
is used. This option is usually no longer
necessary now that the value of seeds
is
automatically expanded for seed inheritance.architectures
(mandatory)archive_base/default
(optional)deb
lines
in /etc/apt/sources.list, or the
MIRROR argument to
debootstrap(8).archive_base/
arch
(optional)archive_base/default
and
archive_base/
arch must be
present. To try multiple URLs, separate them with commas or spaces; the
newest version of each package across all archives will win. Note that
debootstrap(8) will only use the first archive.seed_base
(mandatory)seed_dist
(optional)seed_base
. You will often want to interpolate the
value of dist
into this value using ConfigParser's
%(dist)s
syntax. If not specified, the value of
dist
is used.dists
(optional)dist
is used.components
(mandatory)seed_map/
seed
(optional, deprecated)Task-Seeds
header in the seed
file instead.metapackage_map/
seed
(optional, deprecated)germinate-update-metapackage
will look
for the name of the source package in which it is being run, remove
"meta" from the end, and append the seed name. This option is
usually no longer necessary; use a
Task-Metapackage
header in the seed file
instead.At the time of writing, the following configuration file is used
to generate the kubuntu-meta
source package in the
Ubuntu archive:
[DEFAULT] dist: bionic [bionic] seeds: desktop full active architectures: i386 amd64 powerpc armhf arm64 ppc64el seed_base: http://people.canonical.com/~ubuntu-archive/seeds/ seed_dist: kubuntu.%(dist)s archive_base/default: http://archive.ubuntu.com/ubuntu/ archive_base/ports: http://ports.ubuntu.com/ubuntu-ports/ archive_base/powerpc: %(archive_base/ports)s archive_base/armhf: %(archive_base/ports)s archive_base/arm64: %(archive_base/ports)s archive_base/ppc64el: %(archive_base/ports)s components: main restricted universe [bionic/bzr] seed_base: bzr+ssh://bazaar.launchpad.net/~kubuntu-dev/ubuntu-seeds/ bzr+ssh://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/ seed_dist: kubuntu.%(dist)s
Gustavo Franco
⟨stratus@debian.org⟩
Colin Watson
⟨cjwatson@canonical.com⟩
germinate-update-metapackage
is copyright
© 2004, 2005, 2006, 2007, 2008 Canonical Ltd.
and copyright © 2006 Gustavo Franco. See the
GNU General Public License version 2 or later for copying conditions. A copy
of the GNU General Public License is available in
/usr/share/common-licenses/GPL.
July 18, 2007 | Ubuntu |