Alexander Kanavin fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00

37 lines
1.1 KiB
BlitzBasic

SUMMARY = "Linux Firmware Loader Daemon"
DESCRIPTION = "The Linux Firmware Loader Daemon monitors the kernel for \
firmware requests and uploads the firmware blobs it has via the sysfs \
interface."
HOMEPAGE = "https://github.com/teg/firmwared"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE-APACHE;md5=7b486c2338d225a1405d979ed2c15ce8 \
file://COPYING;md5=daa868b8e1ae17d03228a1145b4060da"
SRC_URI = "git://github.com/teg/firmwared.git;branch=master;protocol=https \
file://firmwared.service"
PV = "0+git"
SRCREV = "2e6b5db43d63a5c0283a4cae9a6a20b7ad107a04"
# Upstream repo does not tag
UPSTREAM_CHECK_COMMITS = "1"
DEPENDS = "glib-2.0 systemd"
inherit pkgconfig autotools systemd features_check
REQUIRED_DISTRO_FEATURES = "systemd"
SYSTEMD_SERVICE:${PN} = "firmwared.service"
do_configure:prepend() {
${S}/autogen.sh
}
do_install:append() {
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${UNPACKDIR}/firmwared.service ${D}${systemd_system_unitdir}
sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_system_unitdir}/firmwared.service
}