Package: kernel-package
Version: 13.014+nmu2
Severity: normal
Tags: patch

Dear Maintainer,

Current kernel (4.x) provides a rule called "dtbs_install" which can
install the dtbs files.

I previously made a patch (#782759) which manually copy the dtbs. But we
should use this rule which is more standard.

I've attached a new patch which fixes this.

Thanks,
Paul


-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL $
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kernel-package depends on:
ii  bc               1.06.95-9
ii  binutils         2.25.1-7
ii  build-essential  11.7
ii  bzip2            1.0.6-8
ii  dpkg-dev         1.18.3
ii  file             1:5.25-2
ii  gettext          0.19.6-1
ii  kmod             21-1
ii  po-debconf       1.0.18
ii  xmlto            0.0.26-0.1
ii  xz-utils [lzma]  5.1.1alpha+20120614-2.1

Versions of packages kernel-package recommends:
ii  cpio           2.11+dfsg-4.1
ii  docbook-utils  0.6.14-3
ii  kernel-common  13.014+nmu2
pn  uboot-mkimage  <none>

Versions of packages kernel-package suggests:
ii  libncurses5-dev [libncurses-dev]  6.0+20151024-1
pn  linux-source                      <none>

Versions of packages kernel-package suggests:
ii  libncurses5-dev [libncurses-dev]  6.0+20151024-1
pn  linux-source                      <none>

-- no debconf information


-- 
                                PaulLiu (劉穎駿)
E-mail: Ying-Chun Liu (PaulLiu) <paul...@debian.org>
--- ./kernel/ruleset/targets/image.mk	2015-11-09 14:38:20.735636175 +0800
+++ ./kernel/ruleset/targets/image.mk	2015-11-09 14:38:33.343421220 +0800
@@ -105,6 +105,11 @@
 	$(MAKE) $(EXTRAV_ARG) INSTALL_MOD_PATH=$(INSTALL_MOD_PATH)	              \
 		INSTALL_FW_PATH=$(INSTALL_MOD_PATH)/lib/firmware/$(KERNELRELEASE)     \
 		$(CROSS_ARG) ARCH=$(KERNEL_ARCH) INSTALL_MOD_STRIP=1 dtbs || echo "no dtb target"
+	$(MAKE) $(EXTRAV_ARG) INSTALL_MOD_PATH=$(INSTALL_MOD_PATH)	              \
+		INSTALL_FW_PATH=$(INSTALL_MOD_PATH)/lib/firmware/$(KERNELRELEASE)     \
+		$(CROSS_ARG) ARCH=$(KERNEL_ARCH) INSTALL_MOD_STRIP=1                  \
+		INSTALL_DTBS_PATH=$(TMPTOP)/usr/lib/linux-image-$(KERNELRELEASE)      \
+		dtbs_install || echo "no dtbs_install target"
 # Are modules to be signed? if do, do nothing, else add in a link to the debug module
       ifeq ($(strip $(shell grep -E '^[^\#]*CONFIG_MODULE_SIG[^_]' $(CONFIG_FILE))),)
 	$(MAKE) $(EXTRAV_ARG) INSTALL_MOD_PATH=$(TMPTOP)$(DEBUGDIR)                   \
@@ -177,7 +182,6 @@
 			$(TMPTOP)/$(IMAGEDIR)/System.map-$(KERNELRELEASE);
 	cp $(kimagesrc) $(kimagedest)
 	mkdir -p $(TMPTOP)/usr/lib/linux-image-$(KERNELRELEASE)
-	-cp arch/$(KERNEL_ARCH)/boot/dts/*.dtb $(TMPTOP)/usr/lib/linux-image-$(KERNELRELEASE)
 	$(restore_upstream_debianization)
 endif
 ifeq ($(strip $(HAVE_COFF_IMAGE)),YES)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to