Browse Source

syncthing: add runtime test

Run trivial check if the compiled binary works on the architecture.

Signed-off-by: Paul Spooren <mail@aparcar.org>
lilik-openwrt-22.03
Paul Spooren 4 years ago
parent
commit
0cc2a8dde3
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      utils/syncthing/Makefile
  2. +3
    -0
      utils/syncthing/test.sh

+ 1
- 1
utils/syncthing/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=syncthing
PKG_VERSION:=1.9.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=syncthing-source-v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/syncthing/syncthing/releases/download/v$(PKG_VERSION)


+ 3
- 0
utils/syncthing/test.sh View File

@ -0,0 +1,3 @@
#!/bin/sh
syncthing --version | grep "${2%%-*}"

Loading…
Cancel
Save