[kernel] r5866 - dists/exp/linux-2.6/debian
Jurij Smakov
jurij-guest at costa.debian.org
Mon Feb 13 08:41:42 UTC 2006
Author: jurij-guest
Date: Mon Feb 13 08:41:41 2006
New Revision: 5866
Modified:
dists/exp/linux-2.6/debian/rules.real
Log:
kernel_image now builds the kernel image packages,
so there is no way we can use image postprocessing
as before, between invocations of build and
kernel_image targets. Thus the only way to do
anything is to install some flavour-specific
script into the debian/image.d directory, so it
gets executed by the make-kpkg hook.
Modified: dists/exp/linux-2.6/debian/rules.real
==============================================================================
--- dists/exp/linux-2.6/debian/rules.real (original)
+++ dists/exp/linux-2.6/debian/rules.real Mon Feb 13 08:41:41 2006
@@ -182,11 +182,13 @@
rm -rf '$(DIR)'
cp -al '$(SOURCE_DIR)' '$(DIR)'
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)
+# Install the postproc script into the hook directory
+ install -d '$(DIR)/debian/image.d'
+ install 'debian/bin/$(IMAGE_POSTPROC)' '$(DIR)/debian/image.d'
endif
+ cd '$(DIR)'; $(setup_env) $(kpkg_image) kernel-image
+ cat '$(DIR)/debian/files' >> debian/files
@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