|GERMINATE-UPDATE-METAPACKAGE(1)||General Commands Manual||GERMINATE-UPDATE-METAPACKAGE(1)|
germinate-update-metapackageassists 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”).
- Don't modify debian/changelog.
- Check out seeds from a version control system rather than fetching them
directly from a URL. Requires
git, as appropriate, to be installed. The version control system to use is guessed from the
seed_baseURL defined in the configuration file, trying
bzrif 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.
- Check out seeds from the
bzrbranch defined in the configuration file rather than fetching them directly from the URL defined there. Requires
bzrto be installed. This option is deprecated and is retained for backward compatibility; use
- Output the package lists in the specified directory.
CONFIGURATION FILE¶update.cfg uses Python's ConfigParser configuration file syntax, supporting interpolation as defined by SafeConfigParser. It should have a
DEFAULTsection with a
distkey indicating the default distribution, and a dist section (corresponding to that distribution). It may also have a dist
/bzrsection which can override the
seed_distvalues from the dist section if the
-bzroption respectively is given. For backward compatibility, if
-vcsis given, then dist
/bzrwill also be consulted.
The following keys are recognised in distribution sections:
- Pass these seeds to the germinator for processing.
- Generate metapackages for these seeds. If not specified, the value of
seedsis used. This option is usually no longer necessary now that the value of
seedsis automatically expanded for seed inheritance.
- Generate metapackages for these architectures.
- Use this URL as the default base for fetching package indices from the
archive; for examples of valid URLs, see
deblines in /etc/apt/sources.list, or the MIRROR argument to debootstrap(8).
- Use this URL as the base for fetching package indices from the archive for
the specified architecture. For each architecture being processed, at
least one of
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.
- The base URL for fetching seeds. To try multiple URLs (for example if a seed branch includes another branch stored at a different location), separate them with commas or spaces.
- The tail of the URL for fetching seeds. This will be appended to
seed_base. You will often want to interpolate the value of
distinto this value using ConfigParser's
%(dist)ssyntax. If not specified, the value of
- The distributions from which to fetch package indices. Listing multiple
distributions may be useful, for example, when examining both a released
distribution and its security updates. If not specified, the value of
- The archive components from which to fetch package indices.
seed_map/seed (optional, deprecated)
- The seeds to be used as input for the metapackage corresponding to
seed. If specified, this will typically be the list
of seeds from which seed inherits, plus
seed itself. This option is usually no longer
necessary; use a
Task-Seedsheader in the seed file instead.
metapackage_map/seed (optional, deprecated)
- The metapackage name to output for seed. If not
germinate-update-metapackagewill 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-Metapackageheader in the seed file instead.
EXAMPLE¶At the time of writing, the following configuration file is used to generate the
kubuntu-metasource 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
AUTHORS¶Gustavo Franco ⟨firstname.lastname@example.org⟩
Colin Watson ⟨email@example.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
|July 18, 2007||Ubuntu|