Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snapcraft: don't try to strip udev rules or systemd units #184

Merged
merged 1 commit into from
Oct 12, 2023
Merged
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: 2 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,8 @@ parts:
# Strip libraries (excluding python3 scripts)
find "${CRAFT_PRIME}"/lib -type f \
-not -path "${CRAFT_PRIME}/lib/python3/*" \
-not -path "${CRAFT_PRIME}/lib/udev/rules.d/*" \
-not -path "${CRAFT_PRIME}/lib/systemd/system/*" \
-exec strip -s {} +

if [ "$(uname -m)" != "riscv64" ]; then
Expand Down
Loading