]> git.ipfire.org Git - thirdparty/dracut.git/commit
dracut.sh: check kmoddir is properly formed
authorDaniel Cordero <dracut@0xdc.io>
Fri, 24 Jan 2020 16:14:25 +0000 (16:14 +0000)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 27 Jan 2020 08:02:46 +0000 (09:02 +0100)
commitf668e7174e691869d00fcc94090ea85d3defe686
tree92fe32a61003415cfd05b08643f452cf819c5212
parent1bef2934d7f02c39f3220a794592db190e478a45
dracut.sh: check kmoddir is properly formed

Due to the way dracut-install handles modules from custom kmoddirs, add
a test that ensures the kmoddir argument seems sane.

In addition to erroring out, provide some guidance on how to proceed, as
well as a method of skipping the test via environment variable.
dracut.sh