Skip to content

Commit

Permalink
Merge pull request #95 from fhemberger/chore/build-instructions
Browse files Browse the repository at this point in the history
README: Add sysext build instructions, fixes #94
  • Loading branch information
tormath1 authored Oct 21, 2024
2 parents b7aaad4 + b63420c commit f8155bd
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,42 @@ Note that this configuration can be customized in terms of where Ollama is confi

Please refer to the [Ollama documentation for further details](https://github.com/ollama/ollama/tree/main/docs).

### Building sysext images

To use the build scripts in this repository, the following packages are required:

- `curl`
- `jq`
- `squashfs-tools`
- `xz-utils`
- `gawk`
- [`yq`](https://github.com/mikefarah/yq/releases/latest/)


#### Build individual sysext image

To build the Kubernetes sysext for example, use:

```sh
./create_kubernetes_sysext.sh v1.29.8 kubernetes
```

Afterwards, you can test the sysext image with:

```sh
sudo cp kubernetes.raw /etc/extensions/kubernetes.raw
sudo systemd-sysext refresh
kubeadm version
```

#### Build all sysext images in this repository

This builds `x86-64` and `arm64` versions of **all** sysext images listed in `release_build_versions.txt`. This takes some time.

```sh
./release_build.sh
```

### Creating a custom Docker sysext image

The Docker releases publish static binaries including containerd and the only missing piece are the systemd units.
Expand Down

0 comments on commit f8155bd

Please sign in to comment.