[Mageia-dev] MGA2 Installer + Bootloader stage issue: initrd regeneration not happening?
Olivier Blin
mageia at blino.org
Sat Jul 14 22:24:59 CEST 2012
Colin Guthrie <mageia at colin.guthr.ie> writes:
>> As there was a period where the symlink existed but the initrd did not,
>> I am presuming running /sbin/install kernel exited correctly without
>> creating the initrd.
>>
>> However, both plymouth and mageia-theme-Default seem to correctly honour
>> DURING_INSTALL.
>>
>> I'm confused as to what is causing it to be generated... can anyone else
>> see it?
>
>
> Oh wait, I think I see it:
>
> In the post of mageia-theme-Default it has:
>
> if [ "$1" == "0" ]; then
> /usr/sbin/plymouth-set-default-theme -R Mageia-Default
> fi
>
>
> This causes an initrd rebuild (-R argument) and doesn't check
> DURING_INSTALL.
>
> That's the problem.
Ah, I did not see that one.
There are two calls to plymouth-set-default-theme in this %post.
Maybe we can just move the second one (with -R) upper to replace the
first one?
--
Olivier Blin - blino
More information about the Mageia-dev
mailing list