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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'one_gadget'

View file

@ -0,0 +1,17 @@
GEM
remote: https://rubygems.org/
specs:
bindata (2.4.4)
elftools (1.1.0)
bindata (~> 2)
one_gadget (1.7.2)
elftools (>= 1.0.2, < 1.2.0)
PLATFORMS
ruby
DEPENDENCIES
one_gadget
BUNDLED WITH
2.1.4

View file

@ -0,0 +1,17 @@
{ lib, bundlerApp, bundlerUpdateScript }:
bundlerApp {
pname = "one_gadget";
gemdir = ./.;
exes = [ "one_gadget" ];
passthru.updateScript = bundlerUpdateScript "one_gadget";
meta = with lib; {
description = "The best tool for finding one gadget RCE in libc.so.6";
homepage = "https://github.com/david942j/one_gadget";
license = licenses.mit;
maintainers = with maintainers; [ artemist nicknovitski ];
platforms = platforms.unix;
};
}

View file

@ -0,0 +1,34 @@
{
bindata = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0kz42nvxnk1j9cj0i8lcnhprcgdqsqska92g6l19ziadydfk2gqy";
type = "gem";
};
version = "2.4.4";
};
elftools = {
dependencies = ["bindata"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0kdf0ck4rzxpd006y09rfwppdrqb3sxww4gzfpv2053yq4mkimbn";
type = "gem";
};
version = "1.1.0";
};
one_gadget = {
dependencies = ["elftools"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "07s2nigjw1yik895gliz3a7ps0m9j5nccq82zwdd30sv740jmf5b";
type = "gem";
};
version = "1.7.2";
};
}