dualboot: rename firmware-update-dual.sh to update-firmware
Use the same name for both firmware update mechanism. Add a dependency to only add recovery-utils used by the non dual-boot firmware update system. Adding this only one binary/script called update-firmware will be added. Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
parent
1105a8fecd
commit
378135b9c6
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2021 Digi International Inc.
|
||||
# Copyright (C) 2021-2022 Digi International Inc.
|
||||
|
||||
SUMMARY = "Digi Embedded Yocto Dual boot support"
|
||||
SECTION = "base"
|
||||
|
|
@ -14,7 +14,7 @@ DEPENDS += "${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', 'virtual/kernel open
|
|||
|
||||
SRC_URI = " \
|
||||
file://dualboot-init \
|
||||
file://firmware-update-dual.sh \
|
||||
file://update-firmware \
|
||||
file://firmware-update-check.service \
|
||||
file://on-the-fly-swap-partition.sh \
|
||||
"
|
||||
|
|
@ -29,7 +29,7 @@ do_install() {
|
|||
ln -sf /etc/dualboot-init ${D}${sysconfdir}/init.d/dualboot-init
|
||||
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/firmware-update-dual.sh ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/update-firmware ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/on-the-fly-swap-partition.sh ${D}${bindir}
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system/
|
||||
|
|
@ -64,7 +64,7 @@ do_install() {
|
|||
FILES:${PN} += " \
|
||||
${sysconfdir}/dualboot-init \
|
||||
${sysconfdir}/init.d/dualboot-init \
|
||||
${bindir}/firmware-update-dual.sh \
|
||||
${bindir}/update-firmware \
|
||||
${bindir}/on-the-fly-swap-partition.sh \
|
||||
${systemd_unitdir}/system/firmware-update-check.service \
|
||||
${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', '${sysconfdir}/ssl/certs/key.pub', '', d)} \
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
#===============================================================================
|
||||
#
|
||||
# update-firmware-dual.sh
|
||||
# update-firmware
|
||||
#
|
||||
# Copyright (C) 2021 by Digi International Inc.
|
||||
# Copyright (C) 2021-2022 by Digi International Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify it
|
||||
Loading…
Reference in New Issue