[PATCH V3 08/14] Tools: hv: Gather DNS information

Andy Whitcroft apw at canonical.com
Wed Aug 22 08:50:17 UTC 2012


On Fri, Aug 17, 2012 at 08:53:53PM +0200, Olaf Hering wrote:
> On Fri, Aug 17, Ben Hutchings wrote:
> 
> > You are never going to have a 'works everywhere' solution for
> > Linux guests.
> 
> The hook is the solution.
> 
> > How are these distribution-specific integration scripts going
> > to get installed in the guesta, anyway?
> 
> The packager of the daemon will write the script, perhaps based on a
> template included in tools/hv/script_xyz.sh?

This seems a reasonable approach and one with precident.  We use a similar
scheme for how to handle 'make install' in the kernel letting the distro
provide /sbin/installkernel so as to avoid having distro smarts for every
distro in the kernel source.

It might be nice to share some examples if you have them, but it feels a
little grubby to have them in the kernel tree.

-apw



More information about the devel mailing list