Browse Source

basecoin 0.6.0 package fixes

pull/1943/head
Greg Szabo 8 years ago
parent
commit
2af729727f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      devops/rpmbuild/extrafiles/DEBIAN-basecoin/postinst
  2. +1
    -1
      devops/rpmbuild/spectemplates/basecoin.spec

+ 1
- 1
devops/rpmbuild/extrafiles/DEBIAN-basecoin/postinst View File

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


+ 1
- 1
devops/rpmbuild/spectemplates/basecoin.spec View File

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


Loading…
Cancel
Save