Messages in this thread | | | Date | Wed, 22 Aug 2012 09:50:17 +0100 | From | Andy Whitcroft <> | Subject | Re: [PATCH V3 08/14] Tools: hv: Gather DNS information |
| |
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
| |