From 2f25c52da30b5bebb70596e3e1919192964ec6e7 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: Tue, 20 Oct 2015 14:10:50 +0200 Subject: [PATCH] Install dtbs in /boot By default the debian packaging installs the device-tree files in /usr, which is less useful if using a bootloader that picks them up dynamically in combination with a seperate /boot partition Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> --- debian/rules.real | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules.real b/debian/rules.real index d4e0749b10..53bcc98f92 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -459,7 +459,7 @@ endif ln -sf linux-image.NEWS debian/$(PACKAGE_NAME).NEWS +$(MAKE_SELF) install-base -install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_dt: DT_INSTALL_DIR = $(PACKAGE_DIR)/usr/lib/linux-image-$(REAL_VERSION) +install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_dt: DT_INSTALL_DIR = $(PACKAGE_DIR)/boot/dtbs/$(REAL_VERSION) install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_dt: ifneq ($(filter arm64 armel armhf mipsr6 mipsr6el mips64r6 mips64r6el riscv64,$(ARCH)),) +$(MAKE_CLEAN) -C $(DIR) dtbs -- GitLab