[kernel] r5724 - dists/trunk/linux-2.6/debian
Jurij Smakov
jurij-guest at costa.debian.org
Tue Feb 7 07:04:09 UTC 2006
Author: jurij-guest
Date: Tue Feb 7 07:04:05 2006
New Revision: 5724
Modified:
dists/trunk/linux-2.6/debian/rules.real
Log:
Move the image_postproc hook to the 'install-image'
target, since (amusingly) the image is actually
built there and not in the 'build' target as one
might naively expect.
Modified: dists/trunk/linux-2.6/debian/rules.real
==============================================================================
--- dists/trunk/linux-2.6/debian/rules.real (original)
+++ dists/trunk/linux-2.6/debian/rules.real Tue Feb 7 07:04:05 2006
@@ -128,9 +128,6 @@
$(STAMPS_DIR)/build-$(ARCH)-$(SUBARCH)-$(FLAVOUR): $(STAMPS_DIR)/setup-$(ARCH)-$(SUBARCH)-$(FLAVOUR)
ln -fs "$$(command -v touch)" debian/build/touch.orig
cd '$(DIR)'; $(setup_env) PATH='$(CURDIR)/build:$(CURDIR)/bin:$(PATH)' $(kpkg_image) build
-ifdef IMAGE_POSTPROC
- cd '$(DIR)'; $(IMAGE_POSTPROC)
-endif
touch '$@'
$(STAMPS_DIR)/setup-$(ARCH)-$(SUBARCH)-$(FLAVOUR): SOURCE_DIR=$(BUILD_DIR)/source-$(ARCH)-$(SUBARCH)
@@ -187,6 +184,9 @@
install debian/bin/install-image '$(DIR)/debian/post-install'
cd '$(DIR)'; $(setup_env) $(kpkg_image) kernel-image
cat '$(DIR)/debian/files' >> debian/files
+ifdef IMAGE_POSTPROC
+ cd '$(DIR)'; $(IMAGE_POSTPROC)
+endif
@for i in $$(awk '{ print $$1; }' '$(DIR)/debian/files'); do \
echo "mv \"$(BUILD_DIR)/$$i\" .."; \
mv "$(BUILD_DIR)/$$i" ..; \
More information about the Kernel-svn-changes
mailing list