diskimage-builder/diskimage_builder/elements/debian-minimal
Ian Wienand 79ea63f525 Futher bootloader cleanups
GRUB_OPTS has never been documented as externally available, and is
not used.  Assume it's value to simplify the code.

Move the grub version check separately, as we only support grub2

Remove references to buliding i386 images.  I don't image it works in
any way.

Remove ci.md, which is no longer relevant.

Refactor the test for "building BIOS image on EFI system" consiberably
after these changes.

Change-Id: Ia99687815667c3cf5e82cf21d841d3b1008b8fa9
2022-02-10 15:08:56 +11:00
..
environment.d Fix debian-minimal security repos 2021-09-10 11:40:48 +02:00
root.d Mount /sys RO 2021-07-05 11:45:02 +10:00
test-elements/bullseye-arm64-build-succeeds debian-minimal: remove old testing targets 2022-01-25 15:54:39 +11:00
element-deps Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
element-provides Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
package-installs.yaml Futher bootloader cleanups 2022-02-10 15:08:56 +11:00
README.rst Add security suite name override in debian-minimal 2019-10-15 21:20:02 +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.

.. element_deps::