mirror of
https://github.com/storytold/craft-common-actions.git
synced 2026-11-02 18:06:16 +00:00
fix(flatpak): install elfutils so flatpak-builder can eu-strip modules
flatpak-builder only Recommends elfutils, which --no-install-recommends skips. Apps whose manifests now build cups-client from source (gridcraft, designcraft, wordcraft, pdfcraft) fail in the Flatpak job with: Failed to execute child process "eu-strip". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -619,7 +619,9 @@ jobs:
|
||||
- name: Install flatpak-builder
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends flatpak flatpak-builder librsvg2-common
|
||||
# elfutils is only a Recommends of flatpak-builder, but flatpak-builder runs its eu-strip
|
||||
# on every module it builds with debuginfo, such as the apps' cups-client.
|
||||
sudo apt-get install -y --no-install-recommends flatpak flatpak-builder elfutils librsvg2-common
|
||||
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
|
||||
- name: Build the Flatpak bundle
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user