|
Harald Hoyer |
0840a3 |
From ac13778f60f3a9568eaa2b480a77563337575d91 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
0840a3 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
0840a3 |
Date: Tue, 16 Jun 2015 15:17:39 +0200
|
|
Harald Hoyer |
0840a3 |
Subject: [PATCH] dracut.spec: move dmsquash and livnet to subpackage
|
|
Harald Hoyer |
0840a3 |
|
|
Harald Hoyer |
0840a3 |
dmsquash and livenet need img-lib, which needs tar, which is normally
|
|
Harald Hoyer |
0840a3 |
not needed.
|
|
Harald Hoyer |
0840a3 |
---
|
|
Harald Hoyer |
0840a3 |
dracut.spec | 19 ++++++++++++++++---
|
|
Harald Hoyer |
0840a3 |
1 file changed, 16 insertions(+), 3 deletions(-)
|
|
Harald Hoyer |
0840a3 |
|
|
Harald Hoyer |
0840a3 |
diff --git a/dracut.spec b/dracut.spec
|
|
Harald Hoyer |
0840a3 |
index 6b37dc3..58510db 100644
|
|
Harald Hoyer |
0840a3 |
--- a/dracut.spec
|
|
Harald Hoyer |
0840a3 |
+++ b/dracut.spec
|
|
Harald Hoyer |
0840a3 |
@@ -168,6 +168,16 @@ Requires: libcap
|
|
Harald Hoyer |
0840a3 |
This package requires everything which is needed to build an
|
|
Harald Hoyer |
0840a3 |
initramfs with dracut, which drops capabilities.
|
|
Harald Hoyer |
0840a3 |
|
|
Harald Hoyer |
0840a3 |
+%package live
|
|
Harald Hoyer |
0840a3 |
+Summary: dracut modules to build a dracut initramfs with live image capabilities
|
|
Harald Hoyer |
0840a3 |
+Requires: %{name} = %{version}-%{release}
|
|
Harald Hoyer |
0840a3 |
+Requires: %{name}-network = %{version}-%{release}
|
|
Harald Hoyer |
0840a3 |
+Requires: tar gzip coreutils bash device-mapper curl
|
|
Harald Hoyer |
0840a3 |
+
|
|
Harald Hoyer |
0840a3 |
+%description live
|
|
Harald Hoyer |
0840a3 |
+This package requires everything which is needed to build an
|
|
Harald Hoyer |
0840a3 |
+initramfs with dracut, with live image capabilities, like Live CDs.
|
|
Harald Hoyer |
0840a3 |
+
|
|
Harald Hoyer |
0840a3 |
%package config-generic
|
|
Harald Hoyer |
0840a3 |
Summary: dracut configuration to turn off hostonly image generation
|
|
Harald Hoyer |
0840a3 |
Requires: %{name} = %{version}-%{release}
|
|
Harald Hoyer |
0840a3 |
@@ -345,7 +355,6 @@ rm -rf -- $RPM_BUILD_ROOT
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/90crypt
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/90dm
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/90dmraid
|
|
Harald Hoyer |
0840a3 |
-%{dracutlibdir}/modules.d/90dmsquash-live
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/90kernel-modules
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/90lvm
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/90mdraid
|
|
Harald Hoyer |
0840a3 |
@@ -379,7 +388,6 @@ rm -rf -- $RPM_BUILD_ROOT
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/98usrmount
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/99base
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/99fs-lib
|
|
Harald Hoyer |
0840a3 |
-%{dracutlibdir}/modules.d/99img-lib
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/99shutdown
|
|
Harald Hoyer |
0840a3 |
%attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
|
|
Harald Hoyer |
0840a3 |
%dir %{_sharedstatedir}/initramfs
|
|
Harald Hoyer |
0840a3 |
@@ -413,7 +421,6 @@ rm -rf -- $RPM_BUILD_ROOT
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/90kernel-network-modules
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/95fcoe
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/95iscsi
|
|
Harald Hoyer |
0840a3 |
-%{dracutlibdir}/modules.d/90livenet
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/90qemu-net
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/95cifs
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/95nbd
|
|
Harald Hoyer |
0840a3 |
@@ -440,6 +447,12 @@ rm -rf -- $RPM_BUILD_ROOT
|
|
Harald Hoyer |
0840a3 |
%defattr(-,root,root,0755)
|
|
Harald Hoyer |
0840a3 |
%{dracutlibdir}/modules.d/02caps
|
|
Harald Hoyer |
0840a3 |
|
|
Harald Hoyer |
0840a3 |
+%files live
|
|
Harald Hoyer |
0840a3 |
+%defattr(-,root,root,0755)
|
|
Harald Hoyer |
0840a3 |
+%{dracutlibdir}/modules.d/99img-lib
|
|
Harald Hoyer |
0840a3 |
+%{dracutlibdir}/modules.d/90dmsquash-live
|
|
Harald Hoyer |
0840a3 |
+%{dracutlibdir}/modules.d/90livenet
|
|
Harald Hoyer |
0840a3 |
+
|
|
Harald Hoyer |
0840a3 |
%files tools
|
|
Harald Hoyer |
0840a3 |
%defattr(-,root,root,0755)
|
|
Harald Hoyer |
0840a3 |
|