Browse Source

Fixes for build

pull/1943/head
Greg Szabo 7 years ago
parent
commit
fec7af121a
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      build/basecoin/DEBIAN/postinst
  2. +1
    -1
      build/ethermint/DEBIAN/postinst
  3. +1
    -1
      build/gaia/DEBIAN/postinst
  4. +1
    -1
      build/trackomatron/DEBIAN/postinst

+ 1
- 1
build/basecoin/DEBIAN/postinst View File

@ -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
;;


+ 1
- 1
build/ethermint/DEBIAN/postinst View File

@ -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


+ 1
- 1
build/gaia/DEBIAN/postinst View File

@ -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
;;


+ 1
- 1
build/trackomatron/DEBIAN/postinst View File

@ -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


Loading…
Cancel
Save