--- rpms/mkinitrd/sme7/mkinitrd.spec 2008/04/09 13:51:51 1.3 +++ rpms/mkinitrd/sme7/mkinitrd.spec 2010/04/20 19:45:41 1.7 @@ -1,21 +1,21 @@ -# $Id$ +# $Id: mkinitrd.spec,v 1.6 2010/03/04 16:31:07 slords Exp $ Summary: Creates an initial ramdisk image for preloading modules. Name: mkinitrd Version: 4.2.1.13 -Release: 1.1%{?dist} +Release: 4.2%{?dist} License: GPL Group: System Environment/Base Source: mkinitrd-%{version}.tar.bz2 -Patch1: mkinitrd-4.2.1.13-mdassemble.patch +Patch0: mkinitrd-kernel-cmdline-spaces.patch +Patch1: mkinitrd-4.2.1.13-bz479239-virtio.patch +Patch2: mkinitrd-4.2.1.13-mdassemble.patch ExclusiveOs: Linux Prereq: dev 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: filesystem >= 2.1.0, cpio -Requires: /sbin/mdassemble +Requires: filesystem >= 2.1.0, cpio, /sbin/mdassemble Conflicts: udev < 0:032 BuildRequires: popt -BuildRequires: glibc-headers %ifarch i386 BuildRequires: dietlibc %endif @@ -41,7 +41,9 @@ ramdisk using information found in the / %prep %setup -q -%patch1 -p1 +%patch0 -p1 -b .spaces +%patch1 -p1 -b .virtio +%patch2 -p1 -b .mdassemble %build make @@ -67,12 +69,22 @@ rm -rf $RPM_BUILD_ROOT %attr(644,root,root) %{_mandir}/man8/grubby.8* %changelog -* Fri Nov 30 2007 Shad L. Lords 4.2.1.13-1.1.sme -- Clean up spec so package can be built by koji/plague +* Tue Apr 20 2010 Shad L. Lords 4.2.1.13-4.2.sme +- Require /sbin/mdassemble so mkinitrd works correctly [SME: 5891] + +* Mon Aug 24 2009 Shad L. Lords 4.2.1.13-4.1.sme - Use generated config file instead of just scanning [SME: 2192] - Use mdassemble rather than raidautorun in initrd, so that we control UUID to device mapping. [SME: 961, 1895] +* Tue Jan 13 2009 Peter Jones - 4.2.1.13-4 +- Add virtio support (hansg) + Resolves: rhbz#479239 + +* Tue Sep 25 2007 Peter Jones - 4.2.1.13-2 +- Support quoted spaces on the kernel command line + Resolves: #240777 + * Tue Aug 8 2007 Peter Jones - 4.2.1.13-1 - Fix linking error Related: #214841