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

Add compatibility with Debian's obs-build #306

Merged
merged 1 commit into from Jul 8, 2017

Conversation

bluca
Copy link
Contributor

@bluca bluca commented Jul 7, 2017

In Debian and Ubuntu build is renamed to obs-build for disambiguation
purposes.
Add a simple check to use the correct paths if running on Debian and
use /usr/bin/obs-build and /usr/lib/obs-build if so.

This is a constant source of errors and confusion for a lot of our users. Hopefully this very simple fix can put an end to that.

In Debian and Ubuntu build is renamed to obs-build for disambiguation
purposes.
Add a simple check to use the correct paths if running on Debian and
use /usr/bin/obs-build and /usr/lib/obs-build if so.
@marcus-h marcus-h merged commit af5a38f into openSUSE:master Jul 8, 2017
@marcus-h
Copy link
Member

marcus-h commented Jul 8, 2017 via email

@bluca bluca deleted the obs-build branch July 8, 2017 12:31
@bluca
Copy link
Contributor Author

bluca commented Jul 8, 2017

Thanks! I prefer explicit imports too.

I have now forwarded the patch to Debian as well:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867680

@bluca
Copy link
Contributor Author

bluca commented Jul 9, 2017

I've also sent a request to make osc depend on "build | obs-build" instead of "build", so that it can be installed with Debian's version too:

https://build.opensuse.org/request/show/509034

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.

None yet

2 participants