Replace packages branch literal by an expression
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
buildbot/job/openwrt Build done. Details

This commit is contained in:
Lee Miller 2023-12-01 23:14:04 +02:00
parent a3d0b97c8f
commit d56af4d393
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,9 @@ cd openwrt-sdk-*/
cp feeds.conf.default feeds.conf
cat ${pwd}/feeds.conf >> feeds.conf
sed -i "s/\(packages.git\)\^.*/\1;openwrt-22.03/g" feeds.conf
OPENWRT_BRANCH=$(echo ${OPENWRT_VERSION} | cut -d. -f 1,2)
sed -i "s/\(packages.git\)\^.*/\1;openwrt-${OPENWRT_BRANCH}/g" feeds.conf
./scripts/feeds update -a
./scripts/feeds install -a