Skip to content
Snippets Groups Projects
Commit 109249e1 authored by Mick Michalski's avatar Mick Michalski
Browse files

Added code for installing swupdate binaries. Updated commit hash.

parent 0c93d3f8
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
require recipes-core/scripts-vesta/scripts-vesta.inc
#Rigado scripts
SRCREV = "3b0c11236c64fc8a84c81258b4fcef2d2db20a19"
SRCREV = "bb072b7c55132adb4936153aff77a5cf946f30d0"
COMPATIBLE_MACHINE = "(imx6ul-vesta-v1|imx6ul-vesta-v2)"
......@@ -46,6 +46,24 @@ do_install() {
install -d ${D}${exec_prefix}/bin
install -m 755 git/files/athtestcmd ${D}${exec_prefix}/bin/athtestcmd
install -d ${D}/etc/init.d
install -d ${D}/etc/profile.d
install -m 755 git/swupdate/etc/init.d/swupdate ${D}/etc/init.d/swupdate
install -m 755 git/swupdate/etc/profile.d/gateway.sh ${D}/etc/profile.d/gateway.sh
install -m 755 git/swupdate/etc/gateway.conf ${D}/etc/gateway.conf
ln -sf /etc/init.d/swupdate ${D}/etc/rc5.d/S70swupdate
install -d ${D}/usr/bin
install -d ${D}/usr/include
install -d ${D}/usr/lib
install -m 755 git/swupdate/usr/bin/* ${D}/usr/bin/
install -m 644 git/swupdate/usr/include/network_ipc.h ${D}/usr/include/network_ipc.h
install -m 755 git/swupdate/usr/lib/* ${D}/usr/lib/
ln -sf libconfig.so.9.2.0 ${D}/usr/lib/libconfig.so.9
install -d ${D}/www
install -m 755 git/swupdate/www/* ${D}/www/
}
FILES_${PN} += " \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment