Manuel Torrinha a38ac762f1 Fixes DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE matching when empty
- DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE matches when it is empty or not
 set and DIB_DISTRIBUTION_MIRROR is being used. Checking for it being 
 set and not empty solves this.
 - Normalizing bash conditionals for readability

Closes-Bug: #1808359
Change-Id: I87853fcda4c8b29a3f1720a2778debeb3acc3a53
Signed-off-by: Manuel Torrinha <manuel.torrinha@tecnico.ulisboa.pt>
2019-08-09 10:26:48 +00:00
..
2018-05-24 10:19:59 +00:00
2018-05-18 14:47:20 +10:00
2017-04-05 13:11:22 +10:00

ubuntu

Use Ubuntu cloud images as the baseline for built disk images.

Overrides:

  • To use a non-default URL for downloading base Ubuntu cloud images, use the environment variable DIB_CLOUD_IMAGES
  • To download a non-default release of Ubuntu cloud images, use the environment variable DIB_RELEASE. This element will export the DIB_RELEASE variable.
  • Use DIB_DISTRIBUTION_MIRROR to override the sources.list with an alternative mirror
  • Setting DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE to an extended-regexp (i.e. the argument to the =~ bash comparitor) which, when matched, will not set that line to the DIB_DISTRIBUTION_MIRROR. For example, if your local mirror does not mirror the universe and multiverse components, set this to (universe|multiverse)
  • Setting DIB_DISTRIBUTION_MIRROR_UBUNTU_INSECURE updates apt settings to allow insecure/unuthenticated repositories.