void-packages/srcpkgs/dracut
Đoàn Trần Công Danh 0a0b0a1f30 dracut: patch for better dash compatibility
Upstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1663651

Steps to reproduce:
- Full disk encryption,
- Luks key is encrypted with gpg
- luks key is embedded in initramfs
- cmdline is: rd.luks.key=/etc/luks/key.gpg:/
- add_dracutmodules+=" dash "
- omit_dracutmodues+=" bash "
- build dracut

Expectation:
- the system should boot with new initramfs

Actual:
- The system failed to pick the key in initramfs
- replace dash by bash and system can pick up the correct key

Root Cause:
There's some bashism inside runtime script,
which uses == instead of = to compare.

While we're at it, also fix template xlint
2019-01-06 17:56:52 -02:00
..
files
patches
template