From fec7af121a8afda3922fe8da34e7e215c817e701 Mon Sep 17 00:00:00 2001 From: Greg Szabo Date: Sat, 29 Jul 2017 19:57:25 +0000 Subject: [PATCH] Fixes for build --- build/basecoin/DEBIAN/postinst | 2 +- build/ethermint/DEBIAN/postinst | 2 +- build/gaia/DEBIAN/postinst | 2 +- build/trackomatron/DEBIAN/postinst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/basecoin/DEBIAN/postinst b/build/basecoin/DEBIAN/postinst index a8dd0c151..9a06d6e3f 100644 --- a/build/basecoin/DEBIAN/postinst +++ b/build/basecoin/DEBIAN/postinst @@ -20,12 +20,12 @@ set -e case "$1" in configure) chown basecoin.basecoin /etc/basecoin - chown basecoin.basecoin /etc/basecoin/tendermint sudo -Hu basecoin basecoin init --home /etc/basecoin 2B24DEE2364762300168DF19B6C18BCE2D399EA2 #The above command generates a genesis.json file that contains validators. This is wrong, the validator part should be empty. https://github.com/tendermint/basecoin/issues/124 sudo -Hu basecoin tendermint init --home /etc/basecoin/tendermint #The above command might need some kind of additional option in the future. https://github.com/tendermint/tendermint/issues/542 chmod 755 /etc/basecoin/tendermint + chown basecoin.basecoin /etc/basecoin/tendermint systemctl daemon-reload ;; diff --git a/build/ethermint/DEBIAN/postinst b/build/ethermint/DEBIAN/postinst index 0e0fc286b..90739f818 100644 --- a/build/ethermint/DEBIAN/postinst +++ b/build/ethermint/DEBIAN/postinst @@ -21,13 +21,13 @@ case "$1" in configure) chown ethermint.ethermint /etc/ethermint chown ethermint.ethermint /etc/ethermint/genesis.json - chown ethermint.ethermint /etc/ethermint/tendermint chown ethermint.ethermint /etc/ethermint/keystore chown ethermint.ethermint /etc/ethermint/keystore/UTC--2016-10-21T22-30-03.071787745Z--7eff122b94897ea5b0e2a9abf47b86337fafebdc sudo -Hu ethermint /usr/bin/ethermint --datadir /etc/ethermint init /etc/ethermint/genesis.json sudo -Hu ethermint tendermint init --home /etc/ethermint/tendermint + chown ethermint.ethermint /etc/ethermint/tendermint chmod 755 /etc/ethermint/tendermint systemctl daemon-reload diff --git a/build/gaia/DEBIAN/postinst b/build/gaia/DEBIAN/postinst index ee6c7e855..e1b606cb8 100644 --- a/build/gaia/DEBIAN/postinst +++ b/build/gaia/DEBIAN/postinst @@ -20,13 +20,13 @@ set -e case "$1" in configure) chown gaia.gaia /etc/gaia - chown gaia.gaia /etc/gaia/tendermint sudo -Hu gaia gaia init --home /etc/gaia 2B24DEE2364762300168DF19B6C18BCE2D399EA2 #The above command generates a genesis.json file that contains validators. This is wrong, the validator part should be empty. https://github.com/tendermint/basecoin/issues/124 sudo -Hu gaia tendermint init --home /etc/gaia/tendermint #The above command might need some kind of additional option in the future. https://github.com/tendermint/tendermint/issues/542 chmod 755 /etc/gaia/tendermint + chown gaia.gaia /etc/gaia/tendermint systemctl daemon-reload ;; diff --git a/build/trackomatron/DEBIAN/postinst b/build/trackomatron/DEBIAN/postinst index 3599616e5..9aac7fc78 100644 --- a/build/trackomatron/DEBIAN/postinst +++ b/build/trackomatron/DEBIAN/postinst @@ -20,12 +20,12 @@ set -e case "$1" in configure) chown trackomatron.trackomatron /etc/trackomatron - chown trackomatron.trackomatron /etc/trackomatron/tendermint sudo -Hu trackomatron tracko init --home /etc/trackomatron 2B24DEE2364762300168DF19B6C18BCE2D399EA2 #The above command generates a genesis.json file that contains validators. This is wrong, the validator part should be empty. https://github.com/tendermint/basecoin/issues/124 sudo -Hu trackomatron tendermint init --home /etc/trackomatron/tendermint #The above command might need some kind of additional option in the future. https://github.com/tendermint/tendermint/issues/542 + chown trackomatron.trackomatron /etc/trackomatron/tendermint chmod 755 /etc/trackomatron/tendermint systemctl daemon-reload