]> git.ipfire.org Git - thirdparty/dracut.git/commit
dracut-install: install kernel modules to /lib/modules/$kernelversion
authorHarald Hoyer <harald@redhat.com>
Mon, 16 Jan 2017 12:48:46 +0000 (13:48 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 16 Jan 2017 13:27:39 +0000 (14:27 +0100)
commitbe5025bf55ffa8dc84511dcf9ff1d1385d76e731
tree293ba655241eff2993efc023834301745ff982ba
parent7e51a94f5bc6188511593eda9768aae41467ef04
dracut-install: install kernel modules to /lib/modules/$kernelversion

Specifying a different kernel module directory with --kmoddir would
result in the same directory being the destination directory.

Strip everything before the "/lib/modules" for the destination dir.

https://github.com/dracutdevs/dracut/issues/194
install/dracut-install.c