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
49
pkgs/tools/filesystems/irods/irods_root_path.patch
Normal file
49
pkgs/tools/filesystems/irods/irods_root_path.patch
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
diff -r -u irods-4.2.0.orig/scripts/irods/paths.py irods-4.2.0/scripts/irods/paths.py
|
||||
--- irods-4.2.0.orig/scripts/irods/paths.py 2016-11-15 06:23:55.000000000 +0000
|
||||
+++ irods-4.2.0/scripts/irods/paths.py 2016-12-21 15:17:07.437864606 +0000
|
||||
@@ -10,7 +10,7 @@
|
||||
return os.path.join(root_directory(), 'var', 'lib', 'irods')
|
||||
|
||||
def config_directory():
|
||||
- return os.path.join(root_directory(), 'etc', 'irods')
|
||||
+ return os.path.join(os.path.abspath('/'), 'etc', 'irods')
|
||||
|
||||
def plugins_directory():
|
||||
return os.path.join(root_directory(), 'usr', 'lib', 'irods', 'plugins')
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
def version_path():
|
||||
return os.path.join(
|
||||
- irods_directory(),
|
||||
+ home_directory(),
|
||||
'VERSION.json')
|
||||
|
||||
def hosts_config_path():
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
def log_directory():
|
||||
return os.path.join(
|
||||
- irods_directory(),
|
||||
+ home_directory(),
|
||||
'log')
|
||||
|
||||
def control_log_path():
|
||||
@@ -110,8 +110,7 @@
|
||||
def server_bin_directory():
|
||||
return os.path.join(
|
||||
root_directory(),
|
||||
- 'usr',
|
||||
- 'sbin')
|
||||
+ 'bin')
|
||||
|
||||
def server_executable():
|
||||
return os.path.join(
|
||||
@@ -132,7 +131,7 @@
|
||||
return os.path.join(config_directory(), 'service_account.config')
|
||||
|
||||
def genosauth_path():
|
||||
- return os.path.join(irods_directory(), 'clients', 'bin', 'genOSAuth')
|
||||
+ return os.path.join(home_directory(), 'clients', 'bin', 'genOSAuth')
|
||||
|
||||
def irods_user_and_group_entries():
|
||||
try:
|
||||
Loading…
Add table
Add a link
Reference in a new issue