Reputation Activity
-
Dolf Andringa reacted to Igor in Building a new image with existing kernelCLEAN_LEVEL
https://docs.armbian.com/Developer-Guide_Build-Options/
-
https://docs.armbian.com/Developer-Guide_User-Configurations/#user-provided-image-customization-script
-
I assume you want to use on your x86 desktop? Just go with stock Debian or Ubuntu under KVM/some virtualization for testing the bash install scripts. I do it this way and its fast, convenient and 100% compatible. If you need to talk deeply with hardware in this process you will need to boot real hardware anyway.
-
Just beware the differences between Ubuntu and Debian userspace. They are different enough to make troubles in install scripts.
-
Yes, put
/bin/bash into your customize-image.sh to launch a shell from the customization script, do what you want and then exit the shell to continue the build process. Don't forget to kill any running services or background processes if you start any otherwise you may get unexpected issues later.
It uses qemu-user emulation to execute binaries for the different architecture.
This is responsible for building additional packages, outside the normal image creation process.