[Pkg-xen-devel] Bug#588406: fix for missing XEN_SCRIPT_DIR
Sven Neuhaus
sven.neuhaus at evision.de
Thu Apr 5 13:24:12 UTC 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rules.patch
Type: application/octet-stream
Size: 411 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120405/8a7d1c15/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4371 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120405/8a7d1c15/attachment.bin>
More information about the Pkg-xen-devel
mailing list