-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4556 from afbjorklund/kvm2-packages
Add linux packaging for the kvm2 driver binary
- Loading branch information
Showing
5 changed files
with
64 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Package: docker-machine-driver-kvm2 | ||
Version: --VERSION-- | ||
Section: base | ||
Priority: optional | ||
Architecture: amd64 | ||
Depends: libvirt0 (>= 1.3.1) | ||
Recommends: minikube | ||
Maintainer: Thomas Strömberg <t+minikube@stromberg.org> | ||
Description: Machine driver for KVM | ||
minikube uses Docker Machine to manage the Kubernetes VM so it benefits | ||
from the driver plugin architecture that Docker Machine uses to provide | ||
a consistent way to manage various VM providers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
installers/linux/rpm/kvm2_rpm_template/docker-machine-driver-kvm2.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Name: docker-machine-driver-kvm2 | ||
Version: --VERSION-- | ||
Release: 0 | ||
Summary: Machine driver for KVM | ||
License: ASL 2.0 | ||
Group: Development/Tools | ||
URL: https://github.com/kubernetes/minikube | ||
#Requires: <determined automatically by rpm> | ||
|
||
# Needed for older versions of RPM | ||
BuildRoot: %{_tmppath}%{name}-buildroot | ||
|
||
%description | ||
Minikube uses Docker Machine to manage the Kubernetes VM so it benefits | ||
from the driver plugin architecture that Docker Machine uses to provide | ||
a consistent way to manage various VM providers. | ||
|
||
%prep | ||
mkdir -p %{name}-%{version} | ||
cd %{name}-%{version} | ||
cp --OUT--/docker-machine-driver-kvm2 . | ||
|
||
%install | ||
cd %{name}-%{version} | ||
mkdir -p %{buildroot}%{_bindir} | ||
install -m 755 docker-machine-driver-kvm2 %{buildroot}%{_bindir}/%{name} | ||
|
||
%files | ||
%{_bindir}/%{name} |