Skip to content

Commit eaebf95

Browse files
committed
fix missing pbr
1 parent 322cbde commit eaebf95

3 files changed

Lines changed: 10 additions & 20 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Automated builds of OpenWrt for FriendlyARM NanoPi R2S & R4S boards
3838

3939

4040
## Changelog
41+
#### 2022-08-18
42+
- (22.03) Update scripts to fix pbr missing
4143
#### 2022-08-17
4244
- (22.03) Align seeds with 21.02
4345
- (22.03) Add watchcat

openwrt-21.02/steps/04-prepare_package.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ git clone https://github.com/stangri/source.openwrt.melmac.net stangri_repo
1515
# install feeds
1616
cd openwrt
1717

18-
./scripts/feeds update -a
19-
./scripts/feeds install -a -p packages
20-
./scripts/feeds install -a -p luci
21-
./scripts/feeds install -a -p routing
22-
./scripts/feeds install -a -p telephony
23-
24-
2518
# replace vpn routing packages
2619
rm -rf feeds/packages/net/vpn-policy-routing/
2720
cp -R ../stangri_repo/vpn-policy-routing feeds/packages/net/
@@ -32,9 +25,7 @@ cp -R ../stangri_repo/luci-app-vpn-policy-routing feeds/luci/applications/
3225
cp -R ../stangri_repo/pbr feeds/packages/net/
3326
cp -R ../stangri_repo/luci-app-pbr feeds/luci/applications/
3427

35-
# this does not work
36-
#./scripts/feeds uninstall luci-app-vpn-policy-routing
37-
#./scripts/feeds install -p stangri_repo luci-app-vpn-policy-routing
28+
./scripts/feeds update -a && ./scripts/feeds install -a
3829

3930
# copy patch for nodejs not building
4031
cp $ROOTDIR/openwrt-21.02/patches/node/010-execvp-arg-list-too-long.patch feeds/packages/lang/node/patches/

openwrt-22.03/steps/04-prepare_package.sh

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,17 @@ git clone https://github.com/stangri/source.openwrt.melmac.net stangri_repo
1515
# install feeds
1616
cd openwrt
1717

18-
./scripts/feeds update -a
19-
./scripts/feeds install -a -p packages
20-
./scripts/feeds install -a -p luci
21-
./scripts/feeds install -a -p routing
22-
./scripts/feeds install -a -p telephony
18+
# replace vpn routing packages
19+
rm -rf feeds/packages/net/vpn-policy-routing/
20+
cp -R ../stangri_repo/vpn-policy-routing feeds/packages/net/
21+
rm -rf feeds/luci/applications/luci-app-vpn-policy-routing
22+
cp -R ../stangri_repo/luci-app-vpn-policy-routing feeds/luci/applications/
2323

24-
25-
# add pbr package
24+
# add pbr
2625
cp -R ../stangri_repo/pbr feeds/packages/net/
2726
cp -R ../stangri_repo/luci-app-pbr feeds/luci/applications/
2827

29-
# this does not work
30-
#./scripts/feeds uninstall luci-app-vpn-policy-routing
31-
#./scripts/feeds install -p stangri_repo luci-app-vpn-policy-routing
28+
./scripts/feeds update -a && ./scripts/feeds install -a
3229

3330
# Time stamp with $Build_Date=$(date +%Y.%m.%d)
3431
MANUAL_DATE="$(date +%Y.%m.%d) (manual build)"

0 commit comments

Comments
 (0)