This website requires JavaScript.
Explore
Help
Register
Sign In
sig_cloud
/
diskimage-builder
Watch
11
Star
0
Fork
0
You've already forked diskimage-builder
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
0f224d3ae6
diskimage-builder
/
diskimage_builder
/
elements
/
ubuntu-minimal
/
element-deps
3 lines
29 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Split the debootstrap functions into an element debootstrap is not debian or ubuntu specific. We can make a debootstrap element that knows how to do all of the things, and then a debian-minimal and ubuntu-minimal image that use it. Finally, make the debian element simply be a collection of the extra things we do to make it look like a cloud-init based cloud image. Change-Id: Iaf46c8e61bf1cac9a096cbfd75d6d6a9111b701e
2015-03-22 20:11:55 +00:00
debootstrap
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-01 17:38:20 +00:00
package-installs
Reference in New Issue
Copy Permalink