[Mageia-dev] [packages-commits] [226393] Migrate grub bootsplash params to new style: 'splash quiet' rather than 'splash=silent' (mga#3430)

Luc Menut lmenut at free.fr
Sun Mar 25 18:35:55 CEST 2012


Le 25/03/2012 17:45, root at mageia.org a écrit :
> Revision
>     226393
> Author
>     colin

[...]

>
> +%triggerpostun backend -- drakxtools-backend<  14.1-2
> +if [ -w /boot/grub/menu.lst ]; then
> +  if grep -q splash= /boot/grub/menu.lst; then
> +    echo"Migrating kernel commandline bootsplash arguments in grub"
> +    sed -i 's/ splash=silent / splash quiet /;s/ splash=silent$/ splash quiet/;s/ splash=verbose / /;s/ splash=verbose$//;' /boot/grub/menu.lst
> +  fi
> +fi
> +

IIUC this script, you update splash=silent & splash=verbose in 
/boot/grub/menu.lst for all the lines.
What happens if we have entries for mga1 or other distros in the same 
grub menu.lst ?
Aren't you going to break all these entries with such update?

Personaly, I use the same /boot/grub/menu.lst for mga 1 and cauldron.

regards,
Luc


-- 
Luc Menut


More information about the Mageia-dev mailing list