Skip to content

Commit 2d5d794

Browse files
committed
Updated Build Custom Kernel (markdown)
1 parent e3864d8 commit 2d5d794

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Build-Custom-Kernel.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ make x86_64_defconfig
3636
make kvm_guest.config
3737
```
3838

39+
If you are building the kernel to run on a bare-metal machine, you may also need to disable some key signing-related configs:
40+
41+
```bash
42+
scripts/config --disable SYSTEM_TRUSTED_KEYS
43+
scripts/config --disable SYSTEM_REVOCATION_KEYS
44+
scripts/config --disable SECURITY_LOCKDOWN_LSM
45+
scripts/config --disable MODULE_SIG
46+
scripts/config --disable MODULE_SIG_ALL
47+
```
48+
49+
3950
## Compile
4051

4152
```bash

0 commit comments

Comments
 (0)