diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-11-27 12:07:13 +0000 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-11-27 12:07:36 +0000 |
commit | 43e2d8804079c25cd3a2858b5f0fbcade1ccb1c4 (patch) | |
tree | d521c24f62dcbbcf5bfd7f22d4331008e6c5e465 | |
parent | f419b8dad42b1d3012d2227ddc5c9d9c3743aaf0 (diff) |
Use latest procd version with snapshot
-rwxr-xr-x | build.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |