From 2af729727f17a25701ebe780cf60d92615da98ef Mon Sep 17 00:00:00 2001 From: Greg Szabo Date: Thu, 22 Jun 2017 15:06:19 +0000 Subject: [PATCH] basecoin 0.6.0 package fixes --- devops/rpmbuild/extrafiles/DEBIAN-basecoin/postinst | 2 +- devops/rpmbuild/spectemplates/basecoin.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devops/rpmbuild/extrafiles/DEBIAN-basecoin/postinst b/devops/rpmbuild/extrafiles/DEBIAN-basecoin/postinst index 789cd292a..8c9e169f8 100644 --- a/devops/rpmbuild/extrafiles/DEBIAN-basecoin/postinst +++ b/devops/rpmbuild/extrafiles/DEBIAN-basecoin/postinst @@ -21,7 +21,7 @@ case "$1" in configure) chown basecoin.basecoin /etc/basecoin chown basecoin.basecoin /etc/basecoin/tendermint - sudo -Hu basecoin basecoin init --home /etc/basecoin + 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 diff --git a/devops/rpmbuild/spectemplates/basecoin.spec b/devops/rpmbuild/spectemplates/basecoin.spec index 9b6ae02b4..88690f2e8 100644 --- a/devops/rpmbuild/spectemplates/basecoin.spec +++ b/devops/rpmbuild/spectemplates/basecoin.spec @@ -44,7 +44,7 @@ cd %{name}-%{version} %{__cp} -a * %{buildroot} %post -sudo -Hu %{name} basecoin init --home %{_sysconfdir}/%{name} +sudo -Hu %{name} basecoin 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}/tendermint #The above command might need some kind of additional option in the future. https://github.com/tendermint/tendermint/issues/542