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

mali450-userland: use hardlinks instead of symlinks to fix the issue with RPM packaging #158

Merged
merged 1 commit into from
Jun 30, 2017

Conversation

andrey-konovalov
Copy link
Contributor

@andrey-konovalov andrey-konovalov commented Jun 27, 2017

This fixes #156

This is needed to fix builds which use RPM package format for HiKey, RPB and RPB based builds in particular. E.g. RPB build 71 :
Computing transaction...error: Can't install glmark2-2014.03+0+fa71af2dfa-r0@aarch64: no package provides libEGL.so()(64bit)

@koenkooi
Copy link
Contributor

Since we're doing the symlinking ourselves anyway, it's a decent workaround. Can you check these are still hardlinks on the target after installing?
If they aren't, can you add a comment to the recipe saying that?

@fboudra
Copy link
Member

fboudra commented Jun 28, 2017

isn't it a bug in rpm?

@andrey-konovalov
Copy link
Contributor Author

Yes, they are still hardlinks on the target.

@andrey-konovalov
Copy link
Contributor Author

For me it looks like an rpm bug. And I need to fix builds for HiKey this or another way :)

@fboudra
Copy link
Member

fboudra commented Jun 30, 2017

@andrey-konovalov do you mind to add some text in the recipe to mention the issue encountered ln -sf vs ln -f . Something similar to the commit message will do. Also, drop workaround from $subject. And it isn't specific to LHG builds. RPB builds are affected. So I'll remove also this part.

@andrey-konovalov andrey-konovalov changed the title mali450-userland: workaround - use hardlinks instead of symlinks mali450-userland: use hardlinks instead of symlinks to fix the issue with RPM packaging Jun 30, 2017
rpm doesn't set the correct arch for symlinks:
96boards#156

Signed-off-by: Andrey Konovalov <[email protected]>
@andrey-konovalov
Copy link
Contributor Author

@fboudra updated the commit - added the comment to the recipe

@fboudra fboudra merged commit 3015849 into 96boards:morty Jun 30, 2017
@andrey-konovalov andrey-konovalov deleted the issue-156-workaround branch December 20, 2017 09:18
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.

3 participants