ImageBuilder is broken for OpenWrt-One

Image builder will not succeed in assembling an image for the openwrt one currently. Neither as a customised image¹ nor as a default image²

¹ make image PROFILE="openwrt_one" PACKAGES="luci -ppp -ppp-mod-pppoe -libustream-mbedtls -wpad-basic-mbedtls wpad-openssl luci-ssl-openssl" FILES="files"

² make image PROFILE="openwrt_one"

The ImageBuilder does not generate the initramfs and so ubinize fails:
in file target/linux/mediatek/image/filogic.mk

  UBINIZE_PARTS := fip=:$(STAGING_DIR_IMAGE)/mt7981_openwrt_one-snand-u-boot.fip recovery=:$(KDIR)/tmp/openwrt-mediatek-filogic-openwrt_one-initramfs.itb \
		   $(if $(wildcard $(TOPDIR)/openwrt-mediatek-filogic-openwrt_one-calibration.itb), calibration=:$(TOPDIR)/openwrt-mediatek-filogic-openwrt_one-calibration.itb

This also means ASU and the firmware-selector site also fail

EDIT forgot the console log error:
ubinize: error!: cannot stat "~/devel/openwrt/2024-10-19/openwrt-imagebuilder-mediatek-filogic.Linux-x86_64/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-openwrt_one-initramfs.itb"

Some of those packages do not exist, such as luci-ssl-open and ssl.

no that was a formatting error copying from my terminal luci-ssl-openssl does exist and is what was intended.

It also wouldn't matter as the default imagebuilder make image also fails for the same reason: the openwrt-mediatek-filogic-openwrt_one-initramfs.itb is not generated by imagebuilder - I'd guess the make target for it is only in the buildroot makefiles, and not the imagebuilder makefiles

I understand, but it's not within my power to fix that. What is within my power is to say the correct name of the packages. Also -ppp and -ppp-mod-pppoe will be installed anyway since they are dependencies of luci-ssl-openssl. Same for luci. It's not necessary.

What? they are not dependencies of luci (or luci-ssl-openssl): you might be thinking of luci-proto-ppp but that does not pull in ppp or ppp-mod-pppoe

1 Like

But aren't ppp and ppp-mod-pppoe packages necessary for luci-proto-ppp?

nope, as far as I can tell, luci-proto-ppp is just the ui for configuring ppp on an interface (i.e. static/dhcp/what-have-you).

1 Like

So luci-proto-ppp would not work if it did not have ppp and ppp-mod-pppoe as dependencies.

1 Like

seems so - I don't see pppoe as an option in luci for setting as the interface protocol (I don't have ppp nor ppp-mod-pppoe installed, but do have luci-proto-ppp installed).

I also note that the fix for imagebuilder has been merged.

1 Like

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