Skip to content

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

Merged
merged 6 commits into from
Feb 20, 2022
Merged

Fix for #24 #29

merged 6 commits into from
Feb 20, 2022

Conversation

TheTumultuousUnicornOfDarkness
Copy link
Collaborator

This fix for #24 is to avoid to use a temporary directory for immodules.cache and loaders.cache files.
Please try and comment.

@@ -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"
Copy link
Collaborator Author

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.

Copy link
Member

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.

Copy link
Collaborator Author

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.

@TheTumultuousUnicornOfDarkness
Copy link
Collaborator Author

I am able to run CPU-X without warnings now.

@TheTumultuousUnicornOfDarkness TheTumultuousUnicornOfDarkness marked this pull request as ready for review February 17, 2022 06:51
Copy link
Member

@TheAssassin TheAssassin left a 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.

@TheAssassin
Copy link
Member

CC #21: patchelf is no longer needed.

@TheAssassin TheAssassin merged commit d4fc272 into master Feb 20, 2022
TheAssassin pushed a commit that referenced this pull request Feb 20, 2022
@TheAssassin TheAssassin deleted the fix_24 branch February 20, 2022 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants