Skip to content

Commit

Permalink
Fixed UDOO M4 firmware over the air update
Browse files Browse the repository at this point in the history
This will for udoo-server in background and install the init scriptscript

Signed-off-by: Christian Ege <k4230r6@gmail.com>
  • Loading branch information
graugans committed Feb 9, 2016
1 parent 648e682 commit 6cde43c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion recipes-support/udoofota/udoofota/init
Expand Up @@ -23,7 +23,7 @@ start()
start-stop-daemon \
--start \
--pidfile $PID \
--exec /usr/bin/udooserver >> /var/log/udoofota-server.log 2>&1
-b --exec /usr/bin/udooserver >> /var/log/udoofota-server.log 2>&1
return $?
}

Expand Down
9 changes: 9 additions & 0 deletions recipes-support/udoofota/udoofota_1.0.bb
Expand Up @@ -5,17 +5,26 @@ LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2"


inherit update-rc.d

INITSCRIPT_NAME = "udoofota"
INITSCRIPT_PARAMS = "defaults 30"


SRCREV = "bb638a148fa768e462ae058f64521d6a807fc44f"
SRC_URI = "git://github.com/UDOOboard/udoofota.git \
file://0001-Allow-gcc-overwrite.patch \
file://init \
"

PV = "0.1+git${SRCPV}"

S = "${WORKDIR}/git"

do_install() {
install -d ${D}${sysconfdir}/init.d
install -d -m 0755 ${D}${bindir}
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udoofota
install -m 0755 ${B}/udooserver ${D}${bindir}
}

Expand Down

0 comments on commit 6cde43c

Please sign in to comment.