From 12baa7c1c5ebe0750101c7e6d0dc0628e73c991e Mon Sep 17 00:00:00 2001 From: Greg Szabo Date: Wed, 4 Oct 2017 23:10:30 -0400 Subject: [PATCH] Package fixes --- build/spectemplates/app-template.spec | 3 +-- build/spectemplates/ethermint.spec | 3 +-- build/spectemplates/trackomatron.spec | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/build/spectemplates/app-template.spec b/build/spectemplates/app-template.spec index 8096deaa2..ad937d029 100644 --- a/build/spectemplates/app-template.spec +++ b/build/spectemplates/app-template.spec @@ -35,9 +35,8 @@ cd %{name}-%{version}-%{release} %{__cp} -a * %{buildroot} %post -sudo -Hu %{name} %{name} init --home %{_sysconfdir}/%{name} 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 %{name} tendermint init --home %{_sysconfdir}/%{name} +sudo -Hu %{name} %{name} init --home %{_sysconfdir}/%{name} 2B24DEE2364762300168DF19B6C18BCE2D399EA2 #Temporary until https://github.com/tendermint/basecoin/issues/123 rm -f %{_sysconfdir}/%{name}/key.json diff --git a/build/spectemplates/ethermint.spec b/build/spectemplates/ethermint.spec index 96da8cf6a..fc443e35b 100644 --- a/build/spectemplates/ethermint.spec +++ b/build/spectemplates/ethermint.spec @@ -35,9 +35,8 @@ cd %{name}-%{version}-%{release} %{__cp} -a * %{buildroot} %post -sudo -Hu %{name} %{name} --datadir %{_sysconfdir}/%{name} init %{_sysconfdir}/%{name}/genesis.json -#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 %{name} tendermint init --home %{_sysconfdir}/%{name} +sudo -Hu %{name} %{name} --datadir %{_sysconfdir}/%{name} init %{_sysconfdir}/%{name}/genesis.json systemctl daemon-reload diff --git a/build/spectemplates/trackomatron.spec b/build/spectemplates/trackomatron.spec index 4d924805c..1c952411e 100644 --- a/build/spectemplates/trackomatron.spec +++ b/build/spectemplates/trackomatron.spec @@ -35,9 +35,8 @@ cd %{name}-%{version}-%{release} %{__cp} -a * %{buildroot} %post -sudo -Hu %{name} tracko init --home %{_sysconfdir}/%{name} 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 %{name} tendermint init --home %{_sysconfdir}/%{name} +sudo -Hu %{name} tracko init --home %{_sysconfdir}/%{name} 2B24DEE2364762300168DF19B6C18BCE2D399EA2 #Temporary until https://github.com/tendermint/basecoin/issues/123 rm -f %{_sysconfdir}/%{name}/key.json