Author: waldi Date: Tue Aug 22 00:21:46 2006 New Revision: 241 Modified: trunk/xen-3.0/debian/bin/gencontrol.py trunk/xen-3.0/debian/rules Log: debian/bin/gencontrol.py, debian/rules: Generate correct build dependency against linux-support. Modified: trunk/xen-3.0/debian/bin/gencontrol.py =============================================================================--- trunk/xen-3.0/debian/bin/gencontrol.py (original) +++ trunk/xen-3.0/debian/bin/gencontrol.py Tue Aug 22 00:21:46 2006 @@ -1,6 +1,6 @@ #!/usr/bin/env python2.4 import sys -sys.path.append(sys.argv[1]+ "/lib/python") +sys.path.append(sys.argv[2]+ "/lib/python") import debian_linux.gencontrol from debian_linux.config import * from debian_linux.debian import * @@ -23,6 +23,8 @@ def do_main_packages(self, packages, extra): packages.extend(self.process_packages(self.templates["control.main"], self.vars)) + packages[''source''][''Build-Depends''].append(''linux-support-%s'' % sys.argv[1]) + def do_arch_setup(self, vars, makeflags, arch, extra): for i in ( (''xen-arch'', ''XEN_ARCH''), Modified: trunk/xen-3.0/debian/rules =============================================================================--- trunk/xen-3.0/debian/rules (original) +++ trunk/xen-3.0/debian/rules Tue Aug 22 00:21:46 2006 @@ -9,7 +9,7 @@ srcver := $(shell dpkg-parsechangelog | awk ''/^Version:/ {print $$2}'') VERSION := $(shell echo $(srcver) | sed -e ''s,-[^-]*$$,,'') -GENCONTROL = debian/bin/gencontrol.py +GENCONTROL = debian/bin/gencontrol.py $(KERNELVERSION) setup: $(STAMPS_DIR)/setup-base $(STAMPS_DIR)/setup-base: debian/control $(BUILD_DIR) $(STAMPS_DIR)