Home
last modified time | relevance | path

Searched +full:sstate +full:- +full:cache (Results 1 – 25 of 70) sorted by relevance

123

/OK3568_Linux_fs/yocto/poky/scripts/
H A Dsstate-cache-management.sh5 # SPDX-License-Identifier: GPL-2.0-only
18 Welcome to sstate cache management utilities.
19 sstate-cache-management.sh <OPTION>
22 -h, --help
25 --cache-dir=<sstate cache dir>
26 Specify sstate cache directory, will use the environment
29 --extra-archs=<arch1>,<arch2>...<archn>
35 --extra-layer=<layer1>,<layer2>...<layern>
37 it will search the meta and meta-* layers in the top dir by
38 default, and will search meta, meta-*, <layer1>, <layer2>,
[all …]
H A Dsstate-sysroot-cruft.sh3 # SPDX-License-Identifier: GPL-2.0-only
5 # Used to find files installed in sysroot which are not tracked by sstate manifest
16 -h, --help
19 --tmpdir=<tmpdir>
21 Something like /OE/oe-core/tmp-eglibc (no / at the end).
23 --whitelist=<whitelist-file>
40 while [ -n "$1" ]; do
42 --tmpdir=*)
43 tmpdir=`echo $1 | sed -e 's#^--tmpdir=##' | xargs readlink -e`
44 [ -d "$tmpdir" ] || echo_error "Invalid argument to --tmpdir"
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A D_sstatetests_noauto.py2 # SPDX-License-Identifier: MIT
10 from oeqa.selftest.cases.sstate import SStateBase
22 bitbake("-g " + ' '.join(map(str, primary_targets)))
23 with open(os.path.join(self.builddir, 'pn-buildlist'), 'r') as pnfile:
33 config['default_sstate_dir'] = "SSTATE_DIR ?= \"${TOPDIR}/sstate-cache\""
67 …runCmd((". %s/oe-init-build-env %s && " % (get_bb_var('COREBASE'), buildA)) + 'bitbake ' + ' '.jo…
68 …self.hardlink_tree(os.path.join(buildA, 'sstate-cache'), os.path.join(self.builddir, 'sstate-cache…
75 …self.hardlink_tree(os.path.join(self.builddir, 'sstate-cache-buildA'), os.path.join(buildB, 'sstat…
77 …result_cleansstate = runCmd((". %s/oe-init-build-env %s && " % (get_bb_var('COREBASE'), buildB)) +…
83 …result_build = runCmd((". %s/oe-init-build-env %s && " % (get_bb_var('COREBASE'), buildB)) + 'bitb…
[all …]
H A Dsstatetests.py2 # SPDX-License-Identifier: MIT
12 from oeqa.selftest.cases.sstate import SStateBase
27 self.add_command_to_tearDown('bitbake-layers remove-layer %s' % tempdir)
29 runCmd('bitbake-layers add-layer %s' % tempdir)
31 # Use dbus-wait as a local git repo we can add a commit between two builds in
32 pn = 'dbus-wait'
34 url = 'git://git.yoctoproject.org/dbus-wait'
37 result = runCmd('git reset --hard %s' % srcrev, cwd=srcdir)
40 … recipefile = os.path.join(tempdir, "recipes-test", "dbus-wait-test", 'dbus-wait-test_git.bb')
43 result = runCmd(['recipetool', 'create', '-o', recipefile, srcuri])
[all …]
H A Dsigning.py2 # SPDX-License-Identifier: MIT
24 bitbake('gnupg-native -c addto_recipe_sysroot')
26 self.gpg_dir = tempfile.mkdtemp(prefix="oeqa-signing-")
32 nsysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", "gnupg-native")
34 …runCmd('gpg --agent-program=`which gpg-agent`\|--auto-expand-secmem --batch --homedir %s --import …
42 oe.path.copytree(builddir + "/cache", newbuilddir + "/cache")
65 Product: oe-core
87 bitbake('-c clean %s' % test_recipe)
88 bitbake('-f -c package_write_rpm %s' % test_recipe)
90 self.add_command_to_tearDown('bitbake -c clean %s' % test_recipe)
[all …]
H A Dreproducible.py2 # SPDX-License-Identifier: MIT
4 # Copyright 2019-2020 by Garmin Ltd. or its subsidiaries
79 return sorted(set(exclude_packages) - self.active_exclusions)
90 …r = runCmd(['cmp', '--quiet', reference, test], native_sysroot=diffutils_sysroot, ignore_status=Tr…
100 return runCmd(['diffoscope', '--no-default-limits', '--max-report-size', str(max_report_size),
101 '--exclude-directory-metadata', 'yes', '--html-dir', html_dir, a_dir, b_dir],
108 bitbake("diffoscope-native -c addto_recipe_sysroot")
109 diffoscope_sysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", "diffoscope-native")
135 …targets = ['core-image-minimal', 'core-image-sato', 'core-image-full-cmdline', 'core-image-weston'…
136 # sstate targets are things to pull from sstate to potentially cut build/debugging time
[all …]
H A DeSDK.py2 # SPDX-License-Identifier: MIT
17 # Install libraries and headers, image generation binary feeds, sdk-update.
23 # what environment load oe-selftest, i586, x86_64
24 pattern = os.path.join(tmpdir_eSDKQA, 'environment-setup-*')
42 pn_task = '%s -c populate_sdk_ext' % image
47 pn_task = '%s -c populate_sdk_ext' % image
56 sstate_dir = os.path.join(os.environ['BUILDDIR'], 'sstate-cache')
61 runCmd("%s -y -d \"%s\"" % (cls.ext_sdk_path, cls.tmpdir_eSDKQA))
77 cls.image = 'core-image-minimal'
81 cls.tmpdirobj = tempfile.TemporaryDirectory(prefix="selftest-esdk-", dir=bb_vars["WORKDIR"])
[all …]
/OK3568_Linux_fs/yocto/build/conf/include/
H A Dcommon.conf27 #MACHINE ?= "qemux86-64"
32 #MACHINE ?= "beaglebone-yocto"
34 #MACHINE ?= "genericx86-64"
37 # This sets the default machine to be qemux86-64 if no other machine is selected:
38 MACHINE ??= "qemux86-64"
54 # Where to place shared-state files
57 # This is done using "shared state" files which can be thought of as cache objects
65 # The default is a sstate-cache directory under TOPDIR.
67 #SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
94 # DISTRO ?= "poky-bleeding"
[all …]
/OK3568_Linux_fs/yocto/poky/meta-poky/conf/
H A Dlocal.conf.sample27 #MACHINE ?= "qemux86-64"
32 #MACHINE ?= "beaglebone-yocto"
34 #MACHINE ?= "genericx86-64"
37 # This sets the default machine to be qemux86-64 if no other machine is selected:
38 MACHINE ??= "qemux86-64"
54 # Where to place shared-state files
57 # This is done using "shared state" files which can be thought of as cache objects
65 # The default is a sstate-cache directory under TOPDIR.
67 #SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
94 # DISTRO ?= "poky-bleeding"
[all …]
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dpopulate_sdk_ext.bbclass7 meta-environment-extsdk-${MACHINE} \
10 SDK_RELOCATE_AFTER_INSTALL:task-populate-sdk-ext = "0"
13 SDK_EXT:task-populate-sdk-ext = "-ext"
57 sdk_install_targets += ' meta-world-pkgdata:do_allpackagedata'
59 sdk_install_targets += ' meta-extsdk-toolchain:do_populate_sysroot'
65 OE_INIT_ENV_SCRIPT ?= "oe-init-build-env"
71 oe-init-build-env \
77 SDK_DIR:task-populate-sdk-ext = "${WORKDIR}/sdk-ext"
78 B:task-populate-sdk-ext = "${SDK_DIR}"
79 TOOLCHAINEXT_OUTPUTNAME ?= "${SDK_NAME}-toolchain-ext-${SDK_VERSION}"
[all …]
H A Dsstate.bbclass5 SSTATE_MANIFESTS ?= "${TMPDIR}/sstate-control"
6 SSTATE_MANFILEPREFIX = "${SSTATE_MANIFESTS}/manifest-${SSTATE_MANMACH}-${PN}"
13 limit = 254 - 8
25 …ail = (limit - len(hash + "_" + taskname + extension) - len(components[0]) - len(components[1]) -
32 bb.fatal("Unable to reduce sstate name to less than 255 chararacters")
36 SSTATE_PKGSPEC = "sstate:${PN}:${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}:${PV}:${PR}:${SSTATE…
37 SSTATE_SWSPEC = "sstate:${PN}::${PV}:${PR}::${SSTATE_VERSION}:"
47 # We don't want the sstate to depend on things like the distro string
48 # of the system, we let the sstate paths take care of this.
56 # sdk-provides-dummy-nativesdk and nativesdk-buildtools-perl-dummy overlap for different SDKMACHINE
[all …]
/OK3568_Linux_fs/yocto/poky/documentation/ref-manual/
H A Dtasks.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
17 ":ref:`bitbake:bitbake-user-manual/bitbake-user-manual-metadata:tasks`" and
18 ":ref:`bitbake:bitbake-user-manual/bitbake-user-manual-execution:dependencies`" sections in the
21 .. _ref-tasks-build:
24 ------------
29 .. _ref-tasks-compile:
32 --------------
41 .. _ref-tasks-compile_ptest_base:
44 -------------------------
48 .. _ref-tasks-configure:
[all …]
H A Dstructure.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
15 ":ref:`dev-manual/start:locating yocto project source files`"
24 .. _structure-core:
26 Top-Level Core Components
29 This section describes the top-level components of the :term:`Source Directory`.
31 .. _structure-core-bitbake:
34 ------------
45 environment setup script (i.e. :ref:`structure-core-script`) places
52 .. _structure-core-build:
55 ----------
[all …]
H A Dclasses.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
29 .. _ref-classes-allarch:
35 architecture-specific output. The class disables functionality that is
37 building the cross-compiler and a C library as pre-requisites, and
47 even if the recipes do not produce architecture-specific output.
55 By default, all recipes inherit the :ref:`base <ref-classes-base>` and
56 :ref:`package <ref-classes-package>` classes, which enable
62 .. _ref-classes-archiver:
71 ":ref:`dev-manual/common-tasks:maintaining open source license compliance during your product's lif…
76 .. _ref-classes-autotools:
[all …]
/OK3568_Linux_fs/yocto/poky/documentation/migration-guides/
H A Dmigration-1.3.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
9 .. _1.3-local-configuration:
12 -------------------
17 .. _migration-1.3-sstate-mirrors:
22 The shared state cache (sstate-cache), as pointed to by
23 :term:`SSTATE_DIR`, by default now has two-character
25 directory. Also, native sstate-cache packages, which are built to run on
27 string. If you copy the newly structured sstate-cache to a mirror
34 SSTATE_MIRRORS = "file://.* http://someserver.tld/share/sstate/PATH"
36 .. _migration-1.3-bblayers-conf:
[all …]
H A Drelease-notes-4.0.2.rst1 Release notes for Yocto-4.0.2 (Kirkstone)
2 -----------------------------------------
4 Security Fixes in Yocto-4.0.2
7 - libxslt: Mark :cve:`2022-29824` as not applying
8 - tiff: Add jbig PACKAGECONFIG and clarify IGNORE :cve:`2022-1210`
9 - tiff: mark :cve:`2022-1622` and :cve:`2022-1623` as invalid
10 - pcre2:fix :cve:`2022-1586` Out-of-bounds read
11 - curl: fix :cve:`2022-22576`, :cve:`2022-27775`, :cve:`2022-27776`, :cve:`2022-27774`, :cve:`2022
12 - qemu: fix :cve:`2021-4206` and :cve:`2021-4207`
13 - freetype: fix :cve:`2022-27404`, :cve:`2022-27405` and :cve:`2022-27406`
[all …]
/OK3568_Linux_fs/yocto/poky/documentation/overview-manual/
H A Dconcepts.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
8 beyond the surface of "how-to" information and reference (or look-up)
11 cross-development toolchains, shared state cache, and so forth are
19 :term:`OpenEmbedded-Core (OE-Core)`. This section
26 - *Recipes:* Provides details about particular pieces of software.
28 - *Class Data:* Abstracts common build information (e.g. how to build a
31 - *Configuration Data:* Defines machine-specific settings, policy
37 ":ref:`dev-manual/common-tasks:understanding and creating layers`"
43 ":ref:`overview-manual/concepts:openembedded build system concepts`"
47 -------
[all …]
/OK3568_Linux_fs/yocto/meta-clang/.github/workflows/
H A Dyoe.yml8 - master
11 - master
15 runs-on: [self-hosted, Linux]
16 timeout-minutes: 720
18 - name: Fetch Repo Name
19 id: repo-name
20 … run: echo "::set-output name=value::$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')"
21 - name: Checkout
24 fetch-depth: 0
26 - name: checkout yoe
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/templates/
H A Dtask.html6 …rsion}} {{task.task_name}} - {{build.target_set.all|dictsort:"target"|join:", "}} {{build.machine}…
15 <div class="col-md-12">
16 <div class="page-header build-data">
23 <span class="glyphicon glyphicon-question-sign get-help" title="{{task.get_outcome_help}}"></i>
28 <a class="btn btn-default btn-lg"
37 <pre style="min-height:160px;">
38 …<code>{{log_head}}</code><a id="full-trace-show" data-target="#fulltrace" data-toggle="collapse" c…
39 <div id="fulltrace" class="collapse" style="margin-top: -20px; height: 0px;">
40-trace-hide" class="btn btn-xs collapsed" style="font-family:Helvetica Neue" data-target="#fulltra…
47 <a class="btn btn-default"
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/eventreplay/
H A DREADME3 These tests use event log files produced by bitbake <target> -w <event log file>
7 and core-image-minimal.events. They're not provided with the tests due to their
12 $ . oe-init-build-env
13 $ rm -r tmp sstate-cache
14 $ bitbake core-image-minimal -w core-image-minimal.events
15 $ rm -rf tmp sstate-cache
16 $ bitbake zlib -w zlib.events
20 …TTINGS_MODULE=toastermain.settings_test ../bitbake/lib/toaster/manage.py test -v2 tests.eventreplay
/OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/
H A Dsdk.py1 # Development tool - sdk-update command plugin
3 # Copyright (C) 2015-2016 Intel Corporation
5 # SPDX-License-Identifier: GPL-2.0-only
47 """Return a list containing sstate objects which are to be installed"""
60 logger.error("More than one matching sstate object found for %s" % hashval)
72 """Install sstate objects into destination SDK"""
73 sstate_dir = os.path.join(dest_sdk, 'sstate-cache')
75 …logger.error("Missing sstate-cache directory in %s, it might not be an extensible SDK." % dest_sdk)
100 """Entry point for devtool sdk-update command"""
106 # Make sure we are using sdk-update from within SDK
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/buildperf/
H A Dtest_basic.py3 # SPDX-License-Identifier: GPL-2.0-only
14 build_target = 'core-image-sato'
17 """Build core-image-sato"""
33 # Build and cleans state in order to get all dependencies pre-built
35 self.run_cmd(['bitbake', self.build_target, '-c', 'cleansstate'])
43 build_target = 'core-image-sato'
46 """Build core-image-sato with rm_work enabled"""
55 cmd = ['bitbake', '-R', postfile, self.build_target]
63 build_target = 'core-image-sato'
66 """Run core-image-sato do_rootfs with sstate"""
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ui/
H A Dteamcity.py5 # See https://www.jetbrains.com/help/teamcity/build-script-interaction-with-teamcity.html
10 # Copyright (C) 2006-2012 Richard Purdie
11 # Copyright (C) 2018-2020 Agilent Technologies, Inc.
13 # SPDX-License-Identifier: GPL-2.0-only
49 …splay/TCD10/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-Escapedvalues
91 and (now - self._last_progress_state[2]).microseconds >= 5000) \
181 logger.error("Observe-only mode not supported in this UI")
222 … # Don't report sstate failures as errors, since Yocto will just run the tasks for real
224 …cher failure: Unable to find file") and "downloadfilename" in event.msg and "sstate" in event.msg):
245 rt = "{0}-{1}:{2}".format(event.pn, event.pv.replace("AUTOINC", "0"), event.task)
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Dcopy_buildsystem.py2 # SPDX-License-Identifier: GPL-2.0-only
10 # e.g.: ".*-downloads closed-.*"
23 …cmd = "tar --exclude='.git' --exclude='__pycache__' --xattrs --xattrs-include='*' -chf - -C %s -p …
24 | tar --xattrs --xattrs-include='*' -xf - -C %s" % (src, dest)
48 # The bitbake build system uses the meta-skeleton layer as a layout
50 # Add the meta-skeleton layer to be included as part of the eSDK installation
51 layers.append(os.path.join(corebase, 'meta-skeleton'))
73 workspace_newname = '%s-%d' % (workspace_name, extranum)
87 … if f.readline().startswith("# ### workspace layer auto-generated by devtool ###"):
160 # meta-skeleton layer is added as part of the build system
[all …]
H A Dsstatesig.py2 # SPDX-License-Identifier: GPL-2.0-only
11 return x.endswith("-native")
13 return "-cross-" in x
15 return x.startswith("nativesdk-")
18 …return inherits.find("/module-base.bbclass") != -1 or inherits.find("/linux-kernel-base.bbclass") …
35 # i.e INHERIT:remove = "create-spdx" will trigger the do_rm_work
41 # all downstream documents must be re-written (even if they are "safe"
46 # (Almost) always include our own inter-task dependencies (unless it comes
48 # do_kernel_configme->do_unpack_and_patch dependency from archiver.bbclass.
54 # Exclude well defined recipe->dependency
[all …]

123