From 934e4c9c4891f31d25bf0cb16ed8755d5b624ded Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 15 Jan 2019 14:03:05 +0100 Subject: linux-driver-package: don't inherit update-rc.d class if systemd is in use prevents the following build error: | ERROR: qt5-x11-image-3.0b1-r0 do_populate_sdk: Postinstall scriptlets of | ['linux-driver-package-firstboot', 'linux-driver-package-boot'] have | failed. If the intention is to defer them to first boot, | then please place them into pkg_postinst_ontarget_${PN} (). | Deferring to first boot via 'exit 1' is no longer supported. Signed-off-by: Max Krummenacher --- jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package_21.7.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package_21.7.0.bb b/jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package_21.7.0.bb index 33ab0f1..ab12b2d 100755 --- a/jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package_21.7.0.bb +++ b/jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package_21.7.0.bb @@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "676add1e8e6b2fcf76d97f22f38c9d0cbbe8a92342039a85c8a4c87e8c PR = "r7" -inherit update-rc.d +inherit ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'update-rc.d', d)} INITSCRIPT_PACKAGES = "${PN}-boot ${PN}-firstboot" -- cgit v1.2.3