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

From: Andy Whitcroft
Date: Wed Aug 22 2012 - 04:50:26 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/