


Create the additional_rpms directory and place all subpackages in the directory.Ĭp /root/rpmbuild/RPMS/aarch64/* /root/additional_rpms.Prepare the RPM package of the system image to be packed.Run the following command to view the compiled subpackages in the /root/rpmbuild/RPMS/aarch64/ directory: Modify the kernel.spec file and comment out lines from 294 to 302, as shown in the following figure. Run the following command to go to the SPECS folder:.Run the following command to delete the kernel folder:
#Atlas os iso code
Run the following commands to go to the SOURCES folder and repack the code in the kernel folder:.Scripts/config -file arch/arm64/configs/openeuler_defconfig -set-val PGTABLE_LEVELS 4 Scripts/config -file arch/arm64/configs/openeuler_defconfig -set-val ARCH_MMAP_RND_COMPAT_BITS_MIN 11 Scripts/config -file arch/arm64/configs/openeuler_defconfig -set-val ARCH_MMAP_RND_BITS_MAX 33 Scripts/config -file arch/arm64/configs/openeuler_defconfig -set-val ARCH_MMAP_RND_BITS_MIN 18 Scripts/config -file arch/arm64/configs/openeuler_defconfig -set-val ARM64_CONT_SHIFT 4 Scripts/config -file arch/arm64/configs/openeuler_defconfig -set-val ARM64_PAGE_SHIFT 12 Scripts/config -file arch/arm64/configs/openeuler_defconfig -set-val FORCE_MAX_ZONEORDER 11 Scripts/config -file arch/arm64/configs/openeuler_defconfig -e CONFIG_COHERENT_DEVICE

Scripts/config -file arch/arm64/configs/openeuler_defconfig -e ARCH_WANT_HUGE_PMD_SHARE Scripts/config -file arch/arm64/configs/openeuler_defconfig -d ARM64_PA_BITS_52 Scripts/config -file arch/arm64/configs/openeuler_defconfig -d ARM64_VA_BITS_39 Scripts/config -file arch/arm64/configs/openeuler_defconfig -d ARM64_64K_PAGES Scripts/config -file arch/arm64/configs/openeuler_defconfig -e ARM64_4K_PAGES Scripts/config -file arch/arm64/configs/openeuler_defconfig -d CONFIG_MMC Scripts/config -file arch/arm64/configs/openeuler_defconfig -d HISI_SVM Scripts/config -file arch/arm64/configs/openeuler_defconfig -d ASCEND_WATCHDOG_SYSFS_CONFIGURE Scripts/config -file arch/arm64/configs/openeuler_defconfig -e ASCEND_SHARE_POOL Scripts/config -file arch/arm64/configs/openeuler_defconfig -e ASCEND_AUTO_TUNING_HUGEPAGE Scripts/config -file arch/arm64/configs/openeuler_defconfig -e ASCEND_CHARGE_MIGRATE_HUGEPAGES Scripts/config -file arch/arm64/configs/openeuler_defconfig -e ASCEND_IOPF_HIPRI Scripts/config -file arch/arm64/configs/openeuler_defconfig -e ASCEND_OOM Scripts/config -file arch/arm64/configs/openeuler_defconfig -e ASCEND_DVPP_MMAP Scripts/config -file arch/arm64/configs/openeuler_defconfig -e ASCEND_FEATURES Run the following commands to modify the default compilation file used by openEuler:.The file information in the directory is as follows: Run the following command to view the config directory information: Run the following command to go to the kernel directory: is the source code that needs to be compiled. Run the following command to view the compiled source code in the /root/rpmbuild/SOURCES directory: If the network is not connected in the environment, you can use the local repo source mounted in step 1 to download the file.Īdd the following information to the end of the /etc//openEuler.repo file:.
#Atlas os iso install
If the following problems occur, install the dnf-plugin-config-manager dependency:
