linux-initrd: Module check correctly handles hyphen vs. underscore.
authorLudovic Courtès <ludo@gnu.org>
Thu, 14 Jun 2018 21:30:59 +0000 (23:30 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 14 Jun 2018 21:34:59 +0000 (23:34 +0200)
commit411959bef30b488928ab2418a064c8a9b0347c41
tree6641ed02d27175437ba749b545a9285e594ebd18
parenta9a685cc0024a4e0dad5d7abd9ca6fb880ae4f8e
linux-initrd: Module check correctly handles hyphen vs. underscore.

Fixes <https://bugs.gnu.org/31714>.
Reported by Vagrant Cascadian <vagrant@debian.org>
and Florian Pelz <pelzflorian@pelzflorian.de>.

* gnu/system/mapped-devices.scm (check-device-initrd-modules): Pass
LINUX-MODULES through 'normalize-module-name'.
* gnu/build/linux-modules.scm (normalize-module-name): Export.
gnu/build/linux-modules.scm
gnu/system/mapped-devices.scm