Skip to content

Commit

Permalink
sysext: Add python sysext
Browse files Browse the repository at this point in the history
Minimal sysext containing dev-lang/python and dev-python/pip.
  • Loading branch information
JeWe37 committed May 4, 2024
1 parent 17ea3f2 commit 3bd1209
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions build_library/extra_sysexts.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
EXTRA_SYSEXTS=(
zfs:sys-fs/zfs
podman:app-containers/podman,net-misc/passt
python:dev-lang/python,dev-python/pip
)
10 changes: 10 additions & 0 deletions build_library/sysext_mangle_flatcar-python
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

set -euo pipefail
rootfs="${1}"

pushd "${rootfs}"

rm -rf ./usr/{lib/debug,share,include,lib64/pkgconfig}

popd
1 change: 1 addition & 0 deletions changelog/changes/2024-05-04-python.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Provided a Python Flatcar extension as optional systemd-sysext image with the release. Write 'python' to `/etc/flatcar/enabled-sysext.conf` through Ignition and the sysext will be installed during provisioning ([scripts#1979](https://github.com/flatcar/scripts/pull/1979))
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ RDEPEND="
sys-fs/zfs
app-containers/podman
net-misc/passt
dev-lang/python
dev-python/pip
"

0 comments on commit 3bd1209

Please sign in to comment.