-
Notifications
You must be signed in to change notification settings - Fork 13
Fix for #24 #29
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
Fix for #24 #29
Conversation
linuxdeploy-plugin-gtk.sh
Outdated
@@ -315,6 +304,7 @@ PATCH_ARRAY=( | |||
for directory in "${PATCH_ARRAY[@]}"; do | |||
while IFS= read -r -d '' file; do | |||
# shellcheck disable=SC2016 | |||
patchelf --set-rpath '$ORIGIN/../../../..' "$APPDIR/$file" | |||
patchelf --set-rpath '$ORIGIN' "$APPDIR/$file" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if still required. linuxdeploy.AppImage already to this automatically if I am correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the main issue with this line is that it forcefully overwrites the existing rpath. I think linuxdeploy now just appends to the rpath, in case it exists.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I removed patchelf
dependency in 07ebdec.
It seems it was removed in 3c78e96 for no reason
I am able to run CPU-X without warnings now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great to get rid of patchelf as a dependency, as well as getting rid of the tempdir. Thanks a ton @x0rg.
CC #21: patchelf is no longer needed. |
This fix for #24 is to avoid to use a temporary directory for
immodules.cache
andloaders.cache
files.Please try and comment.