From a4594bf073fbea08ecb91c47d0e1ba73240fd934 Mon Sep 17 00:00:00 2001 From: Martin Boehm Date: Wed, 28 Aug 2019 17:26:12 +0200 Subject: [PATCH] Fix ethereum-classic backend package --- configs/coins/ethereum-classic.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/configs/coins/ethereum-classic.json b/configs/coins/ethereum-classic.json index f271c6f9..77a7c8da 100644 --- a/configs/coins/ethereum-classic.json +++ b/configs/coins/ethereum-classic.json @@ -23,8 +23,22 @@ "binary_url": "https://github.com/etclabscore/go-ethereum/releases/download/v6.0.9/geth-classic-v6.0.9-linux.tar.gz", "verification_type": "sha256", "verification_source": "fca005e755ca0840d5679d18af22d15a8f20a0a1f49939ae427f2ac7ed0de1b3", - "extract_command": "tar -C backend -xf", - "exclude_files": [], + "extract_command": "tar -C backend --strip 1 -xf", + "exclude_files": [ + "abigen", + "abigen.sha256", + "bootnode", + "bootnode.sha256", + "disasm", + "disasm.sha256", + "ethtest", + "ethtest.sha256", + "evm", + "evm.sha256", + "geth.sha256", + "rlpdump", + "rlpdump.sha256" + ], "exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/geth --ipcdisable --cache 1024 --nat none --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --port 38337 --ws --wsaddr 0.0.0.0 --wsport {{.Ports.BackendRPC}} --wsorigins \"*\" --rpc --rpcport 8137 -rpcaddr 0.0.0.0 --rpccorsdomain \"*\" 2>>{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'", "logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log", "postinst_script_template": "",