Skip to content

Commit

Permalink
Oooh
Browse files Browse the repository at this point in the history
  • Loading branch information
samip5 committed Jun 1, 2024
1 parent 9ae0a9b commit 2844940
Show file tree
Hide file tree
Showing 6 changed files with 9,416 additions and 0 deletions.
28 changes: 28 additions & 0 deletions artifacts/kernel/README.md
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
17 changes: 17 additions & 0 deletions artifacts/kernel/build/certs/x509.genkey
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
Loading

0 comments on commit 2844940

Please sign in to comment.