This website requires JavaScript.
Explore
Help
Register
Sign In
sig_cloud
/
diskimage-builder
Watch
2
Star
0
Fork
0
You've already forked diskimage-builder
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
392ebeec68
diskimage-builder
/
diskimage_builder
/
elements
/
ubuntu-minimal
/
element-deps
4 lines
43 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
Move Ubuntu specific use_tempaddr setting to ubuntu-common element By default (during boot) the use_tempaddr is set to <=0 for all up-to date kernels. Only Ubuntu installes a sysctl setting which sets the use_tempaddr to 2 (/etc/sysctl.d/10-ipv6-privacy.conf) [1]. The 80-disable-rfc3041 overwrites this setting and sets use_tempaddr back to 0. Because this only affects Ubuntu it makes sense to move the script to the ubuntu-common element. The other motivation for the move is, to clear the base element that it can be removed. [1] https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1068756 Change-Id: Ibf261818ca8243874fde9eb3650bb65188fa228d Signed-off-by: Andreas Florath <andreas@florath.net>
2017-01-14 15:23:22 +00:00
ubuntu-common
Reference in New Issue
Copy Permalink