On Thu, Sep 26, 2013 at 12:36 AM, Dave Reisner <d@falconindy.com> wrote:
On Wed, Sep 25, 2013 at 08:39:41PM +0200, Tom Gundersen wrote:
This will allow systemd's kernel-install script to generate and install an initrd as per the freedesktop boot loader specs.
What bootloaders implement this?
gummiboot does and there are patches for grub (but I don't think they are upstreamed yet), I don't think anyone else do yet. That said, other bootloaders could also add kernel-install hooks of their own to update their configs to point at the correct kernel/initramfs images, so they don't necessarily need to implement the spec to take advantage of this. I know Sébastien was looking at refind, did you find a simple way to integrate this with refind without it implementing the boot spec?
See kernel-install(8) for details.
Notice that 'profiles' are not used.
This will eventually be hooked up so that calling "make install" from a kernel build will do the right thing.
Is there a pending patch set you can point me to?
At least one systemd patch is needed [0], and you need to symlink /bin/installkernel or ~/bin/installkernel to /bin/kernel-install. I'll resend after addressing your comments. -t [0]: <http://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg13165.html>