diskimage-builder/elements/dpkg
Pino Toscano 4d716bcbc4 Use package-installs on dpkg-based elements
This allows them to install packages already specified in .yaml files
for them, which are not installed otherwise since the migration to .yaml
files.

Change-Id: Iac8c7eb55116938616e5299b84487cd52e0cbf6f
2015-03-03 09:24:14 +01:00
..
bin Don't try to install if packages is empty 2014-07-16 11:17:40 +01:00
cleanup.d Add some speedups to dpkg 2014-12-10 06:53:17 -08:00
extra-data.d Remove All Rights Reserved 2014-04-25 11:25:10 -07:00
finalise.d Move dpkg manifest creation to finalise 2014-09-29 16:08:15 +01:00
pre-install.d Name 01-install-bin uniquely 2014-06-11 08:16:41 -04:00
root.d Use DIB_IMAGE_CACHE in dpkg element 2015-01-13 14:22:10 -08:00
element-deps Use package-installs on dpkg-based elements 2015-03-03 09:24:14 +01:00
README.rst Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00

====
dpkg
====
Provide dpkg specific image building glue.

The ubuntu element needs customisations at the start and end of the image build
process that do not apply to RPM distributions, such as using the host machine
HTTP proxy when installing packages. These customisations live here, where they
can be used by any dpkg based element.

The dpkg specific version of install-packages is also kept here.

### Environment Variables ###

* DIB\_ADD\_APT\_KEYS: If an extra or updated apt key is needed then define
  DIB\_ADD\_APT\_KEYS with the path to a folder. Any key files inside will be
  added to the key ring before any apt-get commands take place.
* DIB\_APT\_LOCAL\_CACHE: You can use this variable to disable the internal cache
  of the /var/cache/apt/archives directory by setting it to 0. The default is to bind
  mount the $DIB_IMAGE_CACHE/apt/$DISTRO_NAME directory in
  /var/cache/apt/archives, this to cache the .deb files downloaded during the image
  creation.