Currently if one does not specify an initrd when initially creating a
new kernel entry in the bootloader you can never add one. This patch
adds the mkinitrd parameter to add_kernel() method and optionally passes
the --initrd=%s only if the caller specifies one. This also includes
the dummy arg work-around needed for Xen grub entries.
If someone knows how to [1]fix tools/boottool to deal with Xen grub
entries, I'll respin this patch without the dummy arg included.
From: Ryan Harper <ryanh@us.ibm.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@319 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed