Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build_library/sysext_mangle_flatcar-incus
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ rootfs="${1}"

pushd "${rootfs}"

rm -rf ./usr/{lib/debug,lib64/pkgconfig,include}/
rm -rf ./usr/{lib/debug,lib64/pkgconfig,include,lib64/cmake}/
Comment on lines 5 to +8

pushd ./usr/lib/systemd/system
mkdir -p "multi-user.target.d"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

set -euo pipefail

rootfs="${1}"

rm -rf "${rootfs}/usr/lib/debug"
Comment on lines +5 to +7
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -euo pipefail

rootfs=${1}

rm -rf "${rootfs}/usr/lib/debug"
Comment on lines 5 to +7

# Remove test stuff from python - it's quite large.
for p in "${rootfs}"/usr/lib/python*; do
if [[ ! -d ${p} ]]; then
Expand Down