I had another look at this and found the source of the problem - the reason why XEN_SCRIPT_DIR is not set: The hotplugpath.sh file is missing in the package.
In the "rules" file the "install" target includes this line: $(MAKE) -C $(BUILD_DIR)/tools/hotplug/Linux install-udev install-scripts UDEV_RULES_DIR=/lib/udev/rules.d The problem is that make is never run in the tools/hotplug/common directory, where the "install-scripts" target includes the "build" target which generates the "hotplugpath.sh" file. This file contains, among other things, the XEN_SCRIPT_DIR variable. (The actual work is being done in the toplevel Config.mk file in the genpath target.) So, here is the patch for the "rules" file that makes sure the required "hotplugpath.sh" file is generated (also attached to this mail): ===================================8<======================================= --- rules.orig 2010-03-01 22:03:38.000000000 +0100 +++ rules 2012-04-05 15:18:43.000000000 +0200 @@ -60,6 +60,7 @@ dh_testroot dh_prep $(MAKE) -C $(BUILD_DIR)/tools/examples install-configs + $(MAKE) -C $(BUILD_DIR)/tools/hotplug/common install-scripts $(MAKE) -C $(BUILD_DIR)/tools/hotplug/Linux install-udev install-scripts UDEV_RULES_DIR=/lib/udev/rules.d $(MAKE) -C $(BUILD_DIR)/scripts install ===================================8<======================================= When can we expect a fixed version of this package? This bug is really annoying. Regards, -Sven Neuhaus
rules.patch
Description: Binary data
smime.p7s
Description: S/MIME cryptographic signature