Commit 2a4942fc authored by Ophélie Gagnard's avatar Ophélie Gagnard

generation: Do not enable EFI STUB mode.

- Do not enable EFI STUB mode when compiling the kernel. dracut already
  takes care of embedding an efi stub in the efi application image. See
dracut options "uefi" and "uefi_stub".
- Add examples of .config tampering (but comment them all for now).
parent 97fba047
......@@ -26,12 +26,16 @@ make olddefconfig
-d CONFIG_MODULE_SIG_ALL \
-d CONFIG_MODULE_SIG_KEY \
-d CONFIG_SYSTEM_TRUSTED_KEYS \
-d CONFIG_DEBUG_INFO \
-e CONFIG_EFI_STUB
-d CONFIG_DEBUG_INFO
#-e CONFIG_EFI_STUB
# embed every modules in the kernel
cp .config .config.backup
sed -i 's/=m$/=y/g' .config
# tmp
#sed -i "s/CONFIG_EXT4_FS=m/CONFIG_EXT4_FS=y/g" .config
# embed all "iscsi"/"scsi"-related modules in the kernel
#sed -i 's/CONFIG_\(.*\)SCSI\(.*\)=m/CONFIG_\1SCSI\2=y/g' .config
# embed every modules in the kernel
#sed -i 's/=m$/=y/g' .config
make deb-pkg -j"$(nproc)" LOCALVERSION=-"$(dpkg --print-architecture)" KDEB_PKGVERSION="$(make kernelversion)-1"
cd ..
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment