diskimage-builder/elements
Gregory Haynes 45df304d48 Perform package install outside of debootstrap
Debootstrap only supports one apt repository to install packages from.
As a result, we do not consider the updates repo during debootstrap
causing us install a second kernel when we do an apt-get dist-upgrade
during build.

Lets use debootstrap to get us a minimal chroot, then add our repos and
install the correct packages from the start.

We also have to reorder the dpkg root.d scripts which configure apt so
they run before we perform our package installs.

Change-Id: I6a592db6f0a01d3b19d8e0786e63f1315a1ef647
Closes-Bug: #1637516
2016-11-30 15:16:46 +11:00
..
apt-conf Update apt-conf elements README from free text to table formatting 2015-10-08 17:12:46 -07:00
apt-preferences Update apt-preferences element README from free text to table formatting 2015-10-08 17:14:16 -07:00
apt-sources
architecture-emulation-binaries
baremetal
base Remove unnecessary dkms install from base 2016-09-12 11:42:51 -05:00
bootloader
cache-url
centos Don't set tracing in environment files 2016-10-20 13:58:00 +11:00
centos7
centos-minimal
cleanup-kernel-initrd
cloud-init start cloud-init-local in the boot runlevel 2016-10-07 11:16:28 -05:00
cloud-init-datasources
cloud-init-disable-resizefs
cloud-init-nocloud Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
debian Explain difference between two envvars 2016-08-25 10:07:29 +08:00
debian-minimal Perform package install outside of debootstrap 2016-11-30 15:16:46 +11:00
debian-systemd Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
debian-upstart
debootstrap Perform package install outside of debootstrap 2016-11-30 15:16:46 +11:00
deploy
deploy-baremetal Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00
deploy-ironic
deploy-kexec Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00
deploy-targetcli Optimize Python install in deploy-targetcli 2015-06-22 13:19:14 -05:00
deploy-tgtadm
devuser Fix devuser pubkey defaults 2015-10-13 17:54:09 -07:00
dhcp-all-interfaces
dib-init-system
dib-python
dib-run-parts/root.d
disable-selinux/post-install.d
dkms Make dkms element depend on dkms package 2015-12-26 22:07:19 +00:00
docker
dpkg Perform package install outside of debootstrap 2016-11-30 15:16:46 +11:00
dracut-network
dracut-ramdisk
dynamic-login
element-manifest Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
enable-serial-console Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
epel Fix up EPEL element 2016-04-15 12:37:22 +10:00
fedora Make Fedora 24 the default 2016-07-08 09:15:08 -07:00
fedora-minimal Add tests for building *-minimal images 2016-08-22 16:53:32 +00:00
gentoo Update portage only if needed 2016-08-22 07:14:25 -05:00
growroot elements: growroot: Add SUSE package mappings 2016-10-19 16:16:35 +01:00
grub2
hpdsa
hwburnin Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00
hwdiscovery Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00
ilo Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
install-bin Add install-bin element 2016-05-13 11:52:23 +10:00
install-static
install-types
ironic-agent Merge "Allow ramdisk-create to run without $USER set" 2016-09-23 06:46:31 +00:00
ironic-discoverd-ramdisk dmidecode does not exist for ppc64/ppc64el 2016-06-29 16:51:46 -05:00
iso Add a best-effort sudo safety check 2016-05-09 15:41:38 +10:00
local-config Export die() function 2016-05-27 09:25:22 +10:00
manifests
mellanox
modprobe-blacklist Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
no-final-image
oat-client Add oat-client element 2015-06-26 09:57:12 +08:00
opensuse Add opensuse-minimal element 2016-10-05 09:39:29 +01:00
opensuse-minimal Add opensuse-minimal element 2016-10-05 09:39:29 +01:00
package-installs package-installs: add list to arch and "not-arch" list 2016-07-01 21:31:59 +02:00
partitioning-sfdisk
pip-and-virtualenv
pip-cache
pkg-map
posix Add new posix element. 2016-03-20 10:42:34 -07:00
proliant-tools Fix proliant-tools dependencies 2016-07-20 14:50:21 -07:00
pypi
ramdisk Merge "Add element ubuntu-signed to provide signed kernel" 2015-04-28 11:02:44 +00:00
ramdisk-base
rax-nova-agent
redhat-common Remove RedHat grub workaround install 2016-10-25 15:52:27 +11:00
rhel Add a best-effort sudo safety check 2016-05-09 15:41:38 +10:00
rhel7 Run RHEL system unregister element earlier 2016-06-22 17:10:04 +02:00
rhel-common Disabling all previous repos registered in the system 2016-09-27 11:47:05 +02:00
rpm-distro
runtime-ssh-host-keys Add pkg-map for gentoo to runtime-ssh-host-keys 2016-10-06 11:57:34 -05:00
select-boot-kernel-initrd
selinux-permissive Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
serial-console Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
simple-init
source-repositories elements: source-repositories: Add git package mapping for SUSE 2016-10-19 17:53:01 +01:00
stable-interface-names Standarise tracing for scripts 2015-02-12 10:41:32 +11:00
svc-map Initial add of gentoo support for diskimage-builder 2016-01-12 19:15:00 -06:00
uboot
ubuntu Set DIB_RELEASE in ubuntu element 2015-03-04 23:11:27 +00:00
ubuntu-core Merge "Make ubuntu-core support releases" 2016-07-06 23:49:31 +00:00
ubuntu-minimal Perform package install outside of debootstrap 2016-11-30 15:16:46 +11:00
ubuntu-signed
vm Merge "Export die() function" 2016-06-07 01:00:50 +00:00
yum Turn down yum install-packages 2016-10-20 15:19:31 +11:00
yum-minimal Merge "Add libselinux-python to yum-minimal" 2016-09-20 06:23:34 +00:00
zypper
zypper-minimal Add zypper-minimal element 2016-10-05 09:27:17 +01:00