Files

26 lines
591 B
BlitzBasic
Raw Permalink Normal View History

2026-04-23 17:07:55 +08:00
SUMMARY = "Write Bios Version to File"
DESCRIPTION = "Write Bios Version to File"
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SRC_URI = "\
file://write-bios-version.sh \
file://${BPN}.service \
"
inherit allarch
inherit obmc-phosphor-systemd
RDEPENDS:${PN} += "bash"
SYSTEMD_SERVICE:${PN} += "${PN}.service"
do_install() {
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/write-bios-version.sh ${D}${bindir}
}