Commit Graph

10 Commits

Author SHA1 Message Date
Bruce Ashfield
bc2a750d5c containers: adapt to UNPACKDIR changes
This commit updates the container recipes to the OE core UNPACKDIR
changes.

  - We drop references to WORKDIR
  - We adjust destsuffix fetches to use BB_GIT_DEFAULT_DESTSUFFIX
    instead of 'git'
  - Update our GOPATH references to use UNPACKDIR
  - Drop S = assignemnts where possible

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-06-25 22:40:08 -04:00
Bruce Ashfield
2961677b6a devtools: depreciate the go source-only packages
We are now using vendoring from the upstream repos, or creating
our own vendor directory. We no longer need these source only
recipes.

Add an inherit to each recipe to warn that it will be removed
in the future.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-03-15 17:17:19 +00:00
Bruce Ashfield
08435d20b1 recipes/classes/scripts: Drop SRCPV usage
bitbake has been enhanced such that SRCPV is no longer needed in
PV to handle updating git hashes and task signatures.

We can simplify our PV by dropping SRCPV

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-08-24 01:38:21 +00:00
Chen Qi
96870b9712 meta-virt: sync SRC_URIs between k8s and k3s
k3s is using a lot of SRC_URIs and some of them have corrsponding
recipe in meta-virt, which are used by k8s. These components'
SRC_URIs are better to be kept in sync, because this avoids two
local git repos (Yocto supports fetching locally) which are totally
the same. Remove the '.git' suffix from these recipes to sync the
SRC_URIs.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-02-15 15:09:17 -05:00
Martin Jansa
baf9e1a06f global: convert github SRC_URIs to use https protocol
* apply the same also for recipes using PKG_NAME starting
  with github.com which the conversion script doesn't update
  automatically

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-03 09:37:00 -04:00
Bruce Ashfield
ac399ad091 global: add explicit branch to all SRC_URIs
As introduced in the oe-core post:

  https://lists.openembedded.org/g/openembedded-core/message/157623

SRC_URIs without an explicit branch will generate warnings, and
eventually be an error.

We run the provided conversion script to make sure that meta-virt
is ready for the change.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-02 09:57:03 -04:00
Bruce Ashfield
cafbf244e6 go-errors: update license to precise BSD variant
BSD as a license is not precise, updating to the specific variant.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16 18:01:55 -04:00
Bruce Ashfield
0be39c052b go-errors: update to 0.8.1
Bumping go-errors to version v0.8.1-32-g5dd12d0, which comprises the following commits:

    5dd12d0 AddingPowerSupport_CI/Testing (#234)
    614d223 Revert "Support Go 1.13 error chains in `Cause` (#215)" (#220)
    49f8f61 Support Go 1.13 error chains in `Cause` (#215)
    004deef remove unnecessary use of fmt.Sprintf (#217)
    6d954f5 feat: support std errors functions (#213)
    7f95ac1 Add support for Go 1.13 error chains (#206)
    91f1693 travis.yml: add Go 1.13
    ca0248e fix travis, 1.10 doesnt support by unconvert anymore
    27936f6 travis.yml: add Go 1.12 (#200)
    856c240 Add json.Marshaler support to the Frame type. (#197)
    ffb6e22 Reduce allocations in StackTrace.Format (#194)
    e9933c1 Restore performance improvements from #150
    ee1923e Return errors.Frame to a uintptr
    72fa05e errors: detect unknown frames correctly (#192)
    c38ea53 Remove errors.Frame to runtime.Frame conversions (#189)
    c9e70be Makefile: switch to staticcheck (#187)
    ee4766c Fix error during merge
    584cbac Remove checks for old style anon funcs (#186)
    42ce1b6 Remove Frame methods (#185)
    937e8c5 gofmt -w
    e19cb69 Remove last reference to runtime.FuncForPC (#184)
    4f47277 Switch to runtime.CallersFrames (#183)
    537896a travis: remove Go 1.8 and earlier (#182)
    31aac83 travis: use Makefile (#181)
    5ac96ae Update README.md
    ba968bf gofmt -w errors.go (#179)
    059132a Update .travis.yml (#168)
    d58f942 Bump Travis versions (#172)
    6ed0a2e Fix StackTrace print example
    2233dee Copyedit the package documentation (#135)
    e981d1a Add WithMessagef function (#118)
    c059e47 fixed spelling (#156)
    816c908 travis.yml: add Go 1.10 (#154)
    e1ac100 reduce allocations when printing stack traces (#149)
    30136e2 Remove deadcode (#146)
    e881fd5 Fix minor typo in README.md (#142)
    8842a6e Add badge for number of dependent libraries (#109)
    e4f5060 Fix doc comment for exported Format func (#137)
    f15c970 Remove an unused argument of utility test func (#139)
    2b3a18b travis: add 1.9.x to go versions (#133)
    c605e28 Add doc comment for exported Format func (#115)
    ff09b13 Bump Go versions, use latest patch releases (#110)
    bfd5150 Move benchmark assigned err to global exported variable (#106)
    248dadf Bump Go versions (#91)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16 18:01:55 -04:00
Bruce Ashfield
d876cfc5bf global: overrides syntax conversion
OEcore/bitbake are moving to use the clearer ":" as an overrides
separator.

This is pass one of updating the meta-virt recipes to use that
syntax.

This has only been minimally build/runtime tested, more changes
will be required for missed overrides, or incorrect conversions

Note: A recent bitbake is required:

    commit 75fad23fc06c008a03414a1fc288a8614c6af9ca
    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
    Date:   Sun Jul 18 12:59:15 2021 +0100

        bitbake: data_smart/parse: Allow ':' characters in variable/function names

        It is becomming increasingly clear we need to find a way to show what
        is/is not an override in our syntax. We need to do this in a way which
        is clear to users, readable and in a way we can transition to.

        The most effective way I've found to this is to use the ":" charater
        to directly replace "_" where an override is being specified. This
        includes "append", "prepend" and "remove" which are effectively special
        override directives.

        This patch simply adds the character to the parser so bitbake accepts
        the value but maps it back to "_" internally so there is no behaviour
        change.

        This change is simple enough it could potentially be backported to older
        version of bitbake meaning layers using the new syntax/markup could
        work with older releases. Even if other no other changes are accepted
        at this time and we don't backport, it does set us on a path where at
        some point in future we could
        require a more explict syntax.

        I've tested this patch by converting oe-core/meta-yocto to the new
        syntax for overrides (9000+ changes) and then seeing that builds
        continue to work with this patch.

        (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284)

        Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-02 17:17:53 -04:00
Bruce Ashfield
b18acd8bc4 oci: introduce oci-image-tools (and dependencies)
The oci image tools allow the easy manipulation of containers and
bundles.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-02-15 14:57:35 -05:00