summaryrefslogtreecommitdiffstats
path: root/common/scripts/pyagl-nohw-lava.sh
blob: 1b0c7f3d4e3008cba7cf014e1fd3c3f08b15d6e0 (plain)
1
2
3
4
5
6
7
#!/bin/bash
# for now play safe and only expect ethernet
export AGL_AVAILABLE_INTERFACES="ethernet"

pytest --color=no --show-capture=no -k "not hwrequired" /usr/lib/python?.?/site-packages/pyagl/tests/ -L
color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "file://0001-disable-when-booting-over-nfs.patch \
            file://main.conf \
"

FILES_${PN} += "${sysconfdir}/connman/main.conf"

do_install_append() {
	install -d ${D}${sysconfdir}/connman
	install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/connman

	# Need to ignore eth1 in cluster demo setup
	if ${@bb.utils.contains('DISTRO_FEATURES', 'agl-cluster-demo-support', 'true', 'false', d)}; then
		sed -i 's/^\(NetworkInterfaceBlacklist=.*\)/\1,eth1/' ${D}${sysconfdir}/connman/main.conf
	fi
}