Looking for distrobuilder yaml for OpenWRT

I need to build incus OpenWRT VM image for arm64 target. I would appreciate if someone could share OpenWRT container distrobuilder yaml configuration file

Hi!

OpenWRT is part of the images provided by the images: remote, therefore the distrobuilder YAML is available at the lxc-ci repository, images/ directory.

In order words, the lxc-ci repository is what is used to generate the images at https://images.linuxcontainers.org/

In that site, the fifth column Build Date is a link to the logs that were generated from the generation of the images. Therefore, you can find in there the exact command-line parameters that were used for the OpenWRT image. Locate the build.log file in there. The command line looks like

 distrobuilder --cache-dir /root/build/cache/ --timeout 7200 build-dir image.yaml rootfs -o image.serial=20241226_11:57 -o image.architecture=aarch64 -o image.release=snapshot -o packages.manager=apk

As you already noticed, there are currently only container images for OpenWRT.

1 Like

Thanks a lot Simon!