Hello.
I successfully building my first snap.
But after installation, I can not run it:
$ vizd
vizd: command not found
$ which vizd
$
I started looking for executables, and found the following:
$ ls -l
total 28
lrwxrwxrwx 1 root root 13 ноя 15 17:07 viz.vizd -> /usr/bin/snap
lrwxrwxrwx 1 root root 13 ноя 15 17:07 viz.vizd-replay-blockchain -> /usr/bin/snap
lrwxrwxrwx 1 root root 13 ноя 15 17:07 viz.vizd-replay-corrupted -> /usr/bin/snap
Why are their names written in “.”
My snapcraft.yaml:
name: viz
version: '1.2.3'
summary: Seed node for VIZ network
description: |
Seed node for support VIZ network
grade: devel
confinement: devmode
apps:
vizd:
command: vizd --resync
vizd-replay-blockchain:
command: vizd --replay-blockchain
vizd-replay-corrupted:
command: vizd --replay-if-corrupted
parts:
viz:
plugin: cmake
configflags:
- -DCMAKE_BUILD_TYPE=Release
override-pull: |
git clone https://github.com/VIZ-World/viz-world.git .
git checkout mainnet-dev
git submodule update --init --recursive
build-packages:
- build-essential
- autoconf
- automake
- cmake
- g++
- libssl-dev
- libtool
- make
- pkg-config
- python3
- python3-jinja2
- libboost-chrono-dev
- libboost-context-dev
- libboost-coroutine-dev
- libboost-date-time-dev
- libboost-filesystem-dev
- libboost-iostreams-dev
- libboost-locale-dev
- libboost-program-options-dev
- libboost-serialization-dev
- libboost-signals-dev
- libboost-system-dev
- libboost-test-dev
- libboost-thread-dev
- doxygen
- libncurses5-dev
- libreadline-dev
- perl