Comment 2 for bug 1637516

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/392253
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=45df304d488a0309fb981a4964238b81a370c358
Submitter: Jenkins
Branch: master

commit 45df304d488a0309fb981a4964238b81a370c358
Author: Gregory Haynes <email address hidden>
Date: Tue Nov 1 10:38:20 2016 -0700

    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