-
Couldn't load subscription status.
- Fork 450
install.sh: consider multilib #452
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
Conversation
|
Please add a test for this feature. |
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.
Please add a test for this feature and document its usage on line 11-12
4454b46 to
a007515
Compare
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.
The actual lib folder is not checked. This is already a shortcoming of the test you used as a source for copying. Could you fix both please?
Done. |
It may install files to /usr/lib64 when multilib is enabled. Add an optional parameter for install.sh to support it. And add test case for it. It just copied the first test case in install.bats and pass the second parameter to script install.sh. Then check files under libdir for both test cases. Add function teardown() in install.bats as well. Signed-off-by: Kai Kang <[email protected]>
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 added the missing tests for successful removal of the lib folder which uncovered that uninstall.sh did not allow for configuring the lib folder. Fixed that too.
d2d5f60 to
74a4bee
Compare
Thanks. |
|
Did you actually try to use this on an existing system @kkang-wr ? The internal code relies on a hardcoded path from The install script would actually have tell the |
|
It is my fault. I'll fix it ASAP. |
|
@martin-schulze-vireso I submiited a pr #487 to fix the issue. Would you like to review it, pleas? |
It may install files to /usr/lib64 when multilib is enabled. Add an
optional parameter for install.sh to support it.
Signed-off-by: Kai Kang [email protected]