linux-headers: Update to 3.12.32
We can do this because bootstrap-tools contains an unxz program now (via busybox).
This commit is contained in:
parent
975a822778
commit
cef0bcefc6
@ -4,7 +4,7 @@ assert cross == null -> stdenv.isLinux;
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
version = "3.12.6";
|
version = "3.12.32";
|
||||||
|
|
||||||
kernelHeadersBaseConfig =
|
kernelHeadersBaseConfig =
|
||||||
if cross == null
|
if cross == null
|
||||||
@ -17,8 +17,8 @@ stdenv.mkDerivation {
|
|||||||
name = "linux-headers-${version}";
|
name = "linux-headers-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.bz2";
|
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
|
||||||
sha256 = "1qh6f1az0flfrbkdjx1i9r7yf31ad0gxigax91nd33z2jmd6h4df";
|
sha256 = "1hzws2bf267hfk81ywqcxspkyi1lg56x63izdc0pv1338xcfas53";
|
||||||
};
|
};
|
||||||
|
|
||||||
targetConfig = if cross != null then cross.config else null;
|
targetConfig = if cross != null then cross.config else null;
|
||||||
|
@ -55,4 +55,9 @@ echo "#! $out/bin/sh" > $out/bin/egrep
|
|||||||
echo "exec $out/bin/grep -E \"\$@\"" >> $out/bin/egrep
|
echo "exec $out/bin/grep -E \"\$@\"" >> $out/bin/egrep
|
||||||
echo "#! $out/bin/sh" > $out/bin/fgrep
|
echo "#! $out/bin/sh" > $out/bin/fgrep
|
||||||
echo "exec $out/bin/grep -F \"\$@\"" >> $out/bin/fgrep
|
echo "exec $out/bin/grep -F \"\$@\"" >> $out/bin/fgrep
|
||||||
chmod +x $out/bin/egrep $out/bin/fgrep
|
|
||||||
|
# Provide xz (actually only xz -d will work).
|
||||||
|
echo "#! $out/bin/sh" > $out/bin/xz
|
||||||
|
echo "exec $builder unxz \"\$@\"" >> $out/bin/xz
|
||||||
|
|
||||||
|
chmod +x $out/bin/egrep $out/bin/fgrep $out/bin/xz
|
||||||
|
Loading…
Reference in New Issue
Block a user