summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-11-27 12:07:13 +0000
committerMikael Magnusson <mikma@users.sourceforge.net>2018-11-27 12:07:36 +0000
commit43e2d8804079c25cd3a2858b5f0fbcade1ccb1c4 (patch)
treed521c24f62dcbbcf5bfd7f22d4331008e6c5e465
parentf419b8dad42b1d3012d2227ddc5c9d9c3743aaf0 (diff)
Use latest procd version with snapshot
-rwxr-xr-xbuild.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index adb2e4c..07f5171 100755
--- a/build.sh
+++ b/build.sh
@@ -59,12 +59,13 @@ esac
branch_ver=$(echo "${ver}"|cut -d- -f1|cut -d. -f1,2)
if test $ver = snapshot; then
- openwrt_branch=openwrt-18.06
+ openwrt_branch=snapshot
+ procd_url=https://github.com/openwrt/openwrt/trunk/package/system/procd
else
openwrt_branch=${dist}-${branch_ver}
+ procd_url=https://github.com/openwrt/openwrt/branches/${openwrt_branch}/package/system/procd
fi
-procd_url=https://github.com/openwrt/openwrt/branches/${openwrt_branch}/package/system/procd
procd_extra_ver=lxd-3
lxc_tar=bin/${dist}-${ver}-${arch}-${subarch}-lxd.tar.gz
@@ -150,7 +151,7 @@ check() {
download_procd() {
if ! test -e dl/procd-${openwrt_branch}; then
- svn co $procd_url dl/procd-${openwrt_branch}
+ svn export $procd_url dl/procd-${openwrt_branch}
sed -i -e "s/PKG_RELEASE:=\(\S\+\)/PKG_RELEASE:=\1-${procd_extra_ver}/" dl/procd-${openwrt_branch}/Makefile
fi