forked from pool/libvirt
- Spec file fixes to only package libvirt-login-shell when
building the LXC driver OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=317
This commit is contained in:
parent
53a4a5c7fa
commit
8296f9e96d
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 22 12:28:03 MDT 2013 - jfehlig@suse.com
|
||||||
|
|
||||||
|
- Spec file fixes to only package libvirt-login-shell when
|
||||||
|
building the LXC driver
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 21 11:33:03 MDT 2013 - jfehlig@suse.com
|
Mon Oct 21 11:33:03 MDT 2013 - jfehlig@suse.com
|
||||||
|
|
||||||
|
13
libvirt.spec
13
libvirt.spec
@ -900,14 +900,18 @@ Requires: augeas
|
|||||||
Includes the Sanlock lock manager plugin for the QEMU driver
|
Includes the Sanlock lock manager plugin for the QEMU driver
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with_lxc}
|
||||||
|
|
||||||
%package login-shell
|
%package login-shell
|
||||||
Summary: Login shell for containers
|
Summary: Login shell for connecting users to an LXC container
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name}-client = %{version}-%{release}
|
Requires: %{name}-client = %{version}-%{release}
|
||||||
|
|
||||||
%description login-shell
|
%description login-shell
|
||||||
Povides virt-login-shell, a tool to execute a shell within a container
|
Provides the set-uid virt-login-shell binary that is used to
|
||||||
matching the users name
|
connect a user to an LXC container when they login, by switching
|
||||||
|
namespaces.
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with_python}
|
%if %{with_python}
|
||||||
|
|
||||||
@ -1680,6 +1684,8 @@ fi
|
|||||||
%attr(0755, root, root) %{_libdir}/%{name}/libvirt_sanlock_helper
|
%attr(0755, root, root) %{_libdir}/%{name}/libvirt_sanlock_helper
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with_lxc}
|
||||||
|
|
||||||
%files login-shell
|
%files login-shell
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%config(noreplace) %{_sysconfdir}/libvirt/virt-login-shell.conf
|
%config(noreplace) %{_sysconfdir}/libvirt/virt-login-shell.conf
|
||||||
@ -1688,6 +1694,7 @@ fi
|
|||||||
# In the meantime, don't install setuid
|
# In the meantime, don't install setuid
|
||||||
#%attr(4755, root, root) %{_bindir}/virt-login-shell
|
#%attr(4755, root, root) %{_bindir}/virt-login-shell
|
||||||
%{_bindir}/virt-login-shell
|
%{_bindir}/virt-login-shell
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with_python}
|
%if %{with_python}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user