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.13 |
Version: 4.2.1.13 |
6 |
Release: 4 |
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 |
Patch0: mkinitrd-kernel-cmdline-spaces.patch |
Patch0: mkinitrd-kernel-cmdline-spaces.patch |
11 |
Patch1: mkinitrd-4.2.1.13-bz479239-virtio.patch |
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 |
17 |
Conflicts: udev < 0:032 |
Conflicts: udev < 0:032 |
18 |
BuildRequires: popt |
BuildRequires: popt |
19 |
%ifarch i386 |
%ifarch i386 |
43 |
%setup -q |
%setup -q |
44 |
%patch0 -p1 -b .spaces |
%patch0 -p1 -b .spaces |
45 |
%patch1 -p1 -b .virtio |
%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 |
|
* Tue Apr 20 2010 Shad L. Lords <slords@mail.com> 4.2.1.13-4.2.sme |
73 |
|
- 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] |
77 |
|
- Use mdassemble rather than raidautorun in initrd, so that we control |
78 |
|
UUID to device mapping. [SME: 961, 1895] |
79 |
|
|
80 |
* Tue Jan 13 2009 Peter Jones <pjones@redhat.com> - 4.2.1.13-4 |
* Tue Jan 13 2009 Peter Jones <pjones@redhat.com> - 4.2.1.13-4 |
81 |
- Add virtio support (hansg) |
- Add virtio support (hansg) |
82 |
Resolves: rhbz#479239 |
Resolves: rhbz#479239 |