[xen-tools-discuss] Another xen-tools change I have in mind: Clean up the hooks directory

Axel Beckert abe at deuxchevaux.org
Sat Apr 10 15:23:17 CEST 2010


Hi,

as the discussion on the list also tends to what distributions are
supported and which not (yet), I'd also like to share my idea about
refactoring the hooks directory:

Currently we have one directory for Ubuntu and Fedora named after the
first supported release which is then duplicated for each subsequent
release.

I'm sure this won't scale forever. So to minimise code duplication I'd
like to have one common directory per distribution (e.g. called
ubuntu-common, fedora-common, etc.) with generic hooks valid for all
or most of the releases of one distribution and then one hook
directory per release (e.g. called ubuntu-10.04 or ubuntu-lucid or so)
which has symbolic links to everything which can be used unchanged
from the common directory and new files for everything which has to be
different or only there.

This is more a long term goal and probably won't go into the next
release or upload to Debian.

Any comments?

		Regards, Axel
-- 
Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/



More information about the xen-tools-discuss mailing list