From 3ee764d9193ae22331aa5894a1821453e9542992 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com> Date: Thu, 5 Sep 2024 10:41:27 -0300 Subject: [PATCH] fix(packager): AppImage bundling failing due to missing /usr/lib64 directory (#270) * fix * add change file --- .changes/fix-appimage-bundle.md | 5 +++++ crates/packager/src/package/appimage/appimage | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changes/fix-appimage-bundle.md diff --git a/.changes/fix-appimage-bundle.md b/.changes/fix-appimage-bundle.md new file mode 100644 index 00000000..3a5c5e54 --- /dev/null +++ b/.changes/fix-appimage-bundle.md @@ -0,0 +1,5 @@ +--- +"cargo-packager": patch +--- + +Fixes AppImage bundling failing due to missing `/usr/lib64` directory. diff --git a/crates/packager/src/package/appimage/appimage b/crates/packager/src/package/appimage/appimage index 01a8b681..5501e3a9 100644 --- a/crates/packager/src/package/appimage/appimage +++ b/crates/packager/src/package/appimage/appimage @@ -15,6 +15,7 @@ cp -r ../appimage_deb/data/* "{{app_name}}.AppDir" cd "{{app_name}}.AppDir" mkdir -p "usr/bin" mkdir -p "usr/lib" +mkdir -p "usr/lib64" # Copy libs. Follow symlinks in case `/usr/lib64` is a symlink to `/usr/lib` {{#each libs}}