Comment # 13 on bug 965477 from
(In reply to Ivan Topolsky from comment #12)
> > > > running_in_qemu returns 255 and that makes dracut fail.
> > > > 
> > > > Commenting out this line allows the generation of the initrd.
> > > 
> > > There's a missing "return 0" (=success) statement at the end of the function.
> > > 
> > > Otherwise the function inherits the return status of the last executed
> > > statement.
> > 
> > That's exactly what's supposed to happen. If instmods fails, installkernel()
> > fails as well.
> 
> BUT if "running_in_qemu" returns 255, installkernel fails too.
> And I strongly suspect that this is NOT the expected behaviour.
> (It should fail based on the instmods run following that statement).

As I said, it's fixed. Look at Base:System or openSUSE:Factory on OBS.

> 
> > > In our case - mine and Luca's - we don't run openSuSE Tumbleweed under qemu.
> > > So "running_in_qemu" correctly returns 255 as it should (= false)
> > 
> > That's already fixed.
> 
> Hum...
> 
> > # zypper refresh
> > # zypper update
> > Nothing to do.
> 
> By fixed, you mean "its in the code repository", or you mean "the RPM
> package is deployed to Tumbleweed" ?
> Because currently I'm still left with the version of dracut that doesn't
> make the initrd and leaves the system in an unbootable state.

I submitted it to factory last monday, it should be in the next snapshot.


You are receiving this mail because: