Hi On Montag, 9. Februar 2009, Michael Tautschnig wrote: > [...] > > c. his means there will be no need for /etc/kernel-img.conf file any > > more. > > [...] > > Isn't this file also read in the postinst of the "official" kernels? In FAI we > had several issues when kernel-img.conf was missing or hadn't had the proper > values in there. [...]
As of yet kernel-package is still used in the official kernel builds[1],
by using make-kpkg to build and create the linux-image packages
(linux-headers is assembled manually).
linux-2.6/debian/rules.real
[...]
kpkg_image := $(setup_env)
ifdef DEBIAN_KERNEL_JOBS
kpkg_image += CONCURRENCY_LEVEL=$(DEBIAN_KERNEL_JOBS)
endif
kpkg_image += make-kpkg --arch '$(firstword $(KPKG_ARCH) $(ARCH))'
--cross-compile=- --stem linux --config silentoldconfig
ifneq ($(INITRAMFS),False)
kpkg_image += --initrd
endif
ifdef KPKG_SUBARCH
kpkg_image += --subarch '$(KPKG_SUBARCH)'
endif
[...]
Which is called from the following targets:
$(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_kernel-package:
[...]$(kpkg_image) configure
[...]
$(STAMPS_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_kernel-package:
[...]$(kpkg_image) build
[...]
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_kernel-package:
[...]$(kpkg_image) kernel-image
[...]
Due to this, the bootloader setup relies on postinst_hook/ postrm_hook and
do_initrd in /etc/kernel-img.conf and honours the rest of the settings.
Regards
Stefan Lippers-Hollmann
[1]
http://svn.debian.org/viewsvn/kernel/dists/trunk/linux-2.6/debian/rules.real?view=markup
signature.asc
Description: This is a digitally signed message part.

