Merge pull request #42787 from ambrop72/blacklist-fix

kmod-blacklist-ubuntu: Fix typo from commit "do not blacklist i2c_i801"
This commit is contained in:
Peter Hoeg 2018-07-16 17:24:15 +08:00 committed by GitHub
commit 6c44deb181
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ in stdenv.mkDerivation {
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
sed -i '/^blacklist i2c_i801/d' $out/modprobe.conf
done
substituteInPlace "$out"/modprobe.conf \