[kernel] r9669 - people/waldi/xen-extra/linux-2.6.18-xen-3/debian

Bastian Blank waldi at alioth.debian.org
Fri Oct 19 20:47:51 UTC 2007


Author: waldi
Date: Fri Oct 19 20:47:51 2007
New Revision: 9669

Log:
* debian/rules: Nop orig target.
* debian/rules.real.update: Use linux-source.


Modified:
   people/waldi/xen-extra/linux-2.6.18-xen-3/debian/rules
   people/waldi/xen-extra/linux-2.6.18-xen-3/debian/rules.real.update

Modified: people/waldi/xen-extra/linux-2.6.18-xen-3/debian/rules
==============================================================================
--- people/waldi/xen-extra/linux-2.6.18-xen-3/debian/rules	(original)
+++ people/waldi/xen-extra/linux-2.6.18-xen-3/debian/rules	Fri Oct 19 20:47:51 2007
@@ -7,6 +7,9 @@
 	rm -rf $(BUILD_DIR) $(STAMPS_DIR) debian/bin/*.pyc debian/lib/python/debian_linux/*.pyc
 	dh_clean
 
+orig:
+	#
+
 %:
 	@$(MAKE) -f debian/rel-infrastructure/rules $@
 

Modified: people/waldi/xen-extra/linux-2.6.18-xen-3/debian/rules.real.update
==============================================================================
--- people/waldi/xen-extra/linux-2.6.18-xen-3/debian/rules.real.update	(original)
+++ people/waldi/xen-extra/linux-2.6.18-xen-3/debian/rules.real.update	Fri Oct 19 20:47:51 2007
@@ -1,5 +1,15 @@
 include debian/rel-infrastructure/rules.real
 
+$(STAMPS_DIR)/source: ORIG = linux-source-$(shell echo "$(VERSION)" | sed -e 's,-[^-]*$$,,')
+$(STAMPS_DIR)/source: DIR = $(BUILD_DIR)/source
+$(STAMPS_DIR)/source:
+	rm -rf '$(DIR)'
+	mkdir -p '$(BUILD_DIR)'
+	tar -C $(BUILD_DIR) -xjf /usr/src/$(ORIG).tar.bz2
+	mv $(BUILD_DIR)/$(ORIG) $(DIR)
+	cd '$(DIR)'; python '$(CURDIR)/debian/bin/patch.apply' --overwrite-home='$(CURDIR)/debian/patches'
+	touch '$@'
+
 $(STAMPS_DIR)/source_$(ARCH)_$(FEATURESET): SOURCE_DIR=$(BUILD_DIR)/source
 $(STAMPS_DIR)/source_$(ARCH)_$(FEATURESET): DIR=$(BUILD_DIR)/source_$(ARCH)_$(FEATURESET)
 $(STAMPS_DIR)/source_$(ARCH)_$(FEATURESET): $(STAMPS_DIR)/source



More information about the Kernel-svn-changes mailing list