Files
axe-os/stage/prechroot/cleanup.bash
2026-03-29 12:35:06 +02:00

10 lines
172 B
Bash

sudo chroot "$SYSROOT" /usr/bin/env -i \
/usr/bin/bash <<- "EOF"
rm -rf /usr/share/{info,man,doc}/*
find /usr/{lib,libexec} -name \*.la -delete
rm -rf /cross
EOF