uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
15
pkgs/tools/security/tpm-luks/signed-ptr.patch
Normal file
15
pkgs/tools/security/tpm-luks/signed-ptr.patch
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
diff --git a/swtpm-utils/getcapability.c b/swtpm-utils/getcapability.c
|
||||
index 7359ba3..17b4324 100644
|
||||
--- a/swtpm-utils/getcapability.c
|
||||
+++ b/swtpm-utils/getcapability.c
|
||||
@@ -480,7 +480,8 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (c) {
|
||||
- char pcrmap[4], *pf;
|
||||
+ char pcrmap[4];
|
||||
+ unsigned char *pf;
|
||||
|
||||
memcpy(pcrmap, ndp.pcrInfoRead.pcrSelection.pcrSelect,
|
||||
ndp.pcrInfoRead.pcrSelection.sizeOfSelect);
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue