Use debhelper to install control files for linux-image-*
debhelper automatically includes debconf translations so we won't have to worry about the details. It also sets permissions correctly for the control files. svn path=/dists/sid/linux-2.6/; revision=15491
This commit is contained in:
parent
1326182c91
commit
d56b5bc50b
|
@ -142,6 +142,7 @@ $(STAMPS_DIR)/build-doc: $(STAMPS_DIR)/source
|
|||
install-base:
|
||||
dh_installchangelogs
|
||||
dh_installdocs
|
||||
dh_installdebconf
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
|
@ -333,7 +334,7 @@ ifeq ($(MODULES),True)
|
|||
endif
|
||||
+$(MAKE_SELF) \
|
||||
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_templates \
|
||||
PACKAGE_DIR='$(PACKAGE_DIR)' REAL_VERSION='$(REAL_VERSION)'
|
||||
PACKAGE_NAME='$(PACKAGE_NAME)' PACKAGE_DIR='$(PACKAGE_DIR)' REAL_VERSION='$(REAL_VERSION)'
|
||||
+$(MAKE_SELF) \
|
||||
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_bug \
|
||||
PACKAGE_DIR='$(PACKAGE_DIR)' PACKAGE_NAME='$(PACKAGE_NAME)' REAL_VERSION='$(REAL_VERSION)'
|
||||
|
@ -388,7 +389,6 @@ install-image_mips_$(FEATURESET)_r5k-ip32_plain_templates: ARG_BOOTLOADER = arcb
|
|||
install-image_s390_$(FEATURESET)_$(FLAVOUR)_plain_templates: ARG_BOOTLOADER = zipl
|
||||
|
||||
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_templates:
|
||||
install -d $(PACKAGE_DIR)/DEBIAN
|
||||
for i in $(wildcard debian/templates/temp.image.plain/*); do \
|
||||
sed \
|
||||
-e 's,=D,/boot,g' \
|
||||
|
@ -403,10 +403,8 @@ install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_templates:
|
|||
-e 's/=V/$(REAL_VERSION)/g' \
|
||||
-e 's/=M//g' \
|
||||
-e 's/=S//g' \
|
||||
$$i > $(PACKAGE_DIR)/DEBIAN/$$(basename $$i); \
|
||||
$$i > debian/$(PACKAGE_NAME).$$(basename $$i); \
|
||||
done
|
||||
chmod 755 $(PACKAGE_DIR)/DEBIAN/{pre,post}*
|
||||
chmod 644 $(PACKAGE_DIR)/DEBIAN/templates
|
||||
|
||||
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_bug:
|
||||
dh_installdirs usr/share/bug/$(PACKAGE_NAME)
|
||||
|
|
Loading…
Reference in New Issue