|
Harald Hoyer |
cd7a9b |
%define gittag 6f0e469d
|
|
Harald Hoyer |
ef5195 |
%if 0%{?fedora} < 12
|
|
Harald Hoyer |
ef5195 |
%define with_switch_root 1
|
|
Harald Hoyer |
ef5195 |
%else
|
|
Harald Hoyer |
b85672 |
%define with_switch_root 0
|
|
Harald Hoyer |
ef5195 |
%endif
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
ef5195 |
%if %{defined gittag}
|
|
Harald Hoyer |
c518b6 |
%define rdist .git%{gittag}%{?dist}
|
|
Harald Hoyer |
ef5195 |
%define dashgittag -%{gittag}
|
|
Harald Hoyer |
ef5195 |
%else
|
|
Harald Hoyer |
ef5195 |
%define rdist %{?dist}
|
|
Harald Hoyer |
ef5195 |
%endif
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
ef5195 |
Name: dracut
|
|
Harald Hoyer |
c518b6 |
Version: 001
|
|
Harald Hoyer |
5a9298 |
Release: 9%{?rdist}
|
|
Harald Hoyer |
ef5195 |
Summary: Initramfs generator using udev
|
|
Harald Hoyer |
ef5195 |
Group: System Environment/Base
|
|
Harald Hoyer |
ef5195 |
License: GPLv2+
|
|
Harald Hoyer |
ef5195 |
URL: http://apps.sourceforge.net/trac/dracut/wiki
|
|
Harald Hoyer |
ef5195 |
Source0: dracut-%{version}%{?dashgittag}.tar.bz2
|
|
Harald Hoyer |
ef5195 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Harald Hoyer |
ef5195 |
Requires: udev
|
|
Harald Hoyer |
ef5195 |
Requires: util-linux-ng
|
|
Harald Hoyer |
03ea5a |
Requires: module-init-tools >= 3.7-9
|
|
Harald Hoyer |
ef5195 |
Requires: cpio
|
|
Harald Hoyer |
ef5195 |
Requires: coreutils
|
|
Harald Hoyer |
ef5195 |
Requires: findutils
|
|
Harald Hoyer |
bee922 |
Requires: binutils
|
|
Harald Hoyer |
ef5195 |
Requires: grep
|
|
Warren Togami |
508e0d |
Requires: which
|
|
Harald Hoyer |
03ea5a |
Requires: mktemp >= 1.5-5
|
|
Harald Hoyer |
ef5195 |
Requires: mount
|
|
Harald Hoyer |
ef5195 |
Requires: bash
|
|
Harald Hoyer |
cfcf7c |
Requires: dash
|
|
Harald Hoyer |
ef5195 |
Requires: /bin/sh
|
|
Harald Hoyer |
03ea5a |
Requires: fileutils, gzip, tar
|
|
Harald Hoyer |
ef5195 |
Requires: lvm2 >= 2.02.33-9, dhclient
|
|
Harald Hoyer |
ef5195 |
Requires: filesystem >= 2.1.0, cpio, device-mapper, initscripts >= 8.63-1
|
|
Harald Hoyer |
ef5195 |
Requires: e2fsprogs >= 1.38-12, libselinux, libsepol, coreutils
|
|
Harald Hoyer |
ef5195 |
Requires: mdadm, elfutils-libelf, plymouth >= 0.7.0
|
|
Harald Hoyer |
ef5195 |
Requires: cryptsetup-luks
|
|
Warren Togami |
508e0d |
Requires: file
|
|
Warren Togami |
91f402 |
Requires: bzip2
|
|
Harald Hoyer |
ef5195 |
Requires: dmraid
|
|
Dennis Gilmore |
4ca934 |
Requires: kbd
|
|
Harald Hoyer |
5a9298 |
Requires: plymouth-scripts
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
ef5195 |
%if ! 0%{?with_switch_root}
|
|
Harald Hoyer |
b85672 |
Requires: util-linux-ng >= 2.16
|
|
Dennis Gilmore |
afd199 |
BuildArch: noarch
|
|
Harald Hoyer |
ef5195 |
%endif
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
ef5195 |
%description
|
|
Harald Hoyer |
ef5195 |
dracut is a new, event-driven initramfs infrastructure based around udev.
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
c518b6 |
%package network
|
|
Harald Hoyer |
c518b6 |
Summary: dracut modules to build a dracut initramfs with network support
|
|
Harald Hoyer |
ef5195 |
Requires: %{name} = %{version}-%{release}
|
|
Harald Hoyer |
ef5195 |
Requires: rpcbind nfs-utils
|
|
Harald Hoyer |
ef5195 |
Requires: iscsi-initiator-utils
|
|
Harald Hoyer |
ef5195 |
Requires: nbd
|
|
Harald Hoyer |
ef5195 |
Requires: net-tools iproute
|
|
Harald Hoyer |
c518b6 |
Requires: bridge-utils
|
|
Harald Hoyer |
c518b6 |
|
|
Harald Hoyer |
c518b6 |
%description network
|
|
Harald Hoyer |
c518b6 |
This package requires everything which is needed to build a generic
|
|
Harald Hoyer |
c518b6 |
all purpose initramfs with network support with dracut.
|
|
Harald Hoyer |
c518b6 |
|
|
Harald Hoyer |
c518b6 |
%package generic
|
|
Harald Hoyer |
c518b6 |
Summary: Metapackage to build a generic initramfs with dracut
|
|
Harald Hoyer |
c518b6 |
Requires: %{name} = %{version}-%{release}
|
|
Harald Hoyer |
c518b6 |
Requires: %{name}-network = %{version}-%{release}
|
|
Harald Hoyer |
a04253 |
|
|
Harald Hoyer |
a04253 |
%description generic
|
|
Harald Hoyer |
a04253 |
This package requires everything which is needed to build a generic
|
|
Harald Hoyer |
a04253 |
all purpose initramfs with dracut.
|
|
Harald Hoyer |
a04253 |
|
|
Harald Hoyer |
c518b6 |
|
|
Harald Hoyer |
a04253 |
%package kernel
|
|
Harald Hoyer |
a04253 |
Summary: Metapackage to build generic initramfs with dracut with only kernel modules
|
|
Harald Hoyer |
a04253 |
Requires: %{name} = %{version}-%{release}
|
|
Harald Hoyer |
bee922 |
Requires: ql2100-firmware
|
|
Harald Hoyer |
bee922 |
Requires: ql2200-firmware
|
|
Harald Hoyer |
bee922 |
Requires: ql23xx-firmware
|
|
Harald Hoyer |
bee922 |
Requires: ql2400-firmware
|
|
Harald Hoyer |
bee922 |
Requires: ql2500-firmware
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
a04253 |
%description kernel
|
|
Harald Hoyer |
a04253 |
This package requires everything which is needed to build a initramfs with all
|
|
Harald Hoyer |
a04253 |
kernel modules and firmware files needed by dracut modules.
|
|
Harald Hoyer |
a04253 |
|
|
Harald Hoyer |
a04253 |
%package tools
|
|
Harald Hoyer |
a04253 |
Summary: dracut tools to build the local initramfs
|
|
Harald Hoyer |
03ea5a |
Requires: coreutils cryptsetup-luks device-mapper
|
|
Harald Hoyer |
03ea5a |
Requires: diffutils dmraid findutils gawk grep lvm2
|
|
Harald Hoyer |
03ea5a |
Requires: module-init-tools sed
|
|
Harald Hoyer |
03ea5a |
Requires: cpio gzip
|
|
Harald Hoyer |
a04253 |
|
|
Harald Hoyer |
a04253 |
%description tools
|
|
Harald Hoyer |
a04253 |
This package contains tools to assemble the local initrd and host configuration.
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
ef5195 |
%prep
|
|
Harald Hoyer |
ef5195 |
%setup -q -n %{name}-%{version}%{?dashgittag}
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
ef5195 |
%build
|
|
Harald Hoyer |
ef5195 |
make
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
8c4725 |
|
|
Harald Hoyer |
ef5195 |
%install
|
|
Harald Hoyer |
ef5195 |
rm -rf $RPM_BUILD_ROOT
|
|
Harald Hoyer |
c518b6 |
make install DESTDIR=$RPM_BUILD_ROOT sbindir=/sbin \
|
|
Harald Hoyer |
c518b6 |
sysconfdir=/etc mandir=%{_mandir}
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
ef5195 |
%if ! 0%{?with_switch_root}
|
|
Harald Hoyer |
ef5195 |
rm -f $RPM_BUILD_ROOT/sbin/switch_root
|
|
Harald Hoyer |
ef5195 |
%endif
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
a04253 |
mkdir -p $RPM_BUILD_ROOT/boot/dracut
|
|
Harald Hoyer |
a04253 |
mkdir -p $RPM_BUILD_ROOT/var/lib/dracut/overlay
|
|
Harald Hoyer |
a04253 |
|
|
Harald Hoyer |
ef5195 |
%clean
|
|
Harald Hoyer |
ef5195 |
rm -rf $RPM_BUILD_ROOT
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
ef5195 |
%files
|
|
Harald Hoyer |
ef5195 |
%defattr(-,root,root,0755)
|
|
Harald Hoyer |
c518b6 |
%doc README HACKING TODO COPYING AUTHORS NEWS
|
|
Harald Hoyer |
ef5195 |
/sbin/dracut
|
|
Harald Hoyer |
ef5195 |
%if 0%{?with_switch_root}
|
|
Harald Hoyer |
ef5195 |
/sbin/switch_root
|
|
Harald Hoyer |
ef5195 |
%endif
|
|
Harald Hoyer |
ef5195 |
%dir %{_datadir}/dracut
|
|
Harald Hoyer |
ef5195 |
%{_datadir}/dracut/dracut-functions
|
|
Harald Hoyer |
ef5195 |
%config(noreplace) /etc/dracut.conf
|
|
Harald Hoyer |
ef5195 |
%{_mandir}/man8/dracut.8*
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/00dash
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/10redhat-i18n
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/10rpmversion
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/50plymouth
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/90crypt
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/90dmraid
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/90dmsquash-live
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/90kernel-modules
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/90lvm
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/90mdraid
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/95debug
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/95resume
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/95rootfs-block
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/95s390
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/95terminfo
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/95udev-rules
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/95udev-rules.ub810
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/98syslog
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/99base
|
|
Harald Hoyer |
c518b6 |
|
|
Harald Hoyer |
c518b6 |
%files network
|
|
Harald Hoyer |
ef5195 |
%defattr(-,root,root,0755)
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/40network
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/95fcoe
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/95iscsi
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/95nbd
|
|
Harald Hoyer |
c518b6 |
%{_datadir}/dracut/modules.d/95nfs
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
a04253 |
%files kernel
|
|
Harald Hoyer |
a04253 |
%defattr(-,root,root,0755)
|
|
Harald Hoyer |
a04253 |
%doc README.kernel
|
|
Harald Hoyer |
a04253 |
|
|
Harald Hoyer |
c518b6 |
%files generic
|
|
Harald Hoyer |
c518b6 |
%defattr(-,root,root,0755)
|
|
Harald Hoyer |
c518b6 |
%doc README.generic
|
|
Harald Hoyer |
c518b6 |
|
|
Harald Hoyer |
a04253 |
%files tools
|
|
Harald Hoyer |
a04253 |
%defattr(-,root,root,0755)
|
|
Harald Hoyer |
c518b6 |
%doc COPYING NEWS
|
|
Harald Hoyer |
a04253 |
/sbin/dracut-gencmdline
|
|
Harald Hoyer |
a04253 |
/sbin/dracut-catimages
|
|
Harald Hoyer |
a04253 |
%dir /boot/dracut
|
|
Harald Hoyer |
a04253 |
%dir /var/lib/dracut
|
|
Harald Hoyer |
a04253 |
%dir /var/lib/dracut/overlay
|
|
Harald Hoyer |
a04253 |
|
|
Harald Hoyer |
ef5195 |
%changelog
|
|
Harald Hoyer |
cd7a9b |
* Wed Sep 09 2009 Harald Hoyer <harald@redhat.com> 001-8
|
|
Harald Hoyer |
5a9298 |
- added Requires: plymouth-scripts
|
|
Harald Hoyer |
5a9298 |
|
|
Harald Hoyer |
5a9298 |
* Wed Sep 09 2009 Harald Hoyer <harald@redhat.com> 001-8
|
|
Harald Hoyer |
cd7a9b |
- plymouth: use plymouth-populate-initrd
|
|
Harald Hoyer |
cd7a9b |
- add add_drivers for dracut and dracut.conf
|
|
Harald Hoyer |
cd7a9b |
- do not mount /proc and /selinux manually in selinux-load-policy
|
|
Harald Hoyer |
cd7a9b |
|
|
Harald Hoyer |
1184fd |
* Wed Sep 09 2009 Harald Hoyer <harald@redhat.com> 001-7
|
|
Harald Hoyer |
1184fd |
- add scsi_wait_scan to be sure everything was scanned
|
|
Harald Hoyer |
1184fd |
|
|
Harald Hoyer |
8c4725 |
* Tue Sep 08 2009 Harald Hoyer <harald@redhat.com> 001-6
|
|
Harald Hoyer |
8c4725 |
- fixed several problems with md raid containers
|
|
Harald Hoyer |
8c4725 |
- fixed selinux policy loading
|
|
Harald Hoyer |
8c4725 |
|
|
Harald Hoyer |
d0b3b5 |
* Tue Sep 08 2009 Harald Hoyer <harald@redhat.com> 001-5
|
|
Harald Hoyer |
d0b3b5 |
- patch does not honor file modes, fixed them manually
|
|
Harald Hoyer |
d0b3b5 |
|
|
Harald Hoyer |
3fb223 |
* Mon Sep 07 2009 Harald Hoyer <harald@redhat.com> 001-4
|
|
Harald Hoyer |
3fb223 |
- fixed mdraid for IMSM
|
|
Harald Hoyer |
3fb223 |
|
|
Harald Hoyer |
d3fc76 |
* Mon Sep 07 2009 Harald Hoyer <harald@redhat.com> 001-3
|
|
Harald Hoyer |
d3fc76 |
- fixed bug, which prevents installing 61-persistent-storage.rules (bug #520109)
|
|
Harald Hoyer |
d3fc76 |
|
|
Harald Hoyer |
831665 |
* Thu Sep 03 2009 Harald Hoyer <harald@redhat.com> 001-2
|
|
Harald Hoyer |
831665 |
- fixed missing grep for md
|
|
Harald Hoyer |
831665 |
- reorder cleanup
|
|
Harald Hoyer |
831665 |
|
|
Harald Hoyer |
c518b6 |
* Wed Sep 02 2009 Harald Hoyer <harald@redhat.com> 001-1
|
|
Harald Hoyer |
c518b6 |
- version 001
|
|
Harald Hoyer |
c518b6 |
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
|
|
Harald Hoyer |
dc6040 |
|
|
Harald Hoyer |
cfcf7c |
* Fri Aug 14 2009 Harald Hoyer <harald@redhat.com> 0.9-1
|
|
Harald Hoyer |
cfcf7c |
- version 0.9
|
|
Harald Hoyer |
cfcf7c |
|
|
Harald Hoyer |
03ea5a |
* Thu Aug 06 2009 Harald Hoyer <harald@redhat.com> 0.8-1
|
|
Harald Hoyer |
03ea5a |
- version 0.8
|
|
Harald Hoyer |
c518b6 |
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
|
|
Harald Hoyer |
b85672 |
|
|
Harald Hoyer |
a04253 |
* Fri Jul 24 2009 Harald Hoyer <harald@redhat.com> 0.7-1
|
|
Harald Hoyer |
a04253 |
- version 0.7
|
|
Harald Hoyer |
c518b6 |
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
|
|
Harald Hoyer |
a04253 |
|
|
Harald Hoyer |
a04253 |
* Wed Jul 22 2009 Harald Hoyer <harald@redhat.com> 0.6-1
|
|
Harald Hoyer |
a04253 |
- version 0.6
|
|
Harald Hoyer |
c518b6 |
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
|
|
Jesse Keating |
e82e01 |
|
|
Harald Hoyer |
d3fe3a |
* Fri Jul 17 2009 Harald Hoyer <harald@redhat.com> 0.5-1
|
|
Harald Hoyer |
d3fe3a |
- version 0.5
|
|
Harald Hoyer |
c518b6 |
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
|
|
Harald Hoyer |
d3fe3a |
|
|
Harald Hoyer |
bee922 |
* Sat Jul 04 2009 Harald Hoyer <harald@redhat.com> 0.4-1
|
|
Harald Hoyer |
bee922 |
- version 0.4
|
|
Harald Hoyer |
c518b6 |
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
|
|
Harald Hoyer |
bee922 |
|
|
Harald Hoyer |
571e83 |
* Thu Jul 02 2009 Harald Hoyer <harald@redhat.com> 0.3-1
|
|
Harald Hoyer |
571e83 |
- version 0.3
|
|
Harald Hoyer |
c518b6 |
- see http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=blob_plain;f=NEWS
|
|
Harald Hoyer |
571e83 |
|
|
Harald Hoyer |
ef5195 |
* Wed Jul 01 2009 Harald Hoyer <harald@redhat.com> 0.2-1
|
|
Harald Hoyer |
ef5195 |
- version 0.2
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
ef5195 |
* Fri Jun 19 2009 Harald Hoyer <harald@redhat.com> 0.1-1
|
|
Harald Hoyer |
ef5195 |
- first release
|
|
Harald Hoyer |
ef5195 |
|
|
Harald Hoyer |
ef5195 |
* Thu Dec 18 2008 Jeremy Katz <katzj@redhat.com> - 0.0-1
|
|
Harald Hoyer |
ef5195 |
- Initial build
|
|
Harald Hoyer |
ef5195 |
|