fix kernels

This commit is contained in:
Charlotte 🦝 Delenk 2023-06-25 16:58:48 +01:00
parent b64f8ae10a
commit 98aeca0067
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
3 changed files with 79 additions and 91 deletions

View file

@ -7,7 +7,7 @@
modDirVersion = "6.3.0";
source = builtins.fromJSON (builtins.readFile ./source.json);
in
(buildLinux (args
buildLinux (args
// {
inherit modDirVersion;
version = "6.3.0+${source.rev}";
@ -25,11 +25,4 @@ in
DYNAMIC_FTRACE = yes;
FTRACE = yes;
};
}))
.overrideAttrs (_: {
passthru.updateScript = [
../../scripts/update-git.sh
"https://github.com/koverstreet/bcachefs"
"linux/bcachefs/source.json"
];
})

View file

@ -9,7 +9,6 @@
modDirVersion = "6.4.0-rc6";
source = builtins.fromJSON (builtins.readFile ./source.json);
in
(
buildLinux (args
// {
inherit modDirVersion;
@ -91,12 +90,3 @@ in
};
}
// (args.argsOverride or {}))
)
.overrideAttrs (_: {
passthru.updateScript = [
../../scripts/update-git.sh
"https://github.com/starfive-tech/linux"
"linux/bcachefs/source.json"
"--rev refs/heads/JH7110_VisionFive2_upstream"
];
})

5
update.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
./scripts/update-git.sh https://github.com/starfive-tech/linux linux/vf2/source.json "--rev refs/heads/JH7110_VisionFive2_upstream"
./scripts/update-git.sh https://github.com/koverstreet/bcachefs linux/bcachefs/source.json
nix-shell ./scripts/update.sh