diskimage-builder/elements/apt-sources
Gregory Haynes b9b6640fa7 Initial element tests
Adding a test function which allows us to use elements to perform
element-specific tests. In order for this to work sanely, also adding
some configuration to our break system so we can assert on negative
tests.

Also adding a test for apt-sources to verify this code actually works.

Change-Id: I378a74255010eca192f5766b653f8a42404be5ea
2015-05-17 02:07:40 +00:00
..
extra-data.d Merge "Fix unbound variables in apt-{preferences,sources}" 2015-03-04 02:49:34 +00:00
test-elements/test-sources Initial element tests 2015-05-17 02:07:40 +00:00
README.rst Improved apt-sources README 2015-04-07 23:05:38 +00:00

===========
apt-sources
===========

Specify an apt sources.list file which is used during image building and then
remains on the image when it is run.

Environment Variables
---------------------

DIB_APT_SOURCES
  :Required: No
  :Default: None (Does not replace sources.list file)
  :Description: Path to a file on the build host which is used in place of
    ``/etc/apt/sources.list``
  :Example: ``DIB_APT_SOURCES=/etc/apt/sources.list`` will use the same
    sources.list as the build host.