Skip to content
Contents
GuidesOpenWrt

Use OpenWrt ImageBuilder to preinstall packages on a stock image

When official targets and packages are available, ImageBuilder combines the image using existing components.

When official targets and packages are available, ImageBuilder combines the image using existing components. To modify the kernel, drivers, device tree, or build settings, you must go through the full build system. Both approaches first select the correct profile, version, and image type based on the specific device.

Keep repeatable input in the record

When using ImageBuilder, fix the version, profile, package list, and a small set of default files in FILES; during compilation, fix the commit, feeds, and difference configuration. Move the home private key, public credentials, and fixed production address out of the image input. Check the output size against partition limits.

Try ImageBuilder output first before full compilation

Build an image that only modifies packages and files, using a fixed target profile. Perform verification list checks on backup devices, boot, and manage the router.

Verify the build, confirm first boot, and upgrade the image. Validate boot, login, WAN connectivity, and recovery. Retain the official image and original settings. If issues occur, restore from a previously verified entry point.

When modifying the kernel or drivers, use the corresponding Buildroot version. Record both the version and file for both builds; if a build fails, revert to a known working image.

Verify the official ImageBuilder archive and read the target and default package set.
Verify the official ImageBuilder archive and read the target and default package set. · OpenWrt ImageBuilder 25.12.6 (Linux)
Verify the official ImageBuilder archive and read the target and default package set. · OpenWrt ImageBuilder 25.12.6 (Linux) Open the original image

Reference

Related guides

Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments