2 %define with_switch_root
1
4 %define with_switch_root
0
8 %define rdist
1.git
%{gittag}%{?dist}
9 %define dashgittag
-%{gittag}
11 %define rdist
%{?dist}
17 Summary: Initramfs generator using udev
18 Group: System Environment
/Base
20 URL: http
://apps.sourceforge.net
/trac
/dracut
/wiki
21 Source0: dracut
-%{version}%{?dashgittag}.tar.bz2
22 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
24 Requires: util
-linux
-ng
25 Requires: module
-init
-tools
>= 3.7-9
32 Requires: mktemp
>= 1.5-5
36 Requires: fileutils
, gzip
, tar
37 Requires: lvm2
>= 2.02.33-9, dhclient
38 Requires: filesystem
>= 2.1.0, cpio
, device
-mapper
, initscripts
>= 8.63-1
39 Requires: e2fsprogs
>= 1.38-12, libselinux
, libsepol
, coreutils
40 Requires: mdadm
, elfutils
-libelf
, plymouth
>= 0.7.0
41 Requires: cryptsetup
-luks
42 Requires: bridge
-utils
50 %if ! 0%{?with_switch_root}
51 Requires: util
-linux
-ng
>= 2.16
56 dracut is a new
, event
-driven initramfs infrastructure based around udev.
59 Summary: Metapackage to build a generic initramfs with dracut
60 Requires: %{name} = %{version}-%{release}
61 Requires: rpcbind nfs
-utils
62 Requires: iscsi
-initiator
-utils
64 Requires: net
-tools iproute
65 Requires: plymouth
-system
-theme plymouth
-theme
-charge plymouth
-theme
-solar
68 This package requires everything which is needed to build a generic
69 all purpose initramfs with dracut.
72 Summary: Metapackage to build generic initramfs with dracut with only kernel modules
73 Requires: %{name} = %{version}-%{release}
74 Requires: ql2100
-firmware
75 Requires: ql2200
-firmware
76 Requires: ql23xx
-firmware
77 Requires: ql2400
-firmware
78 Requires: ql2500
-firmware
81 This package requires everything which is needed to build a initramfs with all
82 kernel modules and firmware files needed by dracut modules.
85 Summary: dracut tools to build the
local initramfs
86 Requires: coreutils cryptsetup
-luks device
-mapper
87 Requires: diffutils dmraid findutils gawk grep lvm2
88 Requires: module
-init
-tools sed
92 This package contains tools to assemble the
local initrd and host configuration.
95 %setup -q
-n
%{name}-%{version}%{?dashgittag}
102 rm -rf $RPM_BUILD_ROOT
103 make install DESTDIR
=$RPM_BUILD_ROOT sbindir
=/sbin sysconfdir
=/etc mandir
=%{_mandir}
105 %if ! 0%{?with_switch_root}
106 rm -f $RPM_BUILD_ROOT
/sbin
/switch_root
109 mkdir -p $RPM_BUILD_ROOT
/boot
/dracut
110 mkdir -p $RPM_BUILD_ROOT
/var
/lib
/dracut
/overlay
113 rm -rf $RPM_BUILD_ROOT
116 %defattr(-,root
,root
,0755)
117 %doc README HACKING TODO COPYING AUTHORS
119 %if 0%{?with_switch_root}
122 %dir %{_datadir}/dracut
123 %{_datadir}/dracut
/dracut
-functions
124 %{_datadir}/dracut
/modules.d
125 %config(noreplace
) /etc
/dracut.conf
126 %{_mandir}/man8
/dracut
.8*
129 %defattr(-,root
,root
,0755)
133 %defattr(-,root
,root
,0755)
137 %defattr(-,root
,root
,0755)
139 /sbin
/dracut
-gencmdline
140 /sbin
/dracut
-catimages
143 %dir /var
/lib
/dracut
/overlay
146 * Thu Aug
06 2009 Harald Hoyer
<harald@redhat.com
> 0.8-1
148 - see http
://dracut.git.sourceforge.net
/git
/gitweb.cgi?p
=dracut
;a
=blob_plain
;f
=NEWS
150 * Fri Jul
24 2009 Harald Hoyer
<harald@redhat.com
> 0.7-1
152 - see http
://dracut.git.sourceforge.net
/git
/gitweb.cgi?p
=dracut
;a
=blob_plain
;f
=NEWS
154 * Wed Jul
22 2009 Harald Hoyer
<harald@redhat.com
> 0.6-1
156 - see http
://dracut.git.sourceforge.net
/git
/gitweb.cgi?p
=dracut
;a
=blob_plain
;f
=NEWS
158 * Fri Jul
17 2009 Harald Hoyer
<harald@redhat.com
> 0.5-1
160 - see http
://dracut.git.sourceforge.net
/git
/gitweb.cgi?p
=dracut
;a
=blob_plain
;f
=NEWS
162 * Sat Jul
04 2009 Harald Hoyer
<harald@redhat.com
> 0.4-1
164 - see http
://dracut.git.sourceforge.net
/git
/gitweb.cgi?p
=dracut
;a
=blob_plain
;f
=NEWS
166 * Thu Jul
02 2009 Harald Hoyer
<harald@redhat.com
> 0.3-1
168 - see http
://dracut.git.sourceforge.net
/git
/gitweb.cgi?p
=dracut
;a
=blob_plain
;f
=NEWS
170 * Wed Jul
01 2009 Harald Hoyer
<harald@redhat.com
> 0.2-1
173 * Fri Jun
19 2009 Harald Hoyer
<harald@redhat.com
> 0.1-1
176 * Thu Dec
18 2008 Jeremy Katz
<katzj@redhat.com
> - 0.0-1