fct: add fct stuff on top of new meta-nmrouter
This commit is contained in:
parent
a60574268d
commit
38074ef0bb
|
|
@ -0,0 +1,5 @@
|
||||||
|
require nmrouter-image-prodtest.bb
|
||||||
|
|
||||||
|
IMAGE_INSTALL_append = " \
|
||||||
|
packagegroup-core-ssh-openssh \
|
||||||
|
"
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
require nmrouter-image-minimal.bb
|
||||||
|
|
||||||
|
IMAGE_INSTALL_append = " \
|
||||||
|
iperf \
|
||||||
|
python3 \
|
||||||
|
tibluetooth \
|
||||||
|
ti-wl18xx-calibrator \
|
||||||
|
linux-firmware-wl18xx \
|
||||||
|
fct \
|
||||||
|
nfs-utils \
|
||||||
|
hydra \
|
||||||
|
hydra-util \
|
||||||
|
u-boot-fw-utils \
|
||||||
|
"
|
||||||
|
|
||||||
|
inherit extrausers
|
||||||
|
EXTRA_USERS_PARAMS = "\
|
||||||
|
useradd -o -u 0 -g 0 -p '' -s /usr/bin/fct.sh fct; \
|
||||||
|
"
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,29 @@
|
||||||
|
SUMMARY = "Hydra util"
|
||||||
|
DESCRIPTION = "Hydra util to verify atsha204"
|
||||||
|
SECTION = "utils"
|
||||||
|
LICENSE = "Proprietary"
|
||||||
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-util += "${PN}"
|
||||||
|
|
||||||
|
SRC_URI = "file://hydra.tar.gz \
|
||||||
|
"
|
||||||
|
inherit module
|
||||||
|
|
||||||
|
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/hydra/src"
|
||||||
|
|
||||||
|
PACKAGES += "${PN}-util"
|
||||||
|
|
||||||
|
FILES_${PN}-util = "/usr/bin"
|
||||||
|
|
||||||
|
do_compile_append() {
|
||||||
|
cd ../tools_src
|
||||||
|
oe_runmake
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
install -d ${D}/usr/bin
|
||||||
|
install -m 0775 ${S}/../tools_src/hydra-util ${D}/usr/bin
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
PACKAGECONFIG_append = " dbus"
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Random number generator
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
ExecStart=/usr/sbin/rngd
|
||||||
|
PIDFile=/var/run/rngd.pid
|
||||||
|
KillSignal=SIGQUIT
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
inherit systemd
|
||||||
|
|
||||||
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||||
|
|
||||||
|
SRC_URI_append = " file://rngd.service"
|
||||||
|
|
||||||
|
SYSTEMD_SERVICE_${PN} = "rngd.service"
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
install -d ${D}/lib/systemd/system
|
||||||
|
install -m 644 ${WORKDIR}/rngd.service ${D}/lib/systemd/system/
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue