libedgetpu: use dedicated coral group

This commit is contained in:
Martin Weinelt
2024-11-22 17:05:53 +01:00
parent b9dec6d59f
commit aa0a26280d
+6
View File
@@ -43,6 +43,12 @@ stdenv.mkDerivation {
})
];
postPatch = ''
# Use dedicated group for coral devices
substituteInPlace debian/edgetpu-accelerator.rules \
--replace-fail "plugdev" "coral"
'';
makeFlags = [
"-f"
"makefile_build/Makefile"