From a13c44d2d64a5aef8a295a919583fa2ffd62bb5a Mon Sep 17 00:00:00 2001 From: Disassembler Date: Wed, 7 Nov 2018 20:14:49 +0100 Subject: [PATCH] Update build part in README --- README.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5339e45..11981ab 100644 --- a/README.md +++ b/README.md @@ -37,12 +37,13 @@ Follow the VM creation steps as above, but comment the line disabling the root l # Install git and OpenSSH client apk --no-cache add git openssh-client -# Set SSH key -mkdir ~/.ssh -vi ~/.ssh/id_ecdsa -vi ~/.ssh/id_ecdsa.pub -chmod 600 ~/.ssh/id_ecdsa +# Create SSH key +ssh-keygen -t ecdsa +``` +Assign the key to your GitLab account + +``` # Clone the repository git clone --recurse-submodules ssh://git@gitlab.dasm.cz:2222/Spotter-Cluster/Spotter-Cluster.git @@ -64,9 +65,16 @@ Full build of all components is automated via *build-all.sh* script. Before the # Supply Abuild signing key vi /srv/build/repokey.rsa +# Or generate a new pair +echo '/srv/build/repokey.rsa' | abuild-keygen + # Supply lxc-pack signing key vi /srv/build/packages.key +# Or generate a new pair +openssl ecparam -genkey -name secp384r1 -out /srv/build/packages.key +openssl ec -in /srv/build/packages.key -pubout -out /srv/build/packages.pub + # Build all packages Spotter-Cluster/zz-build/build-all.sh ```