diskimage-builder/diskimage_builder/elements/dracut-regenerate
Matthew Thode 97e4627d87
update various gentoo bits
Update an rc-update call to only be made if running openrc instead of
all gentoo profiles (systemd does not have rc-update).

Add python3-pyyaml package mappings.

Update serial console to support multiple arches.

Update open-iscsi and open-isns keywords (looks like upstream merged
some musl fixes).

Update the kernel and initramfs file name globs for the
gentoo-kernel-bin usage.

Change-Id: I259bffed3a3e3f92be2210ead6bdfa383917d457
Signed-off-by: Matthew Thode <mthode@mthode.org>
2020-08-24 10:21:35 -05:00
..
environment.d Add dracut-regenerate elements 2017-05-19 09:43:11 +02:00
extra-data.d Ensure nouveau is blacklisted in initramfs too 2019-10-23 10:16:00 +11:00
finalise.d Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
element-deps Add dracut-regenerate elements 2017-05-19 09:43:11 +02:00
package-installs.yaml Add missing package dependency for yaml 2017-09-13 14:16:41 +02:00
pkg-map update various gentoo bits 2020-08-24 10:21:35 -05:00
README.rst Ensure nouveau is blacklisted in initramfs too 2019-10-23 10:16:00 +11:00

=================
dracut-regenerate
=================
Adds the possibility of regenerating dracut on image build time, giving the
possibility to load extra modules.
It relies on the ``DIB_DRACUT_ENABLED_MODULES`` setting, that will accept
a yaml blob with the following format::

  - name: <module1>
    packages:
      - <package1>
      - <package2>
  - name: <module2>
    packages:
      - <package3>
      - <package4>

By default, this element will bring lvm and crypt modules.

Also adds the ability to copy specific files into /etc/dracut.conf.d directory
to allow any dracut settings to be configured. To achieve that the files to be
copied need to be placed inside an specific dracut.d directory of the element.