linux-initrd: Improve check of initrd modules.
authorLudovic Courtès <ludo@gnu.org>
Sun, 29 Jul 2018 15:53:12 +0000 (17:53 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 29 Jul 2018 16:50:28 +0000 (18:50 +0200)
commitd2a1cf45f74f4be67bd51068fc531a1b8ae54536
tree03dc315989ab663d25e7fe1de23b5a4992bc55b3
parent5b6823907216d6c6c98fdb962f2005f154328878
linux-initrd: Improve check of initrd modules.

Previously we would not strip the ".ko" suffix if present.

* gnu/build/linux-modules.scm (file-name->module-name): Export.
* gnu/system/mapped-devices.scm (check-device-initrd-modules): Use
'file-name->module-name' instead of 'normalize-module-name'.
gnu/build/linux-modules.scm
gnu/system/mapped-devices.scm