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,17 @@
|
||||
LICENSE = "MIT"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
IMAGE_INSTALL:append = "\
|
||||
packagegroup-base \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' packagegroup-systemd', '', d)} \
|
||||
packagegroup-hwutils-base \
|
||||
packagegroup-fsutils \
|
||||
packagegroup-netutils \
|
||||
packagegroup-sysutils \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'can', 'packagegroup-can', '', d)} \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'lte', 'packagegroup-lte', '', d)} \
|
||||
${@bb.utils.contains('COMBINED_FEATURES', 'alsa', 'packagegroup-audio', '', d)} \
|
||||
${@bb.utils.contains('COMBINED_FEATURES', 'npu', 'packagegroup-npu', '',d)} \
|
||||
${@bb.utils.contains('COMBINED_FEATURES', 'wifi', 'packagegroup-wifi', '',d)} \
|
||||
"
|
||||
@@ -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)}'
|
||||
@@ -0,0 +1,9 @@
|
||||
require tq-image-generic.bb
|
||||
require tq-image-debug.inc
|
||||
|
||||
SUMMARY = "This is a generic image for TQ SOM with test and debug features."
|
||||
|
||||
DESCRIPTION = "Demo image based on tq-image-generic and selection of packages \
|
||||
and IMAGE_FEATURES usually needed for development, debugging and testing. \
|
||||
This creates a medium sized image, that must not be used for production - \
|
||||
especially from the aspect of security."
|
||||
@@ -0,0 +1,10 @@
|
||||
require tq-image-generic-rt.bb
|
||||
require tq-image-debug.inc
|
||||
|
||||
SUMMARY = "This is a generic image for TQ SOM running PREEMPT_RT kernel with test and debug features."
|
||||
|
||||
DESCRIPTION = "Demo image based on core-image-generic and essential packages \
|
||||
for the machine. This creates a larger image and includes real-time test suite \
|
||||
and tools appropriate for real-time use. \
|
||||
This creates a medium sized image, that must not be used for production - \
|
||||
especially from the aspect of security."
|
||||
@@ -0,0 +1,22 @@
|
||||
require recipes-core/images/core-image-minimal.bb
|
||||
|
||||
# Skip processing of this recipe if linux-rt-tq is not explicitly specified as the
|
||||
# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying
|
||||
# to build multiple virtual/kernel providers.
|
||||
python () {
|
||||
if d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-rt-tq":
|
||||
raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-rt-tq to enable it")
|
||||
}
|
||||
|
||||
SUMMARY = "This is an RT image for TQ SOM with some RT test / debug tools."
|
||||
DESCRIPTION = "Demo image based on core-image-minimal and essential packages \
|
||||
for the machine. This creates a larger image and includes real-time test suite \
|
||||
and tools appropriate for real-time use."
|
||||
DEPENDS += "linux-rt-tq"
|
||||
|
||||
IMAGE_INSTALL += "\
|
||||
rt-tests \
|
||||
hwlatdetect \
|
||||
"
|
||||
|
||||
require tq-image.inc
|
||||
@@ -0,0 +1,11 @@
|
||||
require recipes-core/images/core-image-minimal.bb
|
||||
require tq-image.inc
|
||||
|
||||
SUMMARY = "This is a generic image for TQ SOM with some test features."
|
||||
|
||||
DESCRIPTION = "Demo image based on core-image-minimal, the base for a \
|
||||
booting system and essential packages for the machine. This creates a medium sized image \
|
||||
and includes also test tools, not directly suitable for production - \
|
||||
also from the aspect of security."
|
||||
|
||||
LICENSE = "MIT"
|
||||
@@ -0,0 +1,11 @@
|
||||
require tq-image-small.bb
|
||||
|
||||
SUMMARY = "This is a small image for TQ SOM with some test and debug features."
|
||||
|
||||
DESCRIPTION = "Demo image based on tq-image-generic and minimal selection of packages \
|
||||
and IMAGE_FEATURES usually needed for development, debugging and testing. \
|
||||
This creates a small image, that must not be used for production - \
|
||||
especially from the aspect of security."
|
||||
|
||||
# enable root login w/o password and passwordless ssh login
|
||||
IMAGE_FEATURES:append = " debug-tweaks"
|
||||
@@ -0,0 +1,12 @@
|
||||
require recipes-core/images/core-image-minimal.bb
|
||||
require tq-image-base.inc
|
||||
|
||||
SUMMARY = "This is a small image for TQ SOM with some test / debug features."
|
||||
|
||||
DESCRIPTION = "Demo image based on core-image-minimal and essential packages \
|
||||
for the machine. This creates a large image and includes also debug tools, not \
|
||||
directly suitable for production - also from the aspect of security."
|
||||
|
||||
# force dropbear
|
||||
IMAGE_FEATURES:append = " ssh-server-dropbear"
|
||||
IMAGE_FEATURES:remove = "ssh-server-openssh"
|
||||
@@ -0,0 +1,9 @@
|
||||
require tq-image-weston.bb
|
||||
require tq-image-debug.inc
|
||||
|
||||
SUMMARY = "This is a weston image for TQ SOM with test and debug features."
|
||||
|
||||
DESCRIPTION = "Demo image based on tq-image-weston and selection of packages \
|
||||
and IMAGE_FEATURES usually needed for development, debugging and testing. \
|
||||
This creates a medium sized image, that must not be used for production - \
|
||||
especially from the aspect of security."
|
||||
@@ -0,0 +1,31 @@
|
||||
# for now: use poky weston image as a base
|
||||
require recipes-graphics/images/core-image-weston.bb
|
||||
|
||||
# add our default stuff
|
||||
require tq-image.inc
|
||||
|
||||
SUMMARY = "This is a weston image for TQ SOM with some test features."
|
||||
|
||||
DESCRIPTION = "Demo image based on core-image-weston and essential packages \
|
||||
for the machine. This creates a large image and includes also test tools, not \
|
||||
directly suitable for production - also from the aspect of security."
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
IMAGE_FEATURES:remove = "package-management"
|
||||
IMAGE_FEATURES:append = " splash"
|
||||
|
||||
###
|
||||
# this may be a little bit overkill
|
||||
###
|
||||
THISIMAGE_GSTREAMER_PLUGINS = "\
|
||||
gstreamer1.0-plugins-base-meta \
|
||||
gstreamer1.0-plugins-good-meta \
|
||||
gstreamer1.0-plugins-bad-meta \
|
||||
"
|
||||
|
||||
IMAGE_INSTALL:append = "\
|
||||
weston-examples \
|
||||
${THISIMAGE_GSTREAMER_PLUGINS} \
|
||||
packagegroup-dumpling-gstreamer \
|
||||
"
|
||||
@@ -0,0 +1,13 @@
|
||||
LICENSE = "MIT"
|
||||
|
||||
require tq-image-base.inc
|
||||
|
||||
IMAGE_INSTALL:append = "\
|
||||
coreutils \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'camera', ' packagegroup-v4l2', '', d)} \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'vpu', ' packagegroup-v4l2', '', d)} \
|
||||
"
|
||||
|
||||
# force openssh to prevent conflict with dropbear
|
||||
IMAGE_FEATURES:append = " ssh-server-openssh"
|
||||
IMAGE_FEATURES:remove = "ssh-server-dropbear"
|
||||
Reference in New Issue
Block a user