Commit f6100fd
committed
Add make targets for linux kernel
Firecracker-containerd requires a linux kerenl which is provided
precompiled by default. For most use-cases, this is acceptable however
it prevents us from enabling additional features (e.g. FUSE for remote
snapshotters) and from updating kernel versions in a timely manner.
This change adds optional `make kernel` and `make install-kernel`
targets which compile a 4.14 kernel by default with FUSE enabled. 5.10
can be compiled instead with `KERNEL_VERSION=5.10 make install-kernel`.
The `install-kernel` target overwrites any previously installed kernel
(either the default pre-built or a previous `make install-kernel`)
Signed-off-by: Kern Walster <walster@amazon.com>1 parent dada9a4 commit f6100fd
1 file changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
51 | 65 | | |
52 | 66 | | |
53 | 67 | | |
| |||
313 | 327 | | |
314 | 328 | | |
315 | 329 | | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
316 | 341 | | |
317 | 342 | | |
318 | 343 | | |
| |||
0 commit comments