Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/easimon/fedora-kernel-builder
Builds a patched Fedora kernel RPM from a SRPM on Docker
https://github.com/easimon/fedora-kernel-builder
docker fedora kernel
Last synced: 14 days ago
JSON representation
Builds a patched Fedora kernel RPM from a SRPM on Docker
- Host: GitHub
- URL: https://github.com/easimon/fedora-kernel-builder
- Owner: easimon
- Created: 2018-12-17T15:57:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-22T07:34:04.000Z (over 4 years ago)
- Last Synced: 2024-11-18T03:28:02.509Z (3 months ago)
- Topics: docker, fedora, kernel
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Build a (patched) Fedora 31 kernel on Docker
Docker based build of a Fedora Kernel, can be modified to apply additional patches.
## Usage
Exceute `./scripts/run-kernel-builder.sh`
## Customization
At the moment it builds a patched Fedora 31 kernel, containing a cgroup fix for an issue causing
kernel panics on my machine.Patch the spec in `./docker-scripts/buildkernel.sh` to contain whatever modification your kernel needs,
or remove the patching to build a stock RPM.## Github actions build
On an unmodified Github runner, the build ran into "disk full" issues. By deactivating swap, combining free
space of the OS disk and Temp disk of the runner (into an LVM volume), these issues went away. See `./scripts/prepare-github-builder.sh`.At the time of writing, the build works. But since this modification relies on the concrete Azure instances
(and their disk layout) Github uses, this might break at any time. Also the missing Swap space might
cause OOM errors.## History
When Fedora 28 came out, it contained a broken driver for cx23885 DVB-C cards,
at least on my machine.Since the fix for that needed some time to be released, but I needed a working
card, and found an unreleased patch fixing the issue, I started to create a
patched kernel RPM for each kernel release.It is implemented as a docker container, so I can even build the RPM on
non-Fedora systems (e.g. on Ubuntu, my Mac, or even on Github).