gatesgarth migration: Convert u-boot-fw-utils dependencies to libubootenv dependencies
Modify the recovery-utils code to reflect the change (change in C header and linked libraries) https://jira.digi.com/browse/DEL-7410 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
887fcae052
commit
77039b87df
|
|
@ -5,13 +5,13 @@ LICENSE = "MIT"
|
|||
|
||||
PACKAGE_INSTALL = " \
|
||||
busybox \
|
||||
libubootenv-bin \
|
||||
${@bb.utils.contains('STORAGE_MEDIA', 'mmc', 'e2fsprogs-mke2fs', '', d)} \
|
||||
${@bb.utils.contains('STORAGE_MEDIA', 'mtd', 'mtd-utils-ubifs', '', d)} \
|
||||
psplash \
|
||||
recovery-initramfs \
|
||||
swupdate \
|
||||
trustfence-tool \
|
||||
u-boot-fw-utils \
|
||||
wipe \
|
||||
"
|
||||
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ RDEPENDS_${PN} = "\
|
|||
init-ifupdown \
|
||||
libdigiapix \
|
||||
libgpiod \
|
||||
libubootenv-bin \
|
||||
modutils-initscripts \
|
||||
netbase \
|
||||
networkmanager \
|
||||
|
|
@ -50,7 +51,6 @@ RDEPENDS_${PN} = "\
|
|||
recovery-utils \
|
||||
sysinfo \
|
||||
system-monitor \
|
||||
u-boot-fw-utils \
|
||||
usbutils \
|
||||
${VIRTUAL-RUNTIME_base-utils} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', '${VIRTUAL-RUNTIME_base-utils-acpid}', d)} \
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ SUMMARY = "Recovery reboot utilities"
|
|||
LICENSE = "MPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad"
|
||||
|
||||
DEPENDS = "u-boot-fw-utils"
|
||||
DEPENDS = "libubootenv"
|
||||
|
||||
PV = "0.1"
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#include <sys/reboot.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <libubootenv/ubootenv.h>
|
||||
#include "libuboot.h"
|
||||
|
||||
#define FILE_PREFIX "file://"
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CFLAGS += -Wall -DGIT_REVISION=\"$(if $(GIT_REVISION),-g$(GIT_REVISION))\"
|
|||
#
|
||||
CFLAGS += -I../include
|
||||
LDFLAGS += -L../lib
|
||||
LDLIBS += -lrecovery -lubootenv
|
||||
LDLIBS += -lrecovery -lubootenv -lz
|
||||
|
||||
all: $(PROGRAM)
|
||||
|
||||
|
|
|
|||
|
|
@ -26,12 +26,12 @@ FILES_${PN} = "/"
|
|||
|
||||
# Runtime packages used in 'trustfence-initramfs-init'
|
||||
RDEPENDS_${PN} = " \
|
||||
libubootenv-bin \
|
||||
${@bb.utils.contains('STORAGE_MEDIA', 'mmc', 'cryptsetup', '', d)} \
|
||||
${@bb.utils.contains('STORAGE_MEDIA', 'mtd', 'mtd-utils-ubifs', '', d)} \
|
||||
trustfence-tool \
|
||||
util-linux-findfs \
|
||||
wipe \
|
||||
u-boot-fw-utils \
|
||||
"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue