forked from mirrors/nixpkgs
kmod-blacklist-ubuntu: do not blacklist i2c_i801
This commit is contained in:
parent
0c262a639e
commit
605ee9e92b
|
@ -16,6 +16,8 @@ in stdenv.mkDerivation {
|
|||
for f in modprobe.d/*.conf; do
|
||||
echo "''\n''\n## file: "`basename "$f"`"''\n''\n" >> "$out"/modprobe.conf
|
||||
cat "$f" >> "$out"/modprobe.conf
|
||||
# https://bugs.launchpad.net/ubuntu/+source/kmod/+bug/1475945
|
||||
sed -i '/^blacklist i2c_801/d' $out/modprobe.conf
|
||||
done
|
||||
|
||||
substituteInPlace "$out"/modprobe.conf \
|
||||
|
|
Loading…
Reference in a new issue