From: Kasper Brink Subject: Re: pv-grub Solaris support Date: Wed, 12 Oct 2011 23:55:05 +0200 Message-ID: <20111012215504.GA14881@lilo2.science.ru.nl> References: <20111012204011.GA7518@lilo2.science.ru.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Fajar A. Nugraha" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi Fajar, On Thu, Oct 13, 2011 at 03:51:33AM +0700, Fajar A. Nugraha wrote: > Can you also create a patch for pygrub? I haven't tested it, but it seems as though pygrub should already support ZFS via libfsimage, and it also contains some Solaris-detection logic. Perhaps the the ZFS version in libfsimage needs updating, though. > Your patch style looks weird though. You're creating a new patch file, > stubdom/grub.patches/60zfs_solaris.diff, which patches other patch > files? Or is it simply manual merging problem? Yes, I agree this is a bit awkward. I tried to stick to the way that pv-grub is currently built: the Makefile downloads the original upstream sources of grub-0.97 from GNU's ftp site, and then applies the set of patches in stubdom/grub.patches to it. The patch attached to my email (pv-grub_solaris.patch) creates a new file stubdom/grub.patches/60zfs_solaris.diff (which contains the Solaris-related changes to grub-0.97), and modifies stubdom/grub/Makefile (to include several new source files into pv-grub). Sorry if I didn't make this clear! Best, Kasper