https://github.com/primalmotion/librem5-linux-builder
Container to cross build your Librem 5 kernel
https://github.com/primalmotion/librem5-linux-builder
build container kernel librem5 linux purism
Last synced: over 1 year ago
JSON representation
Container to cross build your Librem 5 kernel
- Host: GitHub
- URL: https://github.com/primalmotion/librem5-linux-builder
- Owner: primalmotion
- Created: 2023-03-07T19:26:38.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T19:36:30.000Z (about 3 years ago)
- Last Synced: 2025-01-11T08:27:27.551Z (over 1 year ago)
- Topics: build, container, kernel, librem5, linux, purism
- Language: Dockerfile
- Homepage:
- Size: 114 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# librem5-linux-builder

Build your Librem 5 kernel locally, from any distribution.
> NOTE: If you use docker, just replace `podman` by `docker`. The commands are
> the same.
## Build the container
First, you need to build the container:
podman build -t librem5-linux-builder .
## Build the kernel
You must have a clone of `https://source.puri.sm/librem5/linux`.
Then launch the container:
podman run -it -v /path/to/l5-linux-clone:/mnt/src
The built deb archive will be available in your librem5 linux clone in
`_build/debian`.
By default, the container does not clean the previous build. If you wish to
start fresh, run:
podman run -it -e DPKG_BUILDPACKAGE_OPTS="" -v l5-linux-clone:/mnt/src