- 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)
22 lines
744 B
Python
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")
|