Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
33
sources/meta-rauc/recipes-core/rauc/rauc-conf.bb
Normal file
33
sources/meta-rauc/recipes-core/rauc/rauc-conf.bb
Normal file
@@ -0,0 +1,33 @@
|
||||
SUMMARY = "RAUC system configuration & verification keyring"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
RAUC_KEYRING_FILE ??= "ca.cert.pem"
|
||||
RAUC_KEYRING_URI ??= "file://${RAUC_KEYRING_FILE}"
|
||||
|
||||
RPROVIDES:${PN} += "virtual-rauc-conf"
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
do_compile[noexec] = "1"
|
||||
|
||||
SRC_URI = " \
|
||||
file://system.conf \
|
||||
${RAUC_KEYRING_URI} \
|
||||
"
|
||||
|
||||
do_install () {
|
||||
# Create rauc config dir
|
||||
# Warn if system configuration was not overwritten
|
||||
if ! grep -q "^[^#]" ${WORKDIR}/system.conf; then
|
||||
bbwarn "Please overwrite example system.conf with a project specific one!"
|
||||
fi
|
||||
install -d ${D}${sysconfdir}/rauc
|
||||
install -m 0644 ${WORKDIR}/system.conf ${D}${sysconfdir}/rauc/
|
||||
|
||||
# Warn if CA file was not overwritten
|
||||
if ! grep -q "^[^#]" ${WORKDIR}/${RAUC_KEYRING_FILE}; then
|
||||
bbwarn "Please overwrite example ca.cert.pem with a project specific one, or set the RAUC_KEYRING_FILE variable with your file!"
|
||||
fi
|
||||
install -d ${D}${sysconfdir}/rauc
|
||||
install -m 0644 ${WORKDIR}/${RAUC_KEYRING_FILE} ${D}${sysconfdir}/rauc/
|
||||
}
|
||||
Reference in New Issue
Block a user