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

Makefile improvements for the kvm2 driver #4779

Merged
merged 3 commits into from
Jul 17, 2019

Conversation

afbjorklund
Copy link
Collaborator

@afbjorklund afbjorklund commented Jul 16, 2019

Cherry-picked from #4751

Improve the targets for the kvm2 driver, and make sure to build it using the Ubuntu 16.04 docker image.

Until the gcr.io/k8s-minikube/kvm-build-imageimage has been uploaded, build it when necessary...

Double-check the linking of the final binary, to make sure that we have actually fixed #4555 #3689

We should respect the MINIKUBE_BUILD_IN_DOCKER param,
and also make the "docker inspect" output less verbose

And make the windows target repeatable, by leaving the
original output binary (copy instead of move) behind
Make sure that we don't link with libvirt 2.0.0+ by mistake.

Don't need to link the LXC library, as we are not using it.
docker://gcr.io/k8s-minikube/kvm-build-image:latest
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 16, 2019
@afbjorklund afbjorklund requested review from josedonizetti and removed request for sharifelgamal and RA489 July 16, 2019 19:27
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: afbjorklund

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 16, 2019
@afbjorklund afbjorklund requested a review from medyagh July 16, 2019 19:28
Copy link
Member

@josedonizetti josedonizetti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It built correctly locally.

@afbjorklund
Copy link
Collaborator Author

If we are building the drivers in docker now, then we probably don't need to install libvirt-dev locally ?

before_install:
  - sudo apt-get install -y libvirt-dev
install:
  - echo "Don't run anything."

@tstromberg tstromberg changed the title Various fixes for the kvm2 driver Makefile improvements for the kvm2 driver Jul 17, 2019
@tstromberg tstromberg merged commit 4792e02 into kubernetes:master Jul 17, 2019
@tstromberg
Copy link
Contributor

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Latest release kvm2 driver still linking to newer libvirt
4 participants