blob: 99336c481996b087457f9fb5e3f589fcbbd0df76 [file] [log] [blame]
SUMMARY = "YAML configuration for IBM System1"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit systemd
RDEPENDS:${PN} += "bash flashrom"
SRC_URI += " \
file://bios-version.sh \
file://bios-version.service \
"
do_install:append() {
install -d ${D}/${sbindir}
install -m 0755 ${WORKDIR}/bios-version.sh ${D}/${sbindir}/
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/bios-version.service ${D}${systemd_system_unitdir}/
}
SYSTEMD_SERVICE:${PN} += "bios-version.service"
FILES:${PN} += "${systemd_system_unitdir}/bios-version.service ${sbindir}/bios-version.sh"