dualboot: fix runtime dependences
Several fixes to the runtime dependences: * Use new override syntax with ':' * There is not "dualboot-init" package only "dualboot" * Delete dependence on trustfence-tool While on it, define do_configure and do_compile as noexec, because those tasks do not need to execute, and remove the wrong PACKAGE_ARCH entry (as this package is arch/machine agnostic) Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
9f7ed3e2b1
commit
20eb907de0
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (C) 2021-2022 Digi International Inc.
|
# Copyright (C) 2021-2023 Digi International Inc.
|
||||||
|
|
||||||
SUMMARY = "Digi Embedded Yocto Dual boot support"
|
SUMMARY = "Digi Embedded Yocto Dual boot support"
|
||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
|
|
@ -23,6 +23,9 @@ S = "${WORKDIR}"
|
||||||
|
|
||||||
inherit systemd update-rc.d
|
inherit systemd update-rc.d
|
||||||
|
|
||||||
|
do_configure[noexec] = "1"
|
||||||
|
do_compile[noexec] = "1"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}${sysconfdir}/init.d/
|
install -d ${D}${sysconfdir}/init.d/
|
||||||
install -m 0755 ${WORKDIR}/dualboot-init ${D}${sysconfdir}/dualboot-init
|
install -m 0755 ${WORKDIR}/dualboot-init ${D}${sysconfdir}/dualboot-init
|
||||||
|
|
@ -75,10 +78,4 @@ INITSCRIPT_PARAMS = "start 19 2 3 4 5 . stop 21 0 1 6 ."
|
||||||
|
|
||||||
SYSTEMD_SERVICE:${PN} = "firmware-update-check.service"
|
SYSTEMD_SERVICE:${PN} = "firmware-update-check.service"
|
||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
RDEPENDS:${PN} += "swupdate"
|
||||||
|
|
||||||
# Add swupdate into the rootfs for dual boot support
|
|
||||||
RDEPENDS_${PN}-init = " \
|
|
||||||
swupdate \
|
|
||||||
trustfence-tool \
|
|
||||||
"
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue