mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-22 10:46:31 +00:00
chore: encode complete paths to patched file in patches/ (#1987)
So that the build system doesn't need to know in advance at which directory the paths needs to be applied. This will make it easier to add patches support to the Concourse pipelines. Change-Type: patch Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This commit is contained in:
parent
f932e947e0
commit
b357047e3a
2
Makefile
2
Makefile
@ -214,7 +214,7 @@ $(BUILD_DIRECTORY)/$(APPLICATION_NAME)-cli-$(APPLICATION_VERSION)-$(PLATFORM)-$(
|
|||||||
-x $@ \
|
-x $@ \
|
||||||
-t node \
|
-t node \
|
||||||
-s "$(PLATFORM)"
|
-s "$(PLATFORM)"
|
||||||
git apply --directory $@/node_modules/lzma-native patches/cli/lzma-native-index-static-addon-require.patch
|
patch --directory=$@ --force --strip=1 --ignore-whitespace < patches/lzma-native-index-static-addon-require.patch
|
||||||
cp -r lib $@
|
cp -r lib $@
|
||||||
cp package.json $@
|
cp package.json $@
|
||||||
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
diff --git a/index.js b/index.js
|
--- b/node_modules/lzma-native/index.js 2018-01-23 14:37:50.000000000 -0400
|
||||||
index 1e7c766..e42c513 100644
|
+++ a/node_modules/lzma-native/index.js 2018-01-23 14:37:00.000000000 -0400
|
||||||
--- a/index.js
|
|
||||||
+++ b/index.js
|
|
||||||
@@ -7,11 +7,8 @@ var extend = require('util-extend');
|
@@ -7,11 +7,8 @@ var extend = require('util-extend');
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
Loading…
x
Reference in New Issue
Block a user