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
68 Requires: plymouth
-system
-theme plymouth
-theme
-charge plymouth
-theme
-solar
71 This package requires everything which is needed to build a generic
72 all purpose initramfs.
75 %setup -q
-n
%{name}-%{version}%{?dashgittag}
82 rm -rf $RPM_BUILD_ROOT
83 make install DESTDIR
=$RPM_BUILD_ROOT sbindir
=/sbin sysconfdir
=/etc mandir
=%{_mandir}
85 %if ! 0%{?with_switch_root}
86 rm -f $RPM_BUILD_ROOT
/sbin
/switch_root
90 rm -rf $RPM_BUILD_ROOT
93 %defattr(-,root
,root
,0755)
94 %doc README HACKING TODO COPYING AUTHORS
96 %if 0%{?with_switch_root}
99 %dir %{_datadir}/dracut
100 %{_datadir}/dracut
/dracut
-functions
101 %{_datadir}/dracut
/modules.d
102 %config(noreplace
) /etc
/dracut.conf
103 %{_mandir}/man8
/dracut
.8*
106 %defattr(-,root
,root
,0755)
110 * Sat Jul
04 2009 Harald Hoyer
<harald@redhat.com
> 0.4-1
113 * Thu Jul
02 2009 Harald Hoyer
<harald@redhat.com
> 0.3-1
116 * Wed Jul
01 2009 Harald Hoyer
<harald@redhat.com
> 0.2-1
119 * Fri Jun
19 2009 Harald Hoyer
<harald@redhat.com
> 0.1-1
122 * Thu Dec
18 2008 Jeremy Katz
<katzj@redhat.com
> - 0.0-1