lkl: 2019-10-04 -> 2022-05-18 (#190976)

This commit is contained in:
Yuka 2022-09-14 21:04:46 +02:00 committed by GitHub
parent 1158501e7c
commit 23aff1fce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,15 +3,15 @@
stdenv.mkDerivation rec {
pname = "lkl";
version = "2019-10-04";
version = "2022-05-18";
outputs = [ "dev" "lib" "out" ];
src = fetchFromGitHub {
owner = "lkl";
repo = "linux";
rev = "06ca3ddb74dc5b84fa54fa1746737f2df502e047";
sha256 = "0qjp0r338bwgrqdsvy5mkdh7ryas23m47yvxfwdknfyl0k3ylq62";
rev = "10c7b5dee8c424cc2ab754e519ecb73350283ff9";
sha256 = "sha256-D3HQdKzhB172L62a+8884bNhcv7vm/c941wzbYtbf4I=";
};
nativeBuildInputs = [ bc bison flex python3 ];
@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
# Fix a /usr/bin/env reference in here that breaks sandboxed builds
patchShebangs arch/lkl/scripts
patchShebangs scripts/ld-version.sh
# Fixup build with newer Linux headers: https://github.com/lkl/linux/pull/484
sed '1i#include <linux/sockios.h>' -i tools/lkl/lib/hijack/xlate.c
'';