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:
32
sources/poky/meta/lib/oeqa/sdk/buildtools-cases/build.py
Normal file
32
sources/poky/meta/lib/oeqa/sdk/buildtools-cases/build.py
Normal file
@@ -0,0 +1,32 @@
|
||||
#
|
||||
# Copyright OpenEmbedded Contributors
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
import os, tempfile
|
||||
import time
|
||||
from oeqa.sdk.case import OESDKTestCase
|
||||
from oeqa.utils.subprocesstweak import errors_have_output
|
||||
errors_have_output()
|
||||
|
||||
class BuildTests(OESDKTestCase):
|
||||
"""
|
||||
Verify that bitbake can build virtual/libc inside the buildtools.
|
||||
"""
|
||||
def test_libc(self):
|
||||
with tempfile.TemporaryDirectory(prefix='bitbake-build-', dir=self.tc.sdk_dir) as testdir:
|
||||
corebase = self.td['COREBASE']
|
||||
|
||||
self._run('. %s/oe-init-build-env %s' % (corebase, testdir))
|
||||
with open(os.path.join(testdir, 'conf', 'local.conf'), 'ta') as conf:
|
||||
conf.write('\n')
|
||||
conf.write('DL_DIR = "%s"\n' % self.td['DL_DIR'])
|
||||
|
||||
try:
|
||||
self._run('. %s/oe-init-build-env %s && bitbake virtual/libc' % (corebase, testdir))
|
||||
finally:
|
||||
delay = 10
|
||||
while delay and (os.path.exists(testdir + "/bitbake.lock") or os.path.exists(testdir + "/cache/hashserv.db-wal")):
|
||||
time.sleep(1)
|
||||
delay = delay - 1
|
||||
Reference in New Issue
Block a user