diff --git a/meta-digi-dey/recipes-digi/dualboot/dualboot.bb b/meta-digi-dey/recipes-digi/dualboot/dualboot.bb index 60b346403..1876504a6 100644 --- a/meta-digi-dey/recipes-digi/dualboot/dualboot.bb +++ b/meta-digi-dey/recipes-digi/dualboot/dualboot.bb @@ -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" SECTION = "base" @@ -23,6 +23,9 @@ S = "${WORKDIR}" inherit systemd update-rc.d +do_configure[noexec] = "1" +do_compile[noexec] = "1" + do_install() { install -d ${D}${sysconfdir}/init.d/ 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" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -# Add swupdate into the rootfs for dual boot support -RDEPENDS_${PN}-init = " \ - swupdate \ - trustfence-tool \ -" +RDEPENDS:${PN} += "swupdate"