2 %define with_switch_root
1
4 %define with_switch_root
1
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
35 Requires: fileutils
, grep
, mount
, gzip
, tar
, mktemp
>= 1.5-5, findutils
36 Requires: lvm2
>= 2.02.33-9, dhclient
37 Requires: filesystem
>= 2.1.0, cpio
, device
-mapper
, initscripts
>= 8.63-1
38 Requires: e2fsprogs
>= 1.38-12, libselinux
, libsepol
, coreutils
39 Requires: mdadm
, elfutils
-libelf
, plymouth
>= 0.7.0
40 Requires: cryptsetup
-luks
46 %if ! 0%{?with_switch_root}
47 Requires: /sbin
/switch_root
52 dracut is a new
, event
-driven initramfs infrastructure based around udev.
56 Summary: Metapackage to build a generic initramfs
57 Requires: %{name} = %{version}-%{release}
58 Requires: rpcbind nfs
-utils
59 Requires: iscsi
-initiator
-utils
61 Requires: net
-tools iproute
62 Requires: kernel
-firmware
63 Requires: ql2100
-firmware
64 Requires: ql2200
-firmware
65 Requires: ql23xx
-firmware
66 Requires: ql2400
-firmware
67 Requires: ql2500
-firmware
70 This package requires everything which is needed to build a generic
71 all purpose initramfs.
74 %setup -q
-n
%{name}-%{version}%{?dashgittag}
81 rm -rf $RPM_BUILD_ROOT
82 make install DESTDIR
=$RPM_BUILD_ROOT sbindir
=/sbin sysconfdir
=/etc mandir
=%{_mandir}
84 %if ! 0%{?with_switch_root}
85 rm -f $RPM_BUILD_ROOT
/sbin
/switch_root
89 rm -rf $RPM_BUILD_ROOT
92 %defattr(-,root
,root
,0755)
93 %doc README HACKING TODO COPYING AUTHORS
95 %if 0%{?with_switch_root}
98 %dir %{_datadir}/dracut
99 %{_datadir}/dracut
/dracut
-functions
100 %{_datadir}/dracut
/modules.d
101 %config(noreplace
) /etc
/dracut.conf
102 %{_mandir}/man8
/dracut
.8*
105 %defattr(-,root
,root
,0755)
109 * Sat Jul
04 2009 Harald Hoyer
<harald@redhat.com
> 0.4-1
112 * Thu Jul
02 2009 Harald Hoyer
<harald@redhat.com
> 0.3-1
115 * Wed Jul
01 2009 Harald Hoyer
<harald@redhat.com
> 0.2-1
118 * Fri Jun
19 2009 Harald Hoyer
<harald@redhat.com
> 0.1-1
121 * Thu Dec
18 2008 Jeremy Katz
<katzj@redhat.com
> - 0.0-1