From 52881470eec620c2447a5eb03d93db8946101e37 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 10 Mar 2011 19:22:40 +0100 Subject: [PATCH] dracut.spec: add caps subpackage --- dracut.spec | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dracut.spec b/dracut.spec index 0f42611..0bc8b7a 100644 --- a/dracut.spec +++ b/dracut.spec @@ -144,6 +144,15 @@ This package requires everything which is needed to build an all purpose initramfs with dracut, which does an integrity check. %endif +%package caps +Summary: Dracut modules to build a dracut initramfs which drops capabilities +Requires: %{name} = %{version}-%{release} +Requires: libcap + +%description caps +This package requires everything which is needed to build an +all purpose initramfs with dracut, which drops capabilities. + %package tools Summary: Dracut tools to build the local initramfs Requires: %{name} = %{version}-%{release} @@ -272,6 +281,10 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/dracut/modules.d/01fips %endif +%files caps +%defattr(-,root,root,0755) +%{_datadir}/dracut/modules.d/02caps + %files tools %defattr(-,root,root,0755) %{_mandir}/man8/dracut-gencmdline.8* -- 2.7.4