-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
9,416 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Kernel | ||
|
||
## Updating kernel config | ||
|
||
When updating kernel to the new version, import proper defaults with: | ||
|
||
```sh | ||
make kernel-olddefconfig USERNAME=rsmitty | ||
``` | ||
|
||
If you want to update for a specific architecture only, use: | ||
|
||
```sh | ||
make kernel-olddefconfig USERNAME=rsmitty PLATFORM=linux/arm64 | ||
``` | ||
|
||
## Customizing the kernel | ||
|
||
Run another target to get into `menuconfig`: | ||
|
||
```sh | ||
make kernel-menuconfig USERNAME=rsmitty | ||
``` | ||
|
||
## Testing | ||
|
||
- Build and push a test image with `make USERNAME=rsmitty PUSH=true kernel` | ||
- PR upstream (when ready) and profit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[ req ] | ||
default_bits = 4096 | ||
distinguished_name = req_distinguished_name | ||
prompt = no | ||
string_mask = utf8only | ||
x509_extensions = myexts | ||
|
||
[ req_distinguished_name ] | ||
O = Sidero Labs, Inc. | ||
CN = Build time throw-away kernel key | ||
#emailAddress = unspecified.user@unspecified.company | ||
|
||
[ myexts ] | ||
basicConstraints=critical,CA:FALSE | ||
keyUsage=digitalSignature | ||
subjectKeyIdentifier=hash | ||
authorityKeyIdentifier=keyid |
Oops, something went wrong.