Where do pre-downloaded packages go for image builder?

You should fix the issue reported by the error. Even if you download packages manually nothing will work because that script is indexing the packages and without a package index the image builder does not work. I don't understand why you decided to download packages manually.

Looking ad the source of master snapshot (which may or may not be the version you use) https://github.com/openwrt/openwrt/blob/master/scripts/feeds#L48
Seems to be a parsing issue in the package names or feed names. Did you add external feeds?
What lines did you add in the feeds.conf file?
What image builder are you using (so people can try it out and get the same error you get and do some troubleshooting first hand)?

3 Likes

No, I've not added/changed feeds.
I downloaded the packages manually because some threads suggest doing so and I was trying different things so I could solve this.

This problem has been around for countless versions. This is not the first time I've had it.

If you mean this;

./scripts/feeds update -a
./scripts/feeds install -a

I didn't bother posting that I did that thinking it would be obvious.

This all started when I was trying to build a fw using my old 18.06.2. Two packages will not install and I see this error.
Building images...
Unable to open feeds configuration at /clients/18.06.2-ramips-mt300n-v2/scripts/feeds line 48.

Again, trying to rebuild it leads to this;
$ ./scripts/feeds update -a
Unable to open feeds configuration at ./scripts/feeds line 48.

So then I decided to download the latest version, 19.07.7 but I get the same and in fact, even stranger results. I looked first, there is no feeds.conf file so I assumed I have to generate that using the above commands but then get the error.

What other info can I provide?

These are not image builder commands.
Those commands should be used only if you are using full buildsystem https://openwrt.org/docs/guide-developer/build-system/start and compiling everything from source.

Image Builder is just downloading and assembling pre-compiled packages from the repositories.
It is a different thing.

Did you check the tutorial to use Image Builder?

As a general rule, if you ask for help you need to write exactly what commands you are sending, so people helping you can follow the exact steps.

Ok that confirms you are using Image Builder, and not compiling from source.
The package feeds for Image Builder is in a file called "repositories.conf", as mentioned in the documentation I linked above.

3 Likes

I am providing all I know right now and is why I'm asking in the forums since I cannot solve it on my own so far. I've been fairly detailed, just don't want to fill the thread with useless junk that no one wants to read through to find the answer.

I never said I was building form source, I said image builder :).

I found those commands in an openwrt article talk about using image builder.
However, I now see I didn't look closely enough, it's talking about building an image, not image builder. Either way, that didn't help since it wasn't the problem as you said.

So, now that we are in sync, yes, the repositories file is there but still doesn't answer why I'm getting that error or how to fix it. The tutorial/s do not explain how to get past this otherwise, I would have fixed it by now. I don't usually ask for help unless I'm stumped and I am.

Btw, the folder where all packages are downloaded is "dl"
for example with the x86 target image builder
openwrt-imagebuilder-21.02.0-rc3-x86-64.Linux-x86_64/dl

I am providing all I know right now .. I've been fairly detailed,

I have asked you to write the full steps and commands you used before you got the error.

Also can you mention what image builder you used, write the full file name so I can download it and repeat the steps you did to see if I can reproduce the issue.

I've been using Image Builder (and building from source) for years and I've never seen that error, I think you wrote a wrong command somewhere.

just don't want to fill the thread with useless junk that no one wants to read through to find the answer.

We have a "highlight solution post" functionality in the forum that highlights and bumps the post marked as "solution" under the first post.

1 Like

I see that I didn't share that into. It was in another post so sorry, getting a little mixed up here.

I've seen the error in countless image builder versions. I've only used the source a few times, mostly always the image builder. In the 19.07.7 version, I'm not getting the feeds warning so let's just skip that. I can start a new post specific to that when I see it again.

My question was about packages and where do they go if I download them all first so I can build offline.
Now that you mention the dl directory, I do see the two packages that are giving me the problem.

The reason is from another question I had posted. I tried to delete it to lessen confusion but cannot.

I use a files/ directory where I put my pre-configured config files, for example, vnstat.
I have vnstat in the list of packages for my build. I see vnstat getting downloaded, installed and enabled.
Once I boot the fw, there is no vnstat package installed and my config files were overwritten.

I see the packages getting downloaded, installed and the services enabled but once I boot the device with the new build, those packages are missing. That's why I wanted to pre-download them.

So they are being downloaded already. Almost as if I said that the problem is elsewhere.

2 Likes

Why are you acting all self righteous? Who cares when someone that is asking for help is wrong. They would not be asking if they had the same level of knowledge. It's not helpful to anyone finding this thread your acting this way. I told you I got mixed up with the things I've posted and am experiencing.

Your answer doesn't help in any way what so ever. My question is why are the packages showing as being installed yet aren't on the device when I check using opkg list-installed.

because I asked three times to get a full list of commands you are running to generate this firmware image with image builder and you still don't do that

1 Like

No need to get all puffy over that. If you read, I also said there was no point because I mixed up the question. There is no reason to get this way. Either help someone or don't help them, no one is making you do anything.

Besides, now you are simply wrecking my question. I am still trying to solve the problem.

it's annoying when people you are trying to help can't cooperate and think they know better

1 Like

Can you please stop the personal attacks and the knowledge bullying. I sure don't need it nor anyone else who will find this thread.

I have never, not even once said that I know more than anyone or that I would be non cooperative. I would not have asked the question in these forums if I could have found my own answer.

In terms of the feeds error, I too have been using image builder for many years and have seen the feeds error countless times. In fact, I'm surprised you even asked me about it considering that the forums are filled with the question asking about this problem.

Look below, I'll show you. Yes, it's an old version because I don't always need the latest so was using 18.06.2. It doesn't seem to happen in version 19.07.7 but with that version, I have the missing packages which is why I originally posted this question.

# make image PROFILE="gl-mt300n-v2" PACKAGES="bash bc curl"
Building images for ramips - GL-iNet GL-MT300N-V2
Packages: bash bc curl base-files busybox dnsmasq dropbear firewall fstools ip6tables iptables kernel kmod-gpio-button-hotplug kmod-ipt-offload kmod-leds-gpio kmod-mt76 kmod-usb-ohci kmod-usb2 libc libgcc logd mtd netifd odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe swconfig uci uclient-fetch wpad-mini

Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/Packages.gz
Updated list of available packages in /clients/18.06.2-ramips-mt300n-v2/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../clients/18.06.2-ramips-mt300n-v2/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /clients/18.06.2-ramips-mt300n-v2/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../clients/18.06.2-ramips-mt300n-v2/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /clients/18.06.2-ramips-mt300n-v2/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../clients/18.06.2-ramips-mt300n-v2/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /clients/18.06.2-ramips-mt300n-v2/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../clients/18.06.2-ramips-mt300n-v2/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /clients/18.06.2-ramips-mt300n-v2/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../clients/18.06.2-ramips-mt300n-v2/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /clients/18.06.2-ramips-mt300n-v2/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../clients/18.06.2-ramips-mt300n-v2/dl/openwrt_telephony
Downloading file:packages/Packages
Updated list of available packages in /clients/18.06.2-ramips-mt300n-v2/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../clients/18.06.2-ramips-mt300n-v2/dl/imagebuilder

Installing packages...
Installing libc (1.1.19-1) to root...
Installing libgcc (7.3.0-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libgcc_7.3.0-1_mipsel_24kc.ipk.
Configuring libgcc.
Configuring libc.
Installing kernel (4.14.95-1-fa0ac614032ecce6935c8737b30999bb) to root...
Configuring kernel.
Installing bash (4.4.18-2) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/bash_4.4.18-2_mipsel_24kc.ipk.
Installing terminfo (6.1-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/terminfo_6.1-1_mipsel_24kc.ipk.
Installing libncurses (6.1-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libncurses_6.1-1_mipsel_24kc.ipk.
Installing libreadline (7.0-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libreadline_7.0-1_mipsel_24kc.ipk.
Installing bc (1.06.95-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/bc_1.06.95-1_mipsel_24kc.ipk.
Installing curl (7.60.0-4) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/curl_7.60.0-4_mipsel_24kc.ipk.
Installing libmbedtls (2.16.8-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libmbedtls_2.16.8-1_mipsel_24kc.ipk.
Installing ca-bundle (20200601-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/ca-bundle_20200601-1_all.ipk.
Installing libcurl (7.60.0-4) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libcurl_7.60.0-4_mipsel_24kc.ipk.
Installing base-files (194.2-r7676-cddd7b4c77) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/base-files_194.2-r7676-cddd7b4c77_mipsel_24kc.ipk.
Installing libubox (2018-07-25-c83a84af-5) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libubox_2018-07-25-c83a84af-5_mipsel_24kc.ipk.
Installing libuci (2019-05-17-f199b961-2) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libuci_2019-05-17-f199b961-2_mipsel_24kc.ipk.
Installing libnl-tiny (0.1-5) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libnl-tiny_0.1-5_mipsel_24kc.ipk.
Installing libubus (2018-10-06-221ce7e7-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libubus_2018-10-06-221ce7e7-1_mipsel_24kc.ipk.
Installing libjson-c (0.12.1-2.1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libjson-c_0.12.1-2.1_mipsel_24kc.ipk.
Installing libblobmsg-json (2018-07-25-c83a84af-5) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libblobmsg-json_2018-07-25-c83a84af-5_mipsel_24kc.ipk.
Installing ubusd (2018-10-06-221ce7e7-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/ubusd_2018-10-06-221ce7e7-1_mipsel_24kc.ipk.
Installing ubus (2018-10-06-221ce7e7-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/ubus_2018-10-06-221ce7e7-1_mipsel_24kc.ipk.
Installing jshn (2018-07-25-c83a84af-5) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/jshn_2018-07-25-c83a84af-5_mipsel_24kc.ipk.
Installing netifd (2019-01-31-a2aba5c7-2.1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/netifd_2019-01-31-a2aba5c7-2.1_mipsel_24kc.ipk.
Installing libjson-script (2018-07-25-c83a84af-5) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libjson-script_2018-07-25-c83a84af-5_mipsel_24kc.ipk.
Installing ubox (2018-02-14-128bc35f-2) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/ubox_2018-02-14-128bc35f-2_mipsel_24kc.ipk.
Installing procd (2018-03-28-dfb68f85-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/procd_2018-03-28-dfb68f85-1_mipsel_24kc.ipk.
Installing jsonfilter (2018-02-04-c7e938d6-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/jsonfilter_2018-02-04-c7e938d6-1_mipsel_24kc.ipk.
Installing usign (2020-05-23-f1f65026-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/usign_2020-05-23-f1f65026-1_mipsel_24kc.ipk.
Installing openwrt-keyring (2018-05-18-103a32e9-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/openwrt-keyring_2018-05-18-103a32e9-1_mipsel_24kc.ipk.
Installing fstools (2018-12-28-af93f4b8-3) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/fstools_2018-12-28-af93f4b8-3_mipsel_24kc.ipk.
Installing fwtool (1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/fwtool_1_mipsel_24kc.ipk.
Installing busybox (1.28.4-3) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/busybox_1.28.4-3_mipsel_24kc.ipk.
Installing dnsmasq (2.80-1.4) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/dnsmasq_2.80-1.4_mipsel_24kc.ipk.
Installing dropbear (2017.75-7.1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/dropbear_2017.75-7.1_mipsel_24kc.ipk.
Installing firewall (2018-08-13-1c4d5bcd-3) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/firewall_2018-08-13-1c4d5bcd-3_mipsel_24kc.ipk.
Installing libxtables (1.6.2-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libxtables_1.6.2-1_mipsel_24kc.ipk.
Installing libip4tc (1.6.2-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libip4tc_1.6.2-1_mipsel_24kc.ipk.
Installing libip6tc (1.6.2-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libip6tc_1.6.2-1_mipsel_24kc.ipk.
Installing kmod-nf-reject (4.14.95-1) to root...
Downloading file:packages/kmod-nf-reject_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nf-ipt (4.14.95-1) to root...
Downloading file:packages/kmod-nf-ipt_4.14.95-1_mipsel_24kc.ipk
Installing kmod-ipt-core (4.14.95-1) to root...
Downloading file:packages/kmod-ipt-core_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nf-conntrack (4.14.95-1) to root...
Downloading file:packages/kmod-nf-conntrack_4.14.95-1_mipsel_24kc.ipk
Installing kmod-ipt-conntrack (4.14.95-1) to root...
Downloading file:packages/kmod-ipt-conntrack_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nf-conntrack6 (4.14.95-1) to root...
Downloading file:packages/kmod-nf-conntrack6_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nf-nat (4.14.95-1) to root...
Downloading file:packages/kmod-nf-nat_4.14.95-1_mipsel_24kc.ipk
Installing kmod-ipt-nat (4.14.95-1) to root...
Downloading file:packages/kmod-ipt-nat_4.14.95-1_mipsel_24kc.ipk
Package fstools (2018-12-28-af93f4b8-3) installed in root is up to date.
Installing ip6tables (1.6.2-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/ip6tables_1.6.2-1_mipsel_24kc.ipk.
Installing kmod-nf-reject6 (4.14.95-1) to root...
Downloading file:packages/kmod-nf-reject6_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nf-ipt6 (4.14.95-1) to root...
Downloading file:packages/kmod-nf-ipt6_4.14.95-1_mipsel_24kc.ipk
Installing kmod-ip6tables (4.14.95-1) to root...
Downloading file:packages/kmod-ip6tables_4.14.95-1_mipsel_24kc.ipk
Installing iptables (1.6.2-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/iptables_1.6.2-1_mipsel_24kc.ipk.
Package iptables (1.6.2-1) installed in root is up to date.
Package kernel (4.14.95-1-fa0ac614032ecce6935c8737b30999bb) installed in root is up to date.
Installing kmod-gpio-button-hotplug (4.14.95-2) to root...
Downloading file:packages/kmod-gpio-button-hotplug_4.14.95-2_mipsel_24kc.ipk
Installing kmod-ipt-offload (4.14.95-1) to root...
Downloading file:packages/kmod-ipt-offload_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nf-flow (4.14.95-1) to root...
Downloading file:packages/kmod-nf-flow_4.14.95-1_mipsel_24kc.ipk
Installing kmod-leds-gpio (4.14.95-1) to root...
Downloading file:packages/kmod-leds-gpio_4.14.95-1_mipsel_24kc.ipk
Installing kmod-mt76 (4.14.95+2019-01-25-0b939dc7-1) to root...
Downloading file:packages/kmod-mt76_4.14.95%2b2019-01-25-0b939dc7-1_mipsel_24kc.ipk
Installing iw-full (4.14-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/iw-full_4.14-1_mipsel_24kc.ipk.
Installing wireless-regdb (2017-10-20-4343d359) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/wireless-regdb_2017-10-20-4343d359_mipsel_24kc.ipk.
Installing kmod-cfg80211 (4.14.95+2017-11-01-9) to root...
Downloading file:packages/kmod-cfg80211_4.14.95%2b2017-11-01-9_mipsel_24kc.ipk
Installing hostapd-common (2018-05-21-62566bc2-8) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/hostapd-common_2018-05-21-62566bc2-8_mipsel_24kc.ipk.
Installing kmod-mac80211 (4.14.95+2017-11-01-9) to root...
Downloading file:packages/kmod-mac80211_4.14.95%2b2017-11-01-9_mipsel_24kc.ipk
Installing kmod-mt76-core (4.14.95+2019-01-25-0b939dc7-1) to root...
Downloading file:packages/kmod-mt76-core_4.14.95%2b2019-01-25-0b939dc7-1_mipsel_24kc.ipk
Installing kmod-mt76x02-common (4.14.95+2019-01-25-0b939dc7-1) to root...
Downloading file:packages/kmod-mt76x02-common_4.14.95%2b2019-01-25-0b939dc7-1_mipsel_24kc.ipk
Installing kmod-mt76x2-common (4.14.95+2019-01-25-0b939dc7-1) to root...
Downloading file:packages/kmod-mt76x2-common_4.14.95%2b2019-01-25-0b939dc7-1_mipsel_24kc.ipk
Installing kmod-mt76x2 (4.14.95+2019-01-25-0b939dc7-1) to root...
Downloading file:packages/kmod-mt76x2_4.14.95%2b2019-01-25-0b939dc7-1_mipsel_24kc.ipk
Installing kmod-mt7603 (4.14.95+2019-01-25-0b939dc7-1) to root...
Downloading file:packages/kmod-mt7603_4.14.95%2b2019-01-25-0b939dc7-1_mipsel_24kc.ipk
Installing kmod-usb-ohci (4.14.95-1) to root...
Downloading file:packages/kmod-usb-ohci_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nls-base (4.14.95-1) to root...
Downloading file:packages/kmod-nls-base_4.14.95-1_mipsel_24kc.ipk
Installing kmod-usb-core (4.14.95-1) to root...
Downloading file:packages/kmod-usb-core_4.14.95-1_mipsel_24kc.ipk
Installing kmod-usb2 (4.14.95-1) to root...
Downloading file:packages/kmod-usb2_4.14.95-1_mipsel_24kc.ipk
Installing kmod-usb-ehci (4.14.95-1) to root...
Downloading file:packages/kmod-usb-ehci_4.14.95-1_mipsel_24kc.ipk
Package libc (1.1.19-1) installed in root is up to date.
Package libgcc (7.3.0-1) installed in root is up to date.
Installing logd (2018-02-14-128bc35f-2) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/logd_2018-02-14-128bc35f-2_mipsel_24kc.ipk.
Installing mtd (23) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/mtd_23_mipsel_24kc.ipk.
Package netifd (2019-01-31-a2aba5c7-2.1) installed in root is up to date.
Installing odhcp6c (2018-07-14-67ae6a71-15) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/odhcp6c_2018-07-14-67ae6a71-15_mipsel_24kc.ipk.
Installing odhcpd-ipv6only (1.15-3) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/odhcpd-ipv6only_1.15-3_mipsel_24kc.ipk.
Installing opkg (2020-01-25-c09fe209-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/opkg_2020-01-25-c09fe209-1_mipsel_24kc.ipk.
Installing libuclient (2018-11-24-3ba74ebc-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libuclient_2018-11-24-3ba74ebc-1_mipsel_24kc.ipk.
Installing uclient-fetch (2018-11-24-3ba74ebc-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/uclient-fetch_2018-11-24-3ba74ebc-1_mipsel_24kc.ipk.
Installing libpthread (1.1.19-1) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/libpthread_1.1.19-1_mipsel_24kc.ipk.
Installing ppp (2.4.7-13) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/ppp_2.4.7-13_mipsel_24kc.ipk.
Installing kmod-lib-crc-ccitt (4.14.95-1) to root...
Downloading file:packages/kmod-lib-crc-ccitt_4.14.95-1_mipsel_24kc.ipk
Installing kmod-slhc (4.14.95-1) to root...
Downloading file:packages/kmod-slhc_4.14.95-1_mipsel_24kc.ipk
Installing kmod-ppp (4.14.95-1) to root...
Downloading file:packages/kmod-ppp_4.14.95-1_mipsel_24kc.ipk
Installing ppp-mod-pppoe (2.4.7-13) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/ppp-mod-pppoe_2.4.7-13_mipsel_24kc.ipk.
Installing kmod-pppox (4.14.95-1) to root...
Downloading file:packages/kmod-pppox_4.14.95-1_mipsel_24kc.ipk
Installing kmod-pppoe (4.14.95-1) to root...
Downloading file:packages/kmod-pppoe_4.14.95-1_mipsel_24kc.ipk
Installing swconfig (11) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/swconfig_11_mipsel_24kc.ipk.
Installing uci (2019-05-17-f199b961-2) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/uci_2019-05-17-f199b961-2_mipsel_24kc.ipk.
Package uclient-fetch (2018-11-24-3ba74ebc-1) installed in root is up to date.
Installing wpad-mini (2018-05-21-62566bc2-8) to root...
Copying /clients/18.06.2-ramips-mt300n-v2/dl/wpad-mini_2018-05-21-62566bc2-8_mipsel_24kc.ipk.
Configuring terminfo.
Configuring libubox.
Configuring libuclient.
Configuring uclient-fetch.
Configuring libpthread.
Configuring opkg.
Configuring kmod-nls-base.
Configuring kmod-usb-core.
Configuring libubus.
Configuring libjson-c.
Configuring libblobmsg-json.
Configuring ubusd.
Configuring ubus.
Configuring busybox.
Configuring kmod-nf-reject6.
Configuring libncurses.
Configuring libreadline.
Configuring bash.
Configuring libuci.
Configuring libnl-tiny.
Configuring swconfig.
Configuring libmbedtls.
Configuring ca-bundle.
Configuring libcurl.
Configuring kmod-nf-conntrack.
Configuring kmod-nf-flow.
Configuring kmod-lib-crc-ccitt.
Configuring kmod-slhc.
Configuring kmod-ppp.
Configuring kmod-pppox.
Configuring kmod-pppoe.
Configuring iw-full.
Configuring kmod-nf-reject.
Configuring kmod-nf-ipt.
Configuring kmod-ipt-core.
Configuring kmod-ipt-conntrack.
Configuring jshn.
Configuring netifd.
Configuring libjson-script.
Configuring ubox.
Configuring procd.
Configuring jsonfilter.
Configuring usign.
Configuring openwrt-keyring.
Configuring fstools.
Configuring fwtool.
Configuring base-files.
Configuring kmod-nf-nat.
Configuring kmod-usb-ohci.
Configuring dnsmasq.
Configuring wireless-regdb.
Configuring kmod-cfg80211.
Configuring hostapd-common.
Configuring kmod-mac80211.
Configuring kmod-mt76-core.
Configuring kmod-mt76x02-common.
Configuring kmod-mt76x2-common.
Configuring kmod-mt76x2.
Configuring kmod-mt7603.
Configuring kmod-mt76.
Configuring kmod-usb-ehci.
Configuring kmod-usb2.
Configuring libxtables.
Configuring libip4tc.
Configuring libip6tc.
Configuring kmod-nf-conntrack6.
Configuring kmod-ipt-nat.
Configuring firewall.
Configuring kmod-nf-ipt6.
Configuring kmod-ip6tables.
Configuring odhcp6c.
Configuring uci.
Configuring wpad-mini.
Configuring dropbear.
Configuring curl.
Configuring mtd.
Configuring odhcpd-ipv6only.
Configuring ppp.
Configuring kmod-leds-gpio.
Configuring kmod-gpio-button-hotplug.
Configuring logd.
Configuring iptables.
Configuring ip6tables.
Configuring bc.
Configuring kmod-ipt-offload.
Configuring ppp-mod-pppoe.

Finalizing root filesystem...

Building images...
Unable to open feeds configuration at /clients/18.06.2-ramips-mt300n-v2/scripts/feeds line 48.
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /clients/18.06.2-ramips-mt300n-v2/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs, block size 262144.
Pseudo file "/dev" exists in source filesystem "/clients/18.06.2-ramips-mt300n-v2/build_dir/target-mipsel_24kc_musl/root-ramips/dev".
Ignoring, exclude it (-e/-ef) to override.
[============================================================================================================================================================================================================================\] 619/619 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
        compressed data, compressed metadata, compressed fragments, no xattrs
        duplicates are removed
Filesystem size 2810.29 Kbytes (2.74 Mbytes)
        38.90% of uncompressed filesystem size (7223.66 Kbytes)
Inode table size 6436 bytes (6.29 Kbytes)
        21.28% of uncompressed inode table size (30238 bytes)
Directory table size 8878 bytes (8.67 Kbytes)
        48.24% of uncompressed directory table size (18405 bytes)
Number of duplicate files found 92
Number of inodes 906
Number of files 617
Number of fragments 22
Number of symbolic links  209
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 79
Number of ids (unique uids + gids) 1
Number of uids 1
        unknown (0)
Number of gids 1
        unknown (0)
2808+1 records in
2808+1 records out
1438162 bytes (1.4 MB, 1.4 MiB) copied, 0.0144705 s, 99.4 MB/s
5620+1 records in
5620+1 records out
2877742 bytes (2.9 MB, 2.7 MiB) copied, 0.0218868 s, 131 MB/s
padding image to 0041e000
padding image to 00420000
padding image to 00440000

Calculating checksums...

you stated you use files and there is no FILES in that command...

did you or did you not use FILES on the image that has issues?


what is with the odd paths here;

are you hardlinking or something?

just showing this in your OP would have saved us all alot of time...

which thread is your favourite out of this one and your other one?

3 Likes

You were ignoring my request and stating that "it is not important" to solve your issue.
This is "not cooperating" and "thinking you know more than me".

notice how wulfy also said
"just showing this in your OP would have saved us all alot of time..."
and Stangri post in the other thread.

so it's not just me trolling you

finally. Although you did not say where you downloaded the image builder from. I assume you used official release builds.

Also as Wulfy also said, there is no FILES=... variable in that command so you are not integrating any external config in this image.

so I pulled down the image builder from https://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/

and as you see below yes I see also the same error as you

yours:
Unable to open feeds configuration at /clients/18.06.2-ramips-mt300n-v2/scripts/feeds line 48.

mine (just different folders):
Unable to open feeds configuration at /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/scripts/feeds line 48.

full output:


make image PROFILE="gl-mt300n-v2" PACKAGES="bash bc curl"
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'ldconfig-stub'... ok.
Building images for ramips - GL-iNet GL-MT300N-V2
Packages: bash bc curl base-files busybox dnsmasq dropbear firewall fstools ip6tables iptables kernel kmod-gpio-button-hotplug kmod-ipt-offload kmod-leds-gpio kmod-mt76 kmod-usb-ohci kmod-usb2 libc libgcc logd mtd netifd odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe swconfig uci uclient-fetch wpad-mini

Package list missing or not up-to-date, generating it.

Building package index...
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/Packages.gz
Updated list of available packages in /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/dl/openwrt_telephony
Downloading file:packages/Packages
Updated list of available packages in /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/dl/imagebuilder

Installing packages...
Installing libc (1.1.19-1) to root...
Installing libgcc (7.3.0-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/libgcc_7.3.0-1_mipsel_24kc.ipk
Configuring libgcc.
Configuring libc.
Installing kernel (4.14.95-1-fa0ac614032ecce6935c8737b30999bb) to root...
Configuring kernel.
Installing bash (4.4.18-2) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/packages/bash_4.4.18-2_mipsel_24kc.ipk
Installing terminfo (6.1-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/terminfo_6.1-1_mipsel_24kc.ipk
Installing libncurses (6.1-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/libncurses_6.1-1_mipsel_24kc.ipk
Installing libreadline (7.0-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/libreadline_7.0-1_mipsel_24kc.ipk
Installing bc (1.06.95-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/packages/bc_1.06.95-1_mipsel_24kc.ipk
Installing curl (7.60.0-4) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/curl_7.60.0-4_mipsel_24kc.ipk
Installing libmbedtls (2.16.8-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/libmbedtls_2.16.8-1_mipsel_24kc.ipk
Installing ca-bundle (20200601-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/ca-bundle_20200601-1_all.ipk
Installing libcurl (7.60.0-4) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/libcurl_7.60.0-4_mipsel_24kc.ipk
Installing base-files (194.2-r7676-cddd7b4c77) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/base-files_194.2-r7676-cddd7b4c77_mipsel_24kc.ipk
Installing libubox (2018-07-25-c83a84af-5) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/libubox_2018-07-25-c83a84af-5_mipsel_24kc.ipk
Installing libuci (2019-05-17-f199b961-2) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/libuci_2019-05-17-f199b961-2_mipsel_24kc.ipk
Installing libnl-tiny (0.1-5) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/libnl-tiny_0.1-5_mipsel_24kc.ipk
Installing libubus (2018-10-06-221ce7e7-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/libubus_2018-10-06-221ce7e7-1_mipsel_24kc.ipk
Installing libjson-c (0.12.1-2.1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/libjson-c_0.12.1-2.1_mipsel_24kc.ipk
Installing libblobmsg-json (2018-07-25-c83a84af-5) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/libblobmsg-json_2018-07-25-c83a84af-5_mipsel_24kc.ipk
Installing ubusd (2018-10-06-221ce7e7-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/ubusd_2018-10-06-221ce7e7-1_mipsel_24kc.ipk
Installing ubus (2018-10-06-221ce7e7-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/ubus_2018-10-06-221ce7e7-1_mipsel_24kc.ipk
Installing jshn (2018-07-25-c83a84af-5) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/jshn_2018-07-25-c83a84af-5_mipsel_24kc.ipk
Installing netifd (2019-01-31-a2aba5c7-2.1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/netifd_2019-01-31-a2aba5c7-2.1_mipsel_24kc.ipk
Installing libjson-script (2018-07-25-c83a84af-5) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/libjson-script_2018-07-25-c83a84af-5_mipsel_24kc.ipk
Installing ubox (2018-02-14-128bc35f-2) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/ubox_2018-02-14-128bc35f-2_mipsel_24kc.ipk
Installing procd (2018-03-28-dfb68f85-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/procd_2018-03-28-dfb68f85-1_mipsel_24kc.ipk
Installing jsonfilter (2018-02-04-c7e938d6-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/jsonfilter_2018-02-04-c7e938d6-1_mipsel_24kc.ipk
Installing usign (2020-05-23-f1f65026-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/usign_2020-05-23-f1f65026-1_mipsel_24kc.ipk
Installing openwrt-keyring (2018-05-18-103a32e9-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/openwrt-keyring_2018-05-18-103a32e9-1_mipsel_24kc.ipk
Installing fstools (2018-12-28-af93f4b8-3) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/fstools_2018-12-28-af93f4b8-3_mipsel_24kc.ipk
Installing fwtool (1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/fwtool_1_mipsel_24kc.ipk
Installing busybox (1.28.4-3) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/busybox_1.28.4-3_mipsel_24kc.ipk
Installing dnsmasq (2.80-1.4) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/dnsmasq_2.80-1.4_mipsel_24kc.ipk
Installing dropbear (2017.75-7.1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/dropbear_2017.75-7.1_mipsel_24kc.ipk
Installing firewall (2018-08-13-1c4d5bcd-3) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/firewall_2018-08-13-1c4d5bcd-3_mipsel_24kc.ipk
Installing libxtables (1.6.2-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/libxtables_1.6.2-1_mipsel_24kc.ipk
Installing libip4tc (1.6.2-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/libip4tc_1.6.2-1_mipsel_24kc.ipk
Installing libip6tc (1.6.2-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/libip6tc_1.6.2-1_mipsel_24kc.ipk
Installing kmod-nf-reject (4.14.95-1) to root...
Downloading file:packages/kmod-nf-reject_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nf-ipt (4.14.95-1) to root...
Downloading file:packages/kmod-nf-ipt_4.14.95-1_mipsel_24kc.ipk
Installing kmod-ipt-core (4.14.95-1) to root...
Downloading file:packages/kmod-ipt-core_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nf-conntrack (4.14.95-1) to root...
Downloading file:packages/kmod-nf-conntrack_4.14.95-1_mipsel_24kc.ipk
Installing kmod-ipt-conntrack (4.14.95-1) to root...
Downloading file:packages/kmod-ipt-conntrack_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nf-conntrack6 (4.14.95-1) to root...
Downloading file:packages/kmod-nf-conntrack6_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nf-nat (4.14.95-1) to root...
Downloading file:packages/kmod-nf-nat_4.14.95-1_mipsel_24kc.ipk
Installing kmod-ipt-nat (4.14.95-1) to root...
Downloading file:packages/kmod-ipt-nat_4.14.95-1_mipsel_24kc.ipk
Package fstools (2018-12-28-af93f4b8-3) installed in root is up to date.
Installing ip6tables (1.6.2-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/ip6tables_1.6.2-1_mipsel_24kc.ipk
Installing kmod-nf-reject6 (4.14.95-1) to root...
Downloading file:packages/kmod-nf-reject6_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nf-ipt6 (4.14.95-1) to root...
Downloading file:packages/kmod-nf-ipt6_4.14.95-1_mipsel_24kc.ipk
Installing kmod-ip6tables (4.14.95-1) to root...
Downloading file:packages/kmod-ip6tables_4.14.95-1_mipsel_24kc.ipk
Installing iptables (1.6.2-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/iptables_1.6.2-1_mipsel_24kc.ipk
Package iptables (1.6.2-1) installed in root is up to date.
Package kernel (4.14.95-1-fa0ac614032ecce6935c8737b30999bb) installed in root is up to date.
Installing kmod-gpio-button-hotplug (4.14.95-2) to root...
Downloading file:packages/kmod-gpio-button-hotplug_4.14.95-2_mipsel_24kc.ipk
Installing kmod-ipt-offload (4.14.95-1) to root...
Downloading file:packages/kmod-ipt-offload_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nf-flow (4.14.95-1) to root...
Downloading file:packages/kmod-nf-flow_4.14.95-1_mipsel_24kc.ipk
Installing kmod-leds-gpio (4.14.95-1) to root...
Downloading file:packages/kmod-leds-gpio_4.14.95-1_mipsel_24kc.ipk
Installing kmod-mt76 (4.14.95+2019-01-25-0b939dc7-1) to root...
Downloading file:packages/kmod-mt76_4.14.95%2b2019-01-25-0b939dc7-1_mipsel_24kc.ipk
Installing iw-full (4.14-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/iw-full_4.14-1_mipsel_24kc.ipk
Installing wireless-regdb (2017-10-20-4343d359) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/wireless-regdb_2017-10-20-4343d359_mipsel_24kc.ipk
Installing kmod-cfg80211 (4.14.95+2017-11-01-9) to root...
Downloading file:packages/kmod-cfg80211_4.14.95%2b2017-11-01-9_mipsel_24kc.ipk
Installing hostapd-common (2018-05-21-62566bc2-8) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/hostapd-common_2018-05-21-62566bc2-8_mipsel_24kc.ipk
Installing kmod-mac80211 (4.14.95+2017-11-01-9) to root...
Downloading file:packages/kmod-mac80211_4.14.95%2b2017-11-01-9_mipsel_24kc.ipk
Installing kmod-mt76-core (4.14.95+2019-01-25-0b939dc7-1) to root...
Downloading file:packages/kmod-mt76-core_4.14.95%2b2019-01-25-0b939dc7-1_mipsel_24kc.ipk
Installing kmod-mt76x02-common (4.14.95+2019-01-25-0b939dc7-1) to root...
Downloading file:packages/kmod-mt76x02-common_4.14.95%2b2019-01-25-0b939dc7-1_mipsel_24kc.ipk
Installing kmod-mt76x2-common (4.14.95+2019-01-25-0b939dc7-1) to root...
Downloading file:packages/kmod-mt76x2-common_4.14.95%2b2019-01-25-0b939dc7-1_mipsel_24kc.ipk
Installing kmod-mt76x2 (4.14.95+2019-01-25-0b939dc7-1) to root...
Downloading file:packages/kmod-mt76x2_4.14.95%2b2019-01-25-0b939dc7-1_mipsel_24kc.ipk
Installing kmod-mt7603 (4.14.95+2019-01-25-0b939dc7-1) to root...
Downloading file:packages/kmod-mt7603_4.14.95%2b2019-01-25-0b939dc7-1_mipsel_24kc.ipk
Installing kmod-usb-ohci (4.14.95-1) to root...
Downloading file:packages/kmod-usb-ohci_4.14.95-1_mipsel_24kc.ipk
Installing kmod-nls-base (4.14.95-1) to root...
Downloading file:packages/kmod-nls-base_4.14.95-1_mipsel_24kc.ipk
Installing kmod-usb-core (4.14.95-1) to root...
Downloading file:packages/kmod-usb-core_4.14.95-1_mipsel_24kc.ipk
Installing kmod-usb2 (4.14.95-1) to root...
Downloading file:packages/kmod-usb2_4.14.95-1_mipsel_24kc.ipk
Installing kmod-usb-ehci (4.14.95-1) to root...
Downloading file:packages/kmod-usb-ehci_4.14.95-1_mipsel_24kc.ipk
Package libc (1.1.19-1) installed in root is up to date.
Package libgcc (7.3.0-1) installed in root is up to date.
Installing logd (2018-02-14-128bc35f-2) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/logd_2018-02-14-128bc35f-2_mipsel_24kc.ipk
Installing mtd (23) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/mtd_23_mipsel_24kc.ipk
Package netifd (2019-01-31-a2aba5c7-2.1) installed in root is up to date.
Installing odhcp6c (2018-07-14-67ae6a71-15) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/odhcp6c_2018-07-14-67ae6a71-15_mipsel_24kc.ipk
Installing odhcpd-ipv6only (1.15-3) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/odhcpd-ipv6only_1.15-3_mipsel_24kc.ipk
Installing opkg (2020-01-25-c09fe209-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/opkg_2020-01-25-c09fe209-1_mipsel_24kc.ipk
Installing libuclient (2018-11-24-3ba74ebc-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/libuclient_2018-11-24-3ba74ebc-1_mipsel_24kc.ipk
Installing uclient-fetch (2018-11-24-3ba74ebc-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/uclient-fetch_2018-11-24-3ba74ebc-1_mipsel_24kc.ipk
Installing libpthread (1.1.19-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/libpthread_1.1.19-1_mipsel_24kc.ipk
Installing ppp (2.4.7-13) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/ppp_2.4.7-13_mipsel_24kc.ipk
Installing kmod-lib-crc-ccitt (4.14.95-1) to root...
Downloading file:packages/kmod-lib-crc-ccitt_4.14.95-1_mipsel_24kc.ipk
Installing kmod-slhc (4.14.95-1) to root...
Downloading file:packages/kmod-slhc_4.14.95-1_mipsel_24kc.ipk
Installing kmod-ppp (4.14.95-1) to root...
Downloading file:packages/kmod-ppp_4.14.95-1_mipsel_24kc.ipk
Installing ppp-mod-pppoe (2.4.7-13) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/ppp-mod-pppoe_2.4.7-13_mipsel_24kc.ipk
Installing kmod-pppox (4.14.95-1) to root...
Downloading file:packages/kmod-pppox_4.14.95-1_mipsel_24kc.ipk
Installing kmod-pppoe (4.14.95-1) to root...
Downloading file:packages/kmod-pppoe_4.14.95-1_mipsel_24kc.ipk
Installing swconfig (11) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/swconfig_11_mipsel_24kc.ipk
Installing uci (2019-05-17-f199b961-2) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/uci_2019-05-17-f199b961-2_mipsel_24kc.ipk
Package uclient-fetch (2018-11-24-3ba74ebc-1) installed in root is up to date.
Installing wpad-mini (2018-05-21-62566bc2-8) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mipsel_24kc/base/wpad-mini_2018-05-21-62566bc2-8_mipsel_24kc.ipk
Configuring terminfo.
Configuring libubox.
Configuring libuclient.
Configuring uclient-fetch.
Configuring libpthread.
Configuring opkg.
Configuring kmod-nls-base.
Configuring kmod-usb-core.
Configuring libubus.
Configuring libjson-c.
Configuring libblobmsg-json.
Configuring ubusd.
Configuring ubus.
Configuring busybox.
Configuring kmod-nf-reject6.
Configuring libncurses.
Configuring libreadline.
Configuring bash.
Configuring libuci.
Configuring libnl-tiny.
Configuring swconfig.
Configuring libmbedtls.
Configuring ca-bundle.
Configuring libcurl.
Configuring kmod-nf-conntrack.
Configuring kmod-nf-flow.
Configuring kmod-lib-crc-ccitt.
Configuring kmod-slhc.
Configuring kmod-ppp.
Configuring kmod-pppox.
Configuring kmod-pppoe.
Configuring iw-full.
Configuring kmod-nf-reject.
Configuring kmod-nf-ipt.
Configuring kmod-ipt-core.
Configuring kmod-ipt-conntrack.
Configuring jshn.
Configuring netifd.
Configuring libjson-script.
Configuring ubox.
Configuring procd.
Configuring jsonfilter.
Configuring usign.
Configuring openwrt-keyring.
Configuring fstools.
Configuring fwtool.
Configuring base-files.
Configuring kmod-nf-nat.
Configuring kmod-usb-ohci.
Configuring dnsmasq.
Configuring wireless-regdb.
Configuring kmod-cfg80211.
Configuring hostapd-common.
Configuring kmod-mac80211.
Configuring kmod-mt76-core.
Configuring kmod-mt76x02-common.
Configuring kmod-mt76x2-common.
Configuring kmod-mt76x2.
Configuring kmod-mt7603.
Configuring kmod-mt76.
Configuring kmod-usb-ehci.
Configuring kmod-usb2.
Configuring libxtables.
Configuring libip4tc.
Configuring libip6tc.
Configuring kmod-nf-conntrack6.
Configuring kmod-ipt-nat.
Configuring firewall.
Configuring kmod-nf-ipt6.
Configuring kmod-ip6tables.
Configuring odhcp6c.
Configuring uci.
Configuring wpad-mini.
Configuring dropbear.
Configuring curl.
Configuring mtd.
Configuring odhcpd-ipv6only.
Configuring ppp.
Configuring kmod-leds-gpio.
Configuring kmod-gpio-button-hotplug.
Configuring logd.
Configuring iptables.
Configuring ip6tables.
Configuring bc.
Configuring kmod-ipt-offload.
Configuring ppp-mod-pppoe.

Finalizing root filesystem...

Building images...
Unable to open feeds configuration at /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/scripts/feeds line 48.
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs, block size 262144.
Pseudo file "/dev" exists in source filesystem "/home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/dev".
Ignoring, exclude it (-e/-ef) to override.
[=========================================================================================/] 619/619 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments, no xattrs
	duplicates are removed
Filesystem size 2810.27 Kbytes (2.74 Mbytes)
	38.90% of uncompressed filesystem size (7223.44 Kbytes)
Inode table size 6520 bytes (6.37 Kbytes)
	21.56% of uncompressed inode table size (30238 bytes)
Directory table size 8878 bytes (8.67 Kbytes)
	48.24% of uncompressed directory table size (18405 bytes)
Number of duplicate files found 92
Number of inodes 906
Number of files 617
Number of fragments 22
Number of symbolic links  209
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 79
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)
2809+1 records in
2809+1 records out
1438302 bytes (1.4 MB, 1.4 MiB) copied, 0.0180035 s, 79.9 MB/s
5620+1 records in
5620+1 records out
2877714 bytes (2.9 MB, 2.7 MiB) copied, 0.0332544 s, 86.5 MB/s
padding image to 0041e000
padding image to 00420000
padding image to 00440000

Calculating checksums...

So I'll poke around a bit and see if I can find the issue, or even if this is a problem at all, it may just be a harmless error.

1 Like

Seems like he extracted the image builder in
/clients/18.06.2-ramips-mt300n-v2

and the Copying xxxxxx is just the Image Builder that is pulling the packages from the dl folder instead than downloading again.

For example if I run again the same command as above, my imagebuilder also fetches the packages from the dl folder


Installing packages...
Installing libc (1.1.19-1) to root...
Installing libgcc (7.3.0-1) to root...
Copying /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/dl/libgcc_7.3.0-1_mipsel_24kc.ipk.
Configuring libgcc.
Configuring libc.
Installing kernel (4.14.95-1-fa0ac614032ecce6935c8737b30999bb) to root...
Configuring kernel.
Installing bash (4.4.18-2) to root...
Copying /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/dl/bash_4.4.18-2_mipsel_24kc.ipk.
Installing terminfo (6.1-1) to root...
Copying /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/dl/terminfo_6.1-1_mipsel_24kc.ipk.
1 Like

roger... makes sense now... apologies...

You were ignoring my request and stating that "it is not important" to solve your issue.
This is "not cooperating" and "thinking you know more than me".

Never ignored anything, you started making it personal and it became hard to focus on facts and the technology instead of the childish games. You keep trying to find 'weird' things that I'm doing and if I said 'not important', I mean I'm trying not to complicate the post with too many details that are not very relevant.

When I post, I always post with as much detail as is relevant in case it's a simple fix. No one wants to find a thread they have to read dozens and dozens of pages to get to some point. That's why I ended up posting here in fact, got tired of reading post after post and not finding answers.

Can we stop with the personal attacks now and get on with the question?

I have a little tree structure that I maintain different versions in, that's why you see /clients. Not relevant.

I use the files directory when I want to have custom configs. I didn't need it to show the problem in this post so didn't use it as it is non relevant.

I usually use a little script so I don't forget which packages I want to have or not have installed but in this case, to keep things simple, I used the command line so I could show you the error. Non relevant.

are you hardlinking or something?
just showing this in your OP would have saved us all alot of time...

Just showing what? There is no hard linking, there is nothing unusual about what I'm doing.
I download the openwrt IB package, untar it, rename it to the version so I know what it is, go into it and generate what I need.

Although you did not say where you downloaded the image builder from. I assume you
used official release builds.

I would have mentioned if I got it from somewhere else. In fact, I would have then tried an official repo version before posting to see if there was a difference.

and the Copying xxxxxx is just the Image Builder that is pulling the packages from the dl
folder instead than downloading again.

I don't know what you mean by this. I have not changed anything, paths, scripts, have not added packages manually, nothing. I simply downloaded the IB package, untared it and ran the command I showed you to build the fw.

I did find some posts from others suggesting you download the entire package tree and put it into the build environment (or what ever it's called for IB) so they would not need to be downloaded and that is all my original question was asking about.

which thread is your favourite out of this one and your other one?

They are two different questions but somehow related, maybe.

This post was simply asking where do you put manually downloaded packaged. That's all I wanted to know so I could see why the packages are not showing up after I build the fw. I wondered if pre-downloading all of the packages would make any difference. I've not tried that yet because it is still not clear to me where you would put all of the packages.

The other post was asking why when I build using 19.x.x, I can see the packages I want being downloaded, installed and enabled but when I fire up the fw, those packages do not exist but some of their config files do.

1 Like

my bad with the /client path thing...

its unlikely there is a correlation between absence of package stuff in firmware vs builder package locations... with recommended practices... you only place 'extra' non-official (or preferred) ipks in the 'packages' folder...

anything in addition to that is 'non-standard' and you'd have to ask the people who advised you to do so...

and you get people asking for more info every single time. I've looked at your post history and maybe you should too.

maybe it is language barrier, I don't know.

I was explaining to wulfy23 what the Image Builder is doing when you see lines that start with Copying.

The image builder is leaving the packages in the dl folder and will not download them again if the version is not different. This saves download bandwith for download server.

So the first time you run IB it downloads the package and you see

Downloading http://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt76x8/packages/libgcc_7.3.0-1_mipsel_24kc.ipk
Configuring libgcc.

the second (and any other) time you see


Copying /home/alby/openwrt-imagebuilder-18.06.2-ramips-mt76x8.Linux-x86_64/dl/libgcc_7.3.0-1_mipsel_24kc.ipk.
Configuring libgcc.

because it is just taking the package from the dl folder.

I think I told you. All the packages go in the dl folder.

In your folder structure, it should be /clients/18.06.2-ramips-mt300n-v2/dl

But I do not think this is a solution. The failure is not at package install stage but later.

Aha, found it. The error Unable to open feeds configuration at /scripts/feeds line 48. is harmless spam.
It is not a real error, you can ignore it.
It was removed in more recent image builders to not confuse users with an error message.

I do not get that with latest image builder from 19.07 and 21.02-rc3.
So that is not connected to issues you have.

This is the commit

build: suppress error output in feeds.mk

If no feed.conf or feeds.conf.default is found on image generation with
the imagebuilder we always get the following message "Unable to open
feeds configuration at /scripts/feeds line 48." on std error.

To get rid off this needless warning on image generation with the
imagebuilder supress the output in feeds.mk.

2 Likes