From 32e440d8706ca2106d7d2a7a6013732cba529f21 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Fri, 3 Dec 2021 18:19:07 -0800 Subject: meta-google: inplace-gbmc-update: Add dhcp hook This makes it possible for the BMC to fetch an upgraded image during DHCP time and perform an inplace update to the new version. Change-Id: I6d32af306180dd52d4235ba4edbb80c3e49756d7 Signed-off-by: William A. Kennington III --- meta-google/recipes-phosphor/flash/gbmc-update.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-google/recipes-phosphor/flash/gbmc-update.bb (limited to 'meta-google/recipes-phosphor/flash/gbmc-update.bb') diff --git a/meta-google/recipes-phosphor/flash/gbmc-update.bb b/meta-google/recipes-phosphor/flash/gbmc-update.bb new file mode 100644 index 000000000..2c0f51066 --- /dev/null +++ b/meta-google/recipes-phosphor/flash/gbmc-update.bb @@ -0,0 +1,17 @@ +SUMMARY = "Google BMC Update Utilities" +DESCRIPTION = "Google BMC Update Utilities" +PR = "r1" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +SRC_URI += " \ + file://75-gbmc-upgrade.sh \ +" + +FILES:${PN} += "${datadir}/gbmc-br-dhcp" + +do_install() { + install -d ${D}${datadir}/gbmc-br-dhcp + install -m 0644 ${WORKDIR}/75-gbmc-upgrade.sh ${D}${datadir}/gbmc-br-dhcp/ +} -- cgit v1.2.3