34a196b8e7
The wrong APT config name is used to disable download of translations. It's Acquire::Languages, not APT::Acquire::Languages. Change-Id: Ie0c12d444bab19b4486845944ef51031e9133470 Closes-bug: #1436523 |
||
---|---|---|
.. | ||
bin | ||
cleanup.d | ||
extra-data.d | ||
finalise.d | ||
pre-install.d | ||
root.d | ||
element-deps | ||
README.rst |
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.
- At the end of a dib run we clean the apt cache to keep the image size as small as possible. You can set DIB_DISABLE_APT_CLEANUP=1 if you would like to prevent this.