[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Support Fedora 13 initrd filenames
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: [PATCH] Support Fedora 13 initrd filenames |
Date: |
Sun, 20 Jun 2010 00:43:39 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100515 Icedove/3.0.4 |
On 06/19/2010 03:38 AM, Pavel Roskin wrote:
> Hello!
>
> The initial ramdisk on Fedora 13 is called "initramfs-${version}.img"
> unlike older versions of Fedora, which used "initrd-${version}.img"
>
Bitrot in naming of initrd is a bad thing. Unfortunately we can't ignore
Fedora. So go ahead
> The patch has been tested on Fedora 13.
>
> ChangeLog:
>
> * util/grub.d/10_linux.in: Add support for initrd images on
> Fedora 13.
>
> --- util/grub.d/10_linux.in 2010-06-09 18:43:25 +0000
> +++ util/grub.d/10_linux.in 2010-06-18 21:09:00 +0000
> @@ -114,8 +114,9 @@
>
> initrd=
> for i in "initrd.img-${version}" "initrd-${version}.img" \
> - "initrd-${version}" "initrd.img-${alt_version}" \
> - "initrd-${alt_version}.img" "initrd-${alt_version}"; do
> + "initrd-${version}" "initramfs-${version}.img" \
> + "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
> + "initrd-${alt_version}" "initramfs-${alt_version}.img"; do
> if test -e "${dirname}/${i}" ; then
> initrd="$i"
> break
>
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature