3
0
Fork 0
forked from mirrors/nixpkgs

kmod-blacklist-ubuntu: do not blacklist i2c_i801

This commit is contained in:
Peter Hoeg 2017-03-14 18:06:44 +08:00
parent 0c262a639e
commit 605ee9e92b

View file

@ -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 \