Skip to content

Commit d650d7b

Browse files
committed
readme
1 parent 8718adc commit d650d7b

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

KERNEL_README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# neko fork for onkernel
2+
3+
This is a public fork of the [m1k1o/neko](https://github.com/m1k1o/neko) repository.
4+
5+
## Overview
6+
7+
We maintain this fork to provide a customized `base` image that is used in our browser images at [onkernel/kernel-images](https://github.com/onkernel/kernel-images/tree/main/images).
8+
9+
## Building
10+
11+
To build images from this fork, use the build script from the repository root:
12+
13+
```bash
14+
# Build the base image
15+
./build base
16+
17+
# Build with custom repository and tag
18+
./build base --repository your-repo/neko --tag custom-tag
19+
```
20+
21+
The `--repository` and `--tag` options allow you to specify exactly which image you're building, making it easy to reference back to specific builds in `kernel-images`.
22+
23+
## Keeping in sync with upstream
24+
25+
To merge the latest changes from the upstream neko repository:
26+
27+
```bash
28+
# Run the sync script to create a new branch and merge upstream changes
29+
./scripts/sync-upstream.sh
30+
31+
# Or merge directly into your current branch
32+
./scripts/sync-upstream.sh --no-new-branch
33+
34+
# To merge a specific upstream branch
35+
./scripts/sync-upstream.sh --upstream-branch $branch
36+
```
37+
38+
After running the sync script:
39+
40+
1. Resolve any merge conflicts
41+
2. Test the build to ensure compatibility
42+
3. Push the changes and create a PR for review

0 commit comments

Comments
 (0)