linuxPackages.tuxedo-drivers: 4.14.0 -> 4.15.4 (#441147)

This commit is contained in:
Ramses
2025-09-13 08:34:16 +00:00
committed by GitHub
2 changed files with 29 additions and 3 deletions

View File

@@ -7,22 +7,34 @@
kmod,
pahole,
gitUpdater,
udevCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tuxedo-drivers-${kernel.version}";
version = "4.14.0";
version = "4.15.4";
src = fetchFromGitLab {
group = "tuxedocomputers";
owner = "development/packages";
repo = "tuxedo-drivers";
rev = "v${finalAttrs.version}";
hash = "sha256-79YZaK8WrHOxSUJWxi4lc+foh4xz3EgRnjw+OrL8yqU=";
hash = "sha256-WJeju+czbCw03ALW7yzGAFENCEAvDdKqHvedchd7NVY=";
};
patches = [ ./no-cp-etc-usr.patch ];
postInstall = ''
echo "Running postInstallhook"
install -Dm 0644 -t $out/etc/udev/rules.d usr/lib/udev/rules.d/*
'';
buildInputs = [ pahole ];
nativeBuildInputs = [ kmod ] ++ kernel.moduleBuildDependencies;
nativeBuildInputs = [
kmod
udevCheckHook
]
++ kernel.moduleBuildDependencies;
makeFlags = kernelModuleMakeFlags ++ [
"KERNELRELEASE=${kernel.modDirVersion}"
@@ -30,6 +42,8 @@ stdenv.mkDerivation (finalAttrs: {
"INSTALL_MOD_PATH=${placeholder "out"}"
];
doInstallCheck = true;
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};

View File

@@ -0,0 +1,12 @@
diff --git a/Makefile b/Makefile
index 75a6bc1..6021d42 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,6 @@ all:
install: all
make -C $(KDIR) M=$(PWD) $(MAKEFLAGS) modules_install
- cp -r etc usr /
clean:
make -C $(KDIR) M=$(PWD) $(MAKEFLAGS) clean