diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2019-01-15 14:03:05 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2019-03-06 19:03:44 +0100 |
commit | 934e4c9c4891f31d25bf0cb16ed8755d5b624ded (patch) | |
tree | 5bcdcc02d37101bd118843845945f2c01bcedd14 | |
parent | 301e901573ec54cfcf3afba5705d77f298a26a09 (diff) |
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 <max.krummenacher@toradex.com>
-rwxr-xr-x | jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package_21.7.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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" |