1 |
|
# $Id: mkinitrd.spec,v 1.6 2010/03/04 16:31:07 slords Exp $ |
2 |
|
|
3 |
Summary: Creates an initial ramdisk image for preloading modules. |
Summary: Creates an initial ramdisk image for preloading modules. |
4 |
Name: mkinitrd |
Name: mkinitrd |
5 |
Version: 4.2.1.10 |
Version: 4.2.1.13 |
6 |
Release: 1.1%{?dist} |
Release: 4.2%{?dist} |
7 |
License: GPL |
License: GPL |
8 |
Group: System Environment/Base |
Group: System Environment/Base |
9 |
Source: mkinitrd-%{version}.tar.bz2 |
Source: mkinitrd-%{version}.tar.bz2 |
10 |
Patch1: mkinitrd-4.2.1.10-mdassemble.patch |
Patch0: mkinitrd-kernel-cmdline-spaces.patch |
11 |
|
Patch1: mkinitrd-4.2.1.13-bz479239-virtio.patch |
12 |
|
Patch2: mkinitrd-4.2.1.13-mdassemble.patch |
13 |
ExclusiveOs: Linux |
ExclusiveOs: Linux |
14 |
Prereq: dev |
Prereq: dev |
15 |
Requires: e2fsprogs, /bin/sh, fileutils, grep, mount, gzip, tar, /sbin/insmod.static, /sbin/losetup, mktemp >= 1.5-5, findutils, lvm2, kudzu, /usr/bin/which |
Requires: e2fsprogs, /bin/sh, fileutils, grep, mount, gzip, tar, /sbin/insmod.static, /sbin/losetup, mktemp >= 1.5-5, findutils, lvm2, kudzu, /usr/bin/which |
16 |
Requires: filesystem >= 2.1.0, cpio |
Requires: filesystem >= 2.1.0, cpio, /sbin/mdassemble |
|
Requires: /sbin/mdassemble |
|
17 |
Conflicts: udev < 0:032 |
Conflicts: udev < 0:032 |
18 |
BuildRequires: popt |
BuildRequires: popt |
|
BuildRequires: glibc-headers |
|
19 |
%ifarch i386 |
%ifarch i386 |
20 |
BuildRequires: dietlibc |
BuildRequires: dietlibc |
21 |
%endif |
%endif |
41 |
|
|
42 |
%prep |
%prep |
43 |
%setup -q |
%setup -q |
44 |
%patch1 -p1 |
%patch0 -p1 -b .spaces |
45 |
|
%patch1 -p1 -b .virtio |
46 |
|
%patch2 -p1 -b .mdassemble |
47 |
|
|
48 |
%build |
%build |
49 |
make |
make |
69 |
%attr(644,root,root) %{_mandir}/man8/grubby.8* |
%attr(644,root,root) %{_mandir}/man8/grubby.8* |
70 |
|
|
71 |
%changelog |
%changelog |
72 |
* Wed May 9 2007 Shad L. Lords <slords@mail.com> 4.2.1.10-1.1.sme |
* Tue Apr 20 2010 Shad L. Lords <slords@mail.com> 4.2.1.13-4.2.sme |
73 |
- Clean up spec so package can be built by koji/plague |
- Require /sbin/mdassemble so mkinitrd works correctly [SME: 5891] |
74 |
|
|
75 |
|
* Mon Aug 24 2009 Shad L. Lords <slords@mail.com> 4.2.1.13-4.1.sme |
76 |
- Use generated config file instead of just scanning [SME: 2192] |
- Use generated config file instead of just scanning [SME: 2192] |
77 |
- Use mdassemble rather than raidautorun in initrd, so that we control |
- Use mdassemble rather than raidautorun in initrd, so that we control |
78 |
UUID to device mapping. [SME: 961, 1895] |
UUID to device mapping. [SME: 961, 1895] |
79 |
|
|
80 |
|
* Tue Jan 13 2009 Peter Jones <pjones@redhat.com> - 4.2.1.13-4 |
81 |
|
- Add virtio support (hansg) |
82 |
|
Resolves: rhbz#479239 |
83 |
|
|
84 |
|
* Tue Sep 25 2007 Peter Jones <pjones@redhat.com> - 4.2.1.13-2 |
85 |
|
- Support quoted spaces on the kernel command line |
86 |
|
Resolves: #240777 |
87 |
|
|
88 |
|
* Tue Aug 8 2007 Peter Jones <pjones@redhat.com> - 4.2.1.13-1 |
89 |
|
- Fix linking error |
90 |
|
Related: #214841 |
91 |
|
|
92 |
|
* Tue Aug 7 2007 Peter Jones <pjones@redhat.com> - 4.2.1.12-1 |
93 |
|
- Fix "make test" regression |
94 |
|
Related: #214841 |
95 |
|
|
96 |
|
* Tue Aug 7 2007 Peter Jones <pjones@redhat.com> - 4.2.1.11-1 |
97 |
|
- Use dynamic buffer for input file. |
98 |
|
Resolves: #214841 |
99 |
|
- Fix spelling errors in grubby.8 |
100 |
|
Resolves: #230605 |
101 |
|
- Fix "--without-usb" and "--with-usb" handling. |
102 |
|
Resolves: #246069 |
103 |
|
|
104 |
* Wed Feb 7 2007 Peter Jones <pjones@redhat.com> - 4.2.1.10-1.1 |
* Wed Feb 7 2007 Peter Jones <pjones@redhat.com> - 4.2.1.10-1.1 |
105 |
- Fix 'requires' for usb changes. |
- Fix 'requires' for usb changes. |
106 |
Related: #202070 |
Related: #202070 |