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
48
pkgs/tools/misc/rcm/fix-rcmlib-path.patch
Normal file
48
pkgs/tools/misc/rcm/fix-rcmlib-path.patch
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
diff --git a/bin/lsrc.in b/bin/lsrc.in
|
||||
index fcf5fbe..119d659 100755
|
||||
--- a/bin/lsrc.in
|
||||
+++ b/bin/lsrc.in
|
||||
@@ -1,6 +1,6 @@
|
||||
#!@SHELL@
|
||||
|
||||
-: ${RCM_LIB:=$(dirname "$0")/../share/rcm}
|
||||
+RCM_LIB=@rcm@/share/rcm
|
||||
. "$RCM_LIB/rcm.sh"
|
||||
|
||||
pushdir() {
|
||||
diff --git a/bin/mkrc.in b/bin/mkrc.in
|
||||
index da22a63..a6bb0ad 100755
|
||||
--- a/bin/mkrc.in
|
||||
+++ b/bin/mkrc.in
|
||||
@@ -1,6 +1,6 @@
|
||||
#!@SHELL@
|
||||
|
||||
-: ${RCM_LIB:=$(dirname "$0")/../share/rcm}
|
||||
+RCM_LIB=@rcm@/share/rcm
|
||||
. "$RCM_LIB/rcm.sh"
|
||||
|
||||
destination() {
|
||||
diff --git a/bin/rcdn.in b/bin/rcdn.in
|
||||
index ae7aad8..c210599 100755
|
||||
--- a/bin/rcdn.in
|
||||
+++ b/bin/rcdn.in
|
||||
@@ -1,6 +1,6 @@
|
||||
#!@SHELL@
|
||||
|
||||
-: ${RCM_LIB:=$(dirname "$0")/../share/rcm}
|
||||
+RCM_LIB=@rcm@/share/rcm
|
||||
. "$RCM_LIB/rcm.sh"
|
||||
|
||||
remove_link() {
|
||||
diff --git a/bin/rcup.in b/bin/rcup.in
|
||||
index bdae664..2076f53 100755
|
||||
--- a/bin/rcup.in
|
||||
+++ b/bin/rcup.in
|
||||
@@ -1,6 +1,6 @@
|
||||
#!@SHELL@
|
||||
|
||||
-: ${RCM_LIB:=$(dirname "$0")/../share/rcm}
|
||||
+RCM_LIB=@rcm@/share/rcm
|
||||
. "$RCM_LIB/rcm.sh"
|
||||
|
||||
print_ln_v() {
|
||||
Loading…
Add table
Add a link
Reference in a new issue