]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
Support old version of module-init-tools
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Wed, 9 Jun 2010 08:36:05 +0000 (10:36 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 9 Jun 2010 08:46:38 +0000 (10:46 +0200)
commitecf42850c37a42f57d2f4a1f60884b01d863f0b6
treed094578c04066e62d9078265e6d5e80f4c53c8c5
parent2974f382f8e2fe201b94c49f9329c82a341ef070
Support old version of module-init-tools

modprobe included in version prior to 3.7 of module-init-tools doesn't
have -d | --dirname option which allows to give a prefix other than
'/' for kernel modules path. Dracut assumes existence of that
option and uses it even with default '/'. The patch passes -d option
only if it's different from default and also checks module-init-tools
version if user changes the prefix by --kmoddir Dracut option.
dracut
dracut-functions