
This seems to miss the exit code of the dracut process, which actualy caused some issues in I8511669e188717494daf2bc1384a6dd346f942a4 where it would have been much clearer to stop after the initramfs generation failed. Add some debug messages, and catch any errors from the final call. Change-Id: I6f89441ec4709f5199535e15a7cc53a3a8af273d
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.