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
13
pkgs/os-specific/linux/kernel/request-key-helper.patch
Normal file
13
pkgs/os-specific/linux/kernel/request-key-helper.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/security/keys/request_key.c b/security/keys/request_key.c
|
||||
index 957b9e3e1492..5436a0d8b81d 100644
|
||||
--- a/security/keys/request_key.c
|
||||
+++ b/security/keys/request_key.c
|
||||
@@ -114,7 +114,7 @@ static int call_usermodehelper_keys(const char *path, char **argv, char **envp,
|
||||
*/
|
||||
static int call_sbin_request_key(struct key *authkey, void *aux)
|
||||
{
|
||||
- static char const request_key[] = "/sbin/request-key";
|
||||
+ static char const request_key[] = "/run/current-system/sw/bin/request-key";
|
||||
struct request_key_auth *rka = get_request_key_auth(authkey);
|
||||
const struct cred *cred = current_cred();
|
||||
key_serial_t prkey, sskey;
|
||||
Loading…
Add table
Add a link
Reference in a new issue