[Mageia-dev] New dracut - please test

David W. Hodgins davidwhodgins at gmail.com
Sat Feb 25 08:35:11 CET 2012


On Fri, 24 Feb 2012 06:42:01 -0500, Colin Guthrie <mageia at colin.guthr.ie> wrote:

> The other big change here is to automatically generate a much bigger
> initramfs when doing an upgrade from mga1. This will include a lot more
> stuff (e.g. lvm, raid etc) that may or may not be needed on a given
> setup, but until you boot with dracut you cannot generate an initramfs
> that will be able to detect only what is needed for boot.

Looking at the current version of the init script, it's clear
what the problem is ...

     check_finished && break

     udevsettle

     check_finished && break

The above statement will always be true on a single core
system, so the following code never gets executed.

     if [ -f $hookdir/initqueue/work ]; then
         rm $hookdir/initqueue/work
     fi

     for job in $hookdir/initqueue/*.sh; do
         [ -e "$job" ] || break
         job=$job . $job
         check_finished && break 2
     done

Regards, Dave Hodgins


More information about the Mageia-dev mailing list