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. svn path=/dists/exp/linux-2.6/; revision=5866
This commit is contained in:
parent
b2d7246d8b
commit
6d25a94794
|
@ -182,11 +182,13 @@ install-image-$(ARCH)-$(SUBARCH)-$(FLAVOUR): $(STAMPS_DIR)/build-$(ARCH)-$(SUBAR
|
|||
rm -rf '$(DIR)'
|
||||
cp -al '$(SOURCE_DIR)' '$(DIR)'
|
||||
install debian/bin/install-image '$(DIR)/debian/post-install'
|
||||
ifdef 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
|
||||
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" ..; \
|
||||
|
|
Loading…
Reference in New Issue