build the kernel. create a bootable efi image.
This commit is contained in:
15
container_cmd.sh
Normal file
15
container_cmd.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
set -e
|
||||
cores=$(nproc)
|
||||
echo "${cores}"
|
||||
/usr/bin/make clean
|
||||
/usr/bin/make defconfig
|
||||
#cat /boot/config-$(uname -r) > ./linux/.config
|
||||
sed -i 's/CONFIG_SYSTEM_TRUSTED_KEYS="\.\*"/CONFIG_SYSTEM_TRUSTED_KEYS=""/' ./.config
|
||||
sed -i 's/CONFIG_SYSTEM_REVOCATION_KEYS="\.\*"/CONFIG_SYSTEM_REVOCATION_KEYS=""/' ./.config
|
||||
sed -i 's/CONFIG_EFI_STUB="\.\*"/CONFIG_EFI_STUB="n"/' ./.config
|
||||
echo "CONFIG_FB_EFI=y" >> ./.config
|
||||
echo "CONFIG_EFI=y" >> ./.config
|
||||
echo "CONFIG_SYSFB=y" >> ./.config
|
||||
echo "CONFIG_FB=y" >> ./.config
|
||||
echo "CONFIG_FRAMEBUFFER_CONSOLE=y" >> ./.config
|
||||
/usr/bin/make -j ${cores}
|
||||
Reference in New Issue
Block a user