Skip to content

Commit 8df2bb8

Browse files
committed
readme adjust + template and config rework
1 parent 4f60267 commit 8df2bb8

4 files changed

Lines changed: 12787 additions & 110 deletions

File tree

Dockerfile.kernelbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ WORKDIR /void-packages
1818

1919
# Run as root so we can set up /output and copy results
2020
# Then switch to builder just for xbps-src commands
21-
CMD ["sh", "-c", "mkdir -p /output && chown builder:builder /output && su - builder -c 'cd /void-packages && ./xbps-src binary-bootstrap && ./xbps-src pkg linux-cachyos' && cp /void-packages/hostdir/binpkgs/*.xbps /output/ && ls -la /output/"]
21+
CMD ["sh", "-c", "mkdir -p /output && chown builder:builder /output && su - builder -c 'cd /void-packages && ./xbps-src binary-bootstrap && ./xbps-src pkg linux-cachyos' 2>&1 | tee /output/build.log || echo 'BUILD FAILED' >> /output/build.log; cp /void-packages/hostdir/binpkgs/*.xbps /output/ 2>/dev/null; ls -la /output/"]

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010

1111
### Building with Docker
1212
```bash
13-
docker build -f Dockerfile.kernelbuild -t npkg-kernelbuild . && docker run --rm --privileged -v ~/kernel-output:/output npkg-kernelbuild
13+
docker build -f Dockerfile.kernelbuild -t npkg-kernelbuild . && docker run --rm --privileged -v ~/kernel-output:/output npkg-kernelbuild | tee /tmp/build.log # Build logs will be written to /tmp/build.log
1414
```
1515

1616
## Notice
1717

1818
This project is in early development and currently targets glibc x86_64 systems only. Install at your own risk. Issues can be reported to the project repository.
1919

2020
# Install
21-
- Build Yourself.
22-
- Download prebuilt binary package from [Release Tags](https://github.com/binarylinuxx/voidlinux-cachy-kernel/tags) maybe delayed from the newest commit sha256sum included.
21+
*options:*
22+
- Build Yourself. # May take a lot of time via docker for me persanly it was 4h53m43s,you can use xbps-src but since im too lazy explain all xbps-src workflow you'll have to figure out on your own.
23+
- Download prebuilt binary package from [Release Tags](https://github.com/binarylinuxx/voidlinux-cachy-kernel/tags) maybe delayed from the newest commit sha256sum included.

0 commit comments

Comments
 (0)