Skip to content

builder/vagrant: Minor cleanups

builder: Minor refactor to compute release components

  • Keep all the source of build information in builder class. Use it in the internal class.

  • Avoid using private method.

Tests:

  • Build amd64 image with --add-release-component=contrib. Build succeeds and image has the 'main contrib' as components in /etc/apt/sources.list.

Signed-off-by: Sunil Mohan Adapa's avatarSunil Mohan Adapa sunil@medhas.org

vagrant: Don't install linux-headers

  • Since the -dkms package which installs source and builds kernel module is no longer needed and installed, linux-headers are not needed too.

  • virtualbox-guest-utils package is installable without explicitly setting non-interactive mode.

Signed-off-by: Sunil Mohan Adapa sunil@medhas.org

Vagrant parts are not tested.

Merge request reports

Loading