libedgetpu: use dedicated coral group

This commit is contained in:
Martin Weinelt 2024-11-21 14:54:58 +01:00
parent b9dec6d59f
commit aa0a26280d
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

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"