-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
install kubectl along with oc in rpm spec #20918
install kubectl along with oc in rpm spec #20918
Conversation
origin.spec
Outdated
@@ -299,7 +299,7 @@ for cmd in \ | |||
openshift-router \ | |||
kubectl | |||
do | |||
ln -s oc %{buildroot}%{_bindir}/$cmd | |||
ln -f -s oc %{buildroot}%{_bindir}/$cmd |
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.
This is creating a link in %{_bindir} == /usr/bin
The e-mail complain I see is about this line failing:
%{_datadir}/%{name}/linux/kubectl
where %{_datadir}
== /usr/share
What is creating those files in `%{buildroot}%{_datadir} ?
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.
Did you mean to include the right kubectl files back up about lines 278-280?
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 believe they are created by make build
(line 227), you are right, I have to add them along with 'oc' in 278. Updated.
f30d1ea
to
e59af1b
Compare
e59af1b
to
926262d
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eparis, mfojtik The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/cherrypick release-3.11 |
@mfojtik: new pull request created: #20932 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
No description provided.