Re: Using guestfish inside mock?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cc-ing to Fedora devel list.

This is related to why you have to install 'grubby' in order for mock
to have a /boot/vmlinuz-* kernel.  Another thing we have to work
around in libguestfs:

http://pkgs.fedoraproject.org/cgit/libguestfs.git/commit/?id=113fbdf63811f1ba66129ff678f90741037cb3a3

On Tue, Dec 15, 2015 at 02:14:21PM -0700, Ryan Barry wrote:
> Thanks Richard, that did the trick.
> 
> Is this documented somewhere? Or is there a bug against the kernel package?

No & no, but there probably should be a bug, against systemd (maybe).

When I originally looked at the 'kernel-install' code I couldn't
really understand why the script did what it did and whether it was
intentional or just an accidental bug.

Now I just looked at it again, and the problem is that upstream
systemd 'kernel-install' doesn't copy the kernel to /boot at all.
This is something that Fedora patches into the kernel-install script:

http://pkgs.fedoraproject.org/cgit/systemd.git/tree/kernel-install-grubby.patch

For some reason the patch is conditional on the existence of
/sbin/new-kernel-pkg (and hence on grubby being installed), whereas I
believe the patch should be unconditional, because we always want to
have a kernel in /boot on Fedora.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux