Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

binary releases of cleos and keosd #5727

Closed
wants to merge 6 commits into from
Closed

Conversation

larryk85
Copy link
Contributor

Please note this will generate a dmg with cleos and keosd on Mac OSX, and a full install for DEB and RPM packages. Without changing all of the install cmake commands to disable during installation when using CPack generation, the work around is that it installs cleos and keosd to what CPack uses for it's default bin path (/usr/bin for both it seems) and everything else to /usr/local/eosio like normal. This at least doesn't expose the other binaries unless someone adds /usr/local/eosio to their path. sudo apt install and sudo apt remove eos.io work cleanly. And yum installs and uninstalls cleanly too.

@wanderingbort wanderingbort added this to the Version 1.3 milestone Sep 18, 2018
@arhag arhag modified the milestones: Version 1.3, Version 1.4 Sep 18, 2018
@@ -36,6 +36,10 @@ case "$1" in
adduser --no-create-home --group --system ${USER}
fi
set -e
touch /var/log/${PACKAGE}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All references to /var/log, /var/lib, and /etc should be eliminated. None of those directories are used by the software by default or explicitly by the documentation. Instead, that information is all kept in ~/.local/share/eosio. The old packages needed to install a genesis.json file, which is also no longer required.

With the elimination of installation to both /var and /etc, it's likely that usage of CMAKE_INSTALL_FULL_* is no longer required for any component.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I follow what you expect.

message(WARNING ${CMAKE_INSTALL_FULL_BINDIR})
message(WARNING ${CMAKE_INSTALL_BINDIR})

This gives

CMake Warning at CMakeLists.txt:12 (message):
  /usr/local/bin
CMake Warning at CMakeLists.txt:13 (message):
  bin

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there no binary release for nodeos?

@spoonincode
Copy link
Contributor

Is there no binary release for nodeos?

To be determined

@larryk85 larryk85 mentioned this pull request Oct 15, 2018
@larryk85
Copy link
Contributor Author

Superseded by #6003

@larryk85 larryk85 closed this Oct 15, 2018
@kj4ezj kj4ezj deleted the feature/binary_release branch July 19, 2021 17:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants