Files
tqma6-yocto-mirror/sources/poky/meta/lib/oeqa/selftest/cases/intercept.py
Siggi (OpenClaw Agent) 16accb6b24 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)
2026-03-01 21:14:11 +00:00

22 lines
744 B
Python

#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
from oeqa.selftest.case import OESelftestTestCase
from oeqa.utils.commands import bitbake
class GitCheck(OESelftestTestCase):
def test_git_intercept(self):
"""
Git binaries with CVE-2022-24765 fixed will refuse to operate on a
repository which is owned by a different user. This breaks our
do_install task as that runs inside pseudo, so the git repository is
owned by the build user but git is running as (fake)root.
We have an intercept which disables pseudo, so verify that it works.
"""
bitbake("git-submodule-test -c test_git_as_user")
bitbake("git-submodule-test -c test_git_as_root")