Environment for building Embedded Linux systems using Buildroot.
After building the image and booting it in QEMU (if you build for x86 you can test via ./output/x86/start-qemu.sh), log in as root and verify that the custom packages, overlay files, init scripts, and packages.
You should see Buildroot boot successfully and reach the login prompt:
Welcome to Buildroot
buildroot login: root
Expected login banner:
=========================================
Welcome to embedded linux via Buildroot
=========================================
Check that files from the root filesystem overlay were copied into the target image.
cat /etc/motdExpected output:
=========================================
Welcome to embedded linux via Buildroot
=========================================
Buildroot test image
Verify custom test file:
cat /root/test.txtExpected output:
If you can read this,
the overlay works.
Run the custom application installed by the Buildroot package:
mytestExpected output:
Hello from Embedded Linux via Buildroot!
Kernel: 6.12.47
Hostname: buildroot
The kernel version may differ depending on the Buildroot configuration.
There are two packages in this build, hello and bonjour, to test it Run:
helloExpected output:
Hello from embeddedlinux package!
Run:
bonjourExpected output:
Bonjour from embeddedlinux package!
The init script files/etc/init.d/S99hello should execute automatically during system startup.
Check the generated log file from this init:
cat /tmp/os.logExpected output:
Hello from embedded linux init script
Sun Jun 7 21:45:04 UTC 2026
The timestamp will reflect the current boot time.