Update build part in README

This commit is contained in:
Disassembler 2018-11-07 20:14:49 +01:00
parent 718a3b7a3f
commit a13c44d2d6
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -37,12 +37,13 @@ Follow the VM creation steps as above, but comment the line disabling the root l
# Install git and OpenSSH client # Install git and OpenSSH client
apk --no-cache add git openssh-client apk --no-cache add git openssh-client
# Set SSH key # Create SSH key
mkdir ~/.ssh ssh-keygen -t ecdsa
vi ~/.ssh/id_ecdsa ```
vi ~/.ssh/id_ecdsa.pub
chmod 600 ~/.ssh/id_ecdsa
Assign the key to your GitLab account
```
# Clone the repository # Clone the repository
git clone --recurse-submodules ssh://git@gitlab.dasm.cz:2222/Spotter-Cluster/Spotter-Cluster.git 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 # Supply Abuild signing key
vi /srv/build/repokey.rsa vi /srv/build/repokey.rsa
# Or generate a new pair
echo '/srv/build/repokey.rsa' | abuild-keygen
# Supply lxc-pack signing key # Supply lxc-pack signing key
vi /srv/build/packages.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 # Build all packages
Spotter-Cluster/zz-build/build-all.sh Spotter-Cluster/zz-build/build-all.sh
``` ```