Make the OBS build possible

* Use go >= 1.13
 * Update the README.md
This commit is contained in:
Pavel Dostál 2021-02-04 08:24:13 +01:00
parent 1fb1f41a80
commit 70a2bbf660
No known key found for this signature in database
GPG key ID: C16B934BD1C1C511
3 changed files with 12 additions and 2 deletions

View file

@ -35,6 +35,13 @@ $ sudo mkfs.ext4 /dev/sdb1
$ sudo ros install -d /dev/sda -c cloud-init.yaml
```
## Run on openSUSE
We build openSUSE package at [build.opensuse.org](https://build.opensuse.org/package/show/home:pdostal/pasta). You can install it like this:
zypper addrepo https://download.opensuse.org/repositories/home:/pdostal/openSUSE_Tumbleweed/home:pdostal.repo
zypper refresh; zypper install pasta
## Build and run from source
make pastad # Server

3
go.mod
View file

@ -1,9 +1,8 @@
module github.com/grisu48/pasta
go 1.15
go 1.13
require (
github.com/BurntSushi/toml v0.3.1
github.com/akamensky/argparse v1.2.2
)

4
go.sum Normal file
View file

@ -0,0 +1,4 @@
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/akamensky/argparse v1.2.2 h1:P17T0ZjlUNJuWTPPJ2A5dM1wxarHgHqfYH+AZTo2xQA=
github.com/akamensky/argparse v1.2.2/go.mod h1:S5kwC7IuDcEr5VeXtGPRVZ5o/FdhcMlQz4IZQuw64xA=