Release 21.02.2 `distfeeds.conf` file Fail

It seems maybe the /etc/opkg/distfeeds.conf needs an update?

From Snapshots, I just built my first Stable. No issues other than my `/files/*' didn't get pulled in.

First stop after checking everything was working, I went in via LuCI/System/Software/Update Lists which promptly failed wget 8 - Not Found.

/etc/opkg/distfeeds.conf Shows:

src/gz ruralroots-openwrt_core https://downloads.openwrt.org/21.02.2/targets/mvebu/cortexa9/packages
src/gz ruralroots-openwrt_base https://downloads.openwrt.org/21.02.2/packages/arm_cortex-a9_vfpv3-d16/base
src/gz ruralroots-openwrt_luci https://downloads.openwrt.org/21.02.2/packages/arm_cortex-a9_vfpv3-d16/luci
src/gz ruralroots-openwrt_packages https://downloads.openwrt.org/21.02.2/packages/arm_cortex-a9_vfpv3-d16/packages
src/gz ruralroots-openwrt_routing https://downloads.openwrt.org/21.02.2/packages/arm_cortex-a9_vfpv3-d16/routing

Problem is, it should be:

src/gz ruralroots-openwrt_core https://downloads.openwrt.org/releases/21.02.2/targets/mvebu/cortexa9/packages
src/gz ruralroots-openwrt_base https://downloads.openwrt.org/releases/21.02.2/packages/arm_cortex-a9_vfpv3-d16/base
src/gz ruralroots-openwrt_luci https://downloads.openwrt.org/releases/21.02.2/packages/arm_cortex-a9_vfpv3-d16/luci
src/gz ruralroots-openwrt_packages https://downloads.openwrt.org/releases/21.02.2/packages/arm_cortex-a9_vfpv3-d16/packages
src/gz ruralroots-openwrt_routing https://downloads.openwrt.org/releases/21.02.2/packages/arm_cortex-a9_vfpv3-d16/routing

I guess that you have manually edited the file recipe?

I have been building from the 21.02 branch for a year, and the file has been populated right.

Looking at the commits in the 21.02 repo, the official recipe has always had the /releases/ part. (See VERSION_REPO in two files)

Ps. I don't think that you should build from the fixed 21.02.2 commit / tag, but instead from the 21.02 branch head. Then you would get e.g. the wolfssl fix.

1 Like

Did not make sense.

I just used my typical .config from my last Snapshot. Clone, Pull, Checkout, Patch . . .

Just looking to have a stable production build on the other partition as a ready backup.
Thanks.

You should not copy the full .config from master branch to 21.02. There are differences.

Take instead the scripts/diffconfig.sh output, prune it from automatic dependencies, and leave only stuff that you have actually selected. (And be careful with those personal modifications to config variables)

I always do this before a build.

./scripts/diffconfig.sh > configdiff
cp configdiff .config
make defconfig

I prune my config recipes much further.
Diffconfig still lists all automatically selected dependencies that can vary a bit between release branches and targets.

See my approach e.g. in

1 Like

I remember seeing this a way back when I started building, but was over my head at the time. Now I'm looking at Unifi AP Lite, GS308T, Snapshot, and Stable. Thanks!!!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.