Commit 293a572a authored by Florent Revest's avatar Florent Revest

Move msm-fb-refresher to meta-asteroid

parent b8b86069
[Unit]
Description=msm-fb-refresher updates the framebuffer on qualcomm devices
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/bin/msm-fb-refresher
[Install]
WantedBy=graphical.target
DESCRIPTION = "Some qualcomm devices need a refresher ioctl to show something on screen. This is a simple soft that does that on boot."
PR = "r0"
SRC_URI = "git://github.com/AsteroidOS/msm-fb-refresher.git;protocol=https \
file://msm-fb-refresher.service"
SRCREV = "06378f02ac54edc91f8db19487e1d5d379813147"
COMPATIBLE_MACHINE = "dory"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://refresher.c;beginline=1;endline=16;md5=3d0eae401b24b819f25959dcfcc3194f"
S = "${WORKDIR}/git/"
PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} ${S}/refresher.c -o ${S}/msm-fb-refresher
}
do_install() {
install -m 0755 -d ${D}${bindir}
install -m 0755 ${S}/msm-fb-refresher ${D}${bindir}
install -d ${D}/etc/systemd/system/multi-user.target.wants/
cp ../msm-fb-refresher.service ${D}/etc/systemd/system/
ln -s ../msm-fb-refresher.service ${D}/etc/systemd/system/multi-user.target.wants/msm-fb-refresher.service
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment