M7350/oe-core/meta-msm/recipes/qrngd/qrngd_git.bb

21 lines
608 B
BlitzBasic
Raw Normal View History

2024-09-09 08:57:42 +00:00
inherit update-rc.d autotools-brokensep
2024-09-09 08:52:07 +00:00
DESCRIPTION = "Daemon to start QRNG"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/\
BSD;md5=3775480a712fc46a69647678acb234cb"
2024-09-09 08:57:42 +00:00
PR = "r3"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
FILESPATH =+ "${WORKSPACE}:"
SRC_URI = "file://external/qrngd/"
S = "${WORKDIR}/external/qrngd/"
2024-09-09 08:52:07 +00:00
INITSCRIPT_NAME = "qrngd"
2024-09-09 08:57:42 +00:00
INITSCRIPT_PARAMS = "start 97 2 3 4 5 . stop 03 0 1 6 ."
2024-09-09 08:52:07 +00:00
do_install_append() {
2024-09-09 08:57:42 +00:00
install -m 0755 ${S}/start_qrngd -D ${D}${sysconfdir}/init.d/qrngd
install -m 0755 ${S}/qrngd -D ${D}/bin/qrngd
install -m 0755 ${S}/qrngtest -D ${D}/bin/qrngtest
2024-09-09 08:52:07 +00:00
}