flatcar-scripts/build_library/sysext_mangle_flatcar-python
Jendrik Weise 64c9ed5820 sysext: Add python sysext
Minimal sysext containing dev-lang/python and dev-python/pip.
Enabled ensurepip for python and added required packages from Gentoo.
2024-05-29 19:18:18 +02:00

11 lines
126 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
rootfs="${1}"
pushd "${rootfs}"
rm -rf ./usr/{lib/debug,share,include,lib64/pkgconfig}
popd