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:
27
sources/poky/meta-selftest/classes/localpkgfeed.bbclass
Normal file
27
sources/poky/meta-selftest/classes/localpkgfeed.bbclass
Normal file
@@ -0,0 +1,27 @@
|
||||
# Create a subset of the package feed that just contain the
|
||||
# packages depended on by this recipe.
|
||||
|
||||
LOCALPKGFEED_DIR = "${WORKDIR}/localpkgfeed"
|
||||
|
||||
addtask localpkgfeed after do_build
|
||||
do_localpkgfeed[cleandirs] = "${LOCALPKGFEED_DIR}"
|
||||
do_localpkgfeed[nostamp] = "1"
|
||||
|
||||
def get_packaging_class(d):
|
||||
package_class = d.getVar("PACKAGE_CLASSES").split()[0]
|
||||
return package_class.replace("package_", "")
|
||||
|
||||
python () {
|
||||
packaging = get_packaging_class(d)
|
||||
d.setVarFlag("do_localpkgfeed", "rdeptask", "do_package_write_" + packaging)
|
||||
}
|
||||
|
||||
python do_localpkgfeed() {
|
||||
import oe.package_manager
|
||||
|
||||
packaging = get_packaging_class(d)
|
||||
deploydir = d.getVar("DEPLOY_DIR_" + packaging.upper())
|
||||
task = "package_write_" + packaging
|
||||
|
||||
oe.package_manager.create_packages_dir(d, d.getVar("LOCALPKGFEED_DIR"), deploydir, task, True, True)
|
||||
}
|
||||
Reference in New Issue
Block a user