No Luci in menuconfig - netgear_r7800

I have really searched and tried to find a way to add Luci to my imagebuilder image.
I compile 18.06.0-rc2 with most of the required packages, but the image builder will fail with the luci packages.
I heavily guess because they were not included in the custom build image using the config from here:
wget https://downloads.lede-project.org/releases/18.06.0-rc2/targets/ipq806x/generic/config.seed -O config.seed
This one included Luci, but after make menuconfig - it's gone. Only "#CONFIG_FEED_luci is not set" survived.

Does anyone have a clue what I am missing? It seems like the r7800 image is not supposed to be built with Luci ready. Poor r7800 image. It is sad.

In general: Packages added to the imagebuilder "make image PROFILE="netgear_r7800" PACKAGES="lua luci luci-app-firewall luci-base luci-lib-ip ..." must be included in the built image before, is that right?

You are mixing commands for image builder (make image) and full build root toolchain (make menuconfig). They are two different things.

If you are using image builder, read the docs.
https://openwrt.org/docs/guide-user/additional-software/imagebuilder

I use them in the following order:

  1. build root toolchain (make menuconfig) to build the firmware and the image builder
  2. build the image using the image builder

For 1) I use make menuconfig and cannot find luci
For 2) It fails if I add Luci packages

My assumption is that I need to include all package in 1) for usage in 2). Is that correct? If yes, I have a problem finding Luci in the menuconfig.

You are xininx things. 1 and 2 are not related.

If you use full toolchain, remember to update feeds and install feeds before menuconfig and normal make

If you use image builder, download the image builder from Openwrt download site so that your package feed definitions are right.

I can give it a try. But downloading the image builder from https://downloads.openwrt.org/releases/18.06.0-rc2/targets/ipq806x/generic/ lets me download the binary image, doesn't it? I need to build 100% of the resulting product by myself.

Nothing wrong with that.
Then forget about imagebuilder and just use the full toolchain to build.
https://openwrt.org/docs/guide-developer/build-system/use-buildsystem

Yes it works like a charme. Built successfully.
I would feel much better if I compile it by myself, not downloading binaries... it feels wrong - yes.

Using the toolchain: Is it possible to add the files/ like I do with the image builder? I need to inject all config files, a mariadb, scripts etc...

Yes. Just like explained in the wiki article linked above.
https://openwrt.org/docs/guide-developer/build-system/use-buildsystem#custom_files

I have overseen this information. To be honest, I didn't pay too much attention to the wikis since I thought they were out of date (because of the design, and I really thought they are not up to date). I should not judge a wiki by it's css.

So lets practice with the image builder (faster) and build the final image using the toolchain.

Thank you very much hnyman.

...I think there is one reasonable question remaining in the thin air between my misunderstandings and the Wiki pages:
Why does the toolchain build the image builder?

Master hnyman should have mentioned his posting with the build scripts.
I use those, with them I improved the (my) building process significantly.

1 Like

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