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:
@@ -0,0 +1,34 @@
|
||||
# For modifying /etc/issue during rootfs postbuild steps
|
||||
DEPENDS += "figlet-native"
|
||||
|
||||
# plenty of tools for test / development
|
||||
IMAGE_INSTALL:append = "\
|
||||
packagegroup-testutils \
|
||||
"
|
||||
|
||||
# enable root login w/o password and passwordless ssh login
|
||||
IMAGE_FEATURES:append = " debug-tweaks"
|
||||
# poky defined collection of debug tools
|
||||
# tools-testapps is not appended here since it increases images size
|
||||
# without having a global benefit due to ltp and complex dependencies
|
||||
IMAGE_FEATURES:append = " tools-debug"
|
||||
|
||||
#
|
||||
# Add a postprocess command to add a note and a message in the issue banner files
|
||||
# if debug setting can be found in IMAGE_FEATURES
|
||||
#
|
||||
ISSUE_WARN = "WARNING: your rootfs has debug settings enabled and is not secure."
|
||||
|
||||
do_issue_warning () {
|
||||
figlet -c -d ${RECIPE_SYSROOT_NATIVE}/usr/share/figlet -- "development" | \
|
||||
sed 's,\\,\\\\,g' >> "${IMAGE_ROOTFS}/${sysconfdir}/issue"
|
||||
echo "${ISSUE_WARN}" >> "${IMAGE_ROOTFS}/${sysconfdir}/issue"
|
||||
|
||||
figlet -c -d ${RECIPE_SYSROOT_NATIVE}/usr/share/figlet -- "development" >> \
|
||||
"${IMAGE_ROOTFS}/${sysconfdir}/issue.net"
|
||||
echo "${ISSUE_WARN}" >> "${IMAGE_ROOTFS}/${sysconfdir}/issue.net"
|
||||
}
|
||||
|
||||
ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains_any("IMAGE_FEATURES", \
|
||||
[ 'debug-tweaks', 'empty-root-password', 'allow-root-login' ], \
|
||||
"do_issue_warning; ", "",d)}'
|
||||
Reference in New Issue
Block a user