Files
diskimage-builder/diskimage_builder/elements/debian-minimal
Clark Boylan 2974d223d2 Drop unnecessary debian security location configuration switch
At some point Debian changed the way that security package repos are
hosted. This affected their location and the apt sources.list
configuration. At this point all modern debian releases use a single
security location. Update DIB to drop the configuration switch so that
we don't have to update it for every release and instead support only
the modern configuration.

People needing to build old versions of debian can use old versions of
DIB.

Change-Id: I8c452c50b1d10a030124b7ac264e494350147b58
Signed-off-by: Clark Boylan <clark.boylan@gmail.com>
2025-09-02 10:05:54 -07:00
..
2021-07-05 11:45:02 +10:00
2024-09-16 20:47:48 +00:00

debian-minimal

The debian-minimal element uses debootstrap for generating a minimal image.

By default this element creates the latest stable release. The exact setting can be found in the element's environment.d directory in the variable DIB_RELEASE. If a different release of Debian should be created, the variable DIB_RELEASE can be set appropriately.

Note that this element installs systemd-sysv as the init system

The element obeys the DIB_DISTRIBUTION_MIRROR argument for mirroring (see debootsrap element documentation). However, the security repositories are separate for Debian, so we can not assume they exist at DIB_DISTRIBUTION_MIRROR. If you do not wish to use the upstream repository (from security.debian.org) override it with DIB_DEBIAN_SECURITY_MIRROR. The security suite name's subpath can also be overridden to something other than /updates with the DIB_DEBIAN_SECURITY_SUBPATH variable.