diff --git a/README.md b/README.md index 2ce57fa..f64eea6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,51 @@ -# electrs-bin -Temporary repository to host electrs binaries for aarch64 ARM cpu linux +# bitbox-base-deps +Temporary repository to host binary dependencies for the BitBox Base project, built for aarch64 ARM cpu Linux. +The binaries have been build on a RockPro64 board using Armbian 4.4.178. + +## electrs source repository: https://github.com/romanz/electrs + +Build it yourself: +``` +# install Rust +mkdir -p /usr/local/src/rust +cd /usr/local/src/rust +curl https://static.rust-lang.org/dist/rust-1.34.1-aarch64-unknown-linux-gnu.tar.gz -o rust.tar.gz + +# must return 'rust.tar.gz: OK' +echo "0565e50dae58759a3a5287abd61b1a49dfc086c4d6acf2ce604fe1053f704e53 rust.tar.gz" | sha256sum -c - + +tar --strip-components 1 -xzf rust.tar.gz +./install.sh + +# install dependencies +apt install clang cmake + +# compile electrs +git clone https://github.com/romanz/electrs +cd electrs +git checkout tags/v0.6.1 +cargo build --release + +# install electrs +cp /usr/local/src/rust/electrs/target/release/electrs /usr/bin/ +``` + + +## c-lightning +source repository: +https://github.com/ElementsProject/lightning + +Build it yourself, using the PPA branch from Christian Decker: +``` +git clone https://github.com/cdecker/lightning.git +cd lightning/ +git checkout ppa +sudo apt install debhelper pkg-config fakeroot dpkg-dev +sudo dpkg-buildpackage -b -rfakeroot -us -uc +``` + +The package `lightningd_0.7.0-1_arm64.deb` is written in the partent directory and can be installed with `dpkg -i lightningd_0.7.0-1_arm64.deb`. + diff --git a/SHA256SUM.asc b/SHA256SUM.asc index 50536a8..957fcc8 100644 --- a/SHA256SUM.asc +++ b/SHA256SUM.asc @@ -1,2 +1,2 @@ -eeaa246b7e49dacb31f5b609ca4efe759dab97ddacdcf1f23c34a67607f35a9e electrs-0.6.0-aarch64-linux-gnu.tar.gz 1b1664afe338aa707660bc16b2d82919e5cb8f5fd35faa61c27a7fef24aad156 electrs-0.6.1-aarch64-linux-gnu.tar.gz +52be094f8162749acb207bf9ad08125d25288a9d03eb25690f364ba42fcff3c4 lightningd_0.7.0-1_arm64.deb diff --git a/electrs-0.6.0-aarch64-linux-gnu.tar.gz b/electrs-0.6.0-aarch64-linux-gnu.tar.gz deleted file mode 100644 index 1021d4e..0000000 Binary files a/electrs-0.6.0-aarch64-linux-gnu.tar.gz and /dev/null differ diff --git a/lightningd_0.7.0-1_arm64.deb b/lightningd_0.7.0-1_arm64.deb new file mode 100644 index 0000000..7821214 Binary files /dev/null and b/lightningd_0.7.0-1_arm64.deb differ