[Mageia-dev] [soft-commits] [5525] (mkinitrd) Fix prefix checking in foreign partition check (mga#6966)

Thierry Vignaud thierry.vignaud at gmail.com
Sat Sep 1 17:20:34 CEST 2012


On 1 September 2012 17:15, Thierry Vignaud <thierry.vignaud at gmail.com> wrote:
>> (mkinitrd) Fix prefix checking in foreign partition check (mga#6966)
>
> Nice spot.
>
>> Modified: drakx/trunk/perl-install/bootloader.pm
>> ===================================================================
>> --- drakx/trunk/perl-install/bootloader.pm    2012-08-31 23:38:35 UTC (rev
>> 5524)
>> +++ drakx/trunk/perl-install/bootloader.pm    2012-09-01 14:40:52 UTC (rev
>> 5525)
>> @@ -113,7 +113,7 @@
>>      return $initrd if $::testing  # testing mode
>>        || -e "$::prefix/$initrd"   # already exists
>>          || $initrd =~ /\(hd/      # unrecognized partition
>> -          || !-d $dir;            # dir doesn't exist (probably !mounted
>> foreign part)
>> +          || !-d "$::prefix/$dir";# dir doesn't exist (probably !mounted
>> foreign part)

Err, this is not related to bugs mga#6966 which is fixed for long...


More information about the Mageia-dev mailing list