Automatic Compilation
Huawei provides the kbox_install_kernel.sh script for automatic kernel compilation and installation. This script includes all operations required for manually compiling and installing the kernel. You can run this script to quickly compile and install the kernel. Alternatively, you can manually compile and install the kernel based on the "Manual Compilation" part.
The kbox_install_kernel.sh script can be used to compile the kernel of openEuler 22.03 LTS SP4 (kernel version 5.10.0-216.0.0). To obtain the script, obtain the Kbox-AOSP11.zip package and decompress it based on Software Environment. The script is stored in the Kbox-AOSP11/deploy_scripts/openEuler_deploy directory. For details about how to use the script, see the comments at the beginning of the script.