Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • eclipse/oniro-core/oniro
  • landgraf/oniro
  • zyga/oniro
  • mrybczyn/oniro
  • agherzan/oniro
  • pcoval/oniro
  • tony3oo3/oniro
  • stefanschmidt/oniro
  • waykovalenko/oniro
  • bero/oniro
  • esben/oniro
  • robertd/oniro
  • pidge/oniro
  • shettygururaj/oniro
  • thierrye/oniro
  • sradakovi/oniro
  • dricci783/oniro
  • ektor5/oniro
  • fldn/oniro
  • lucafavaretto/oniro
  • lucazizolfi/oniro
  • artemkondratiuk/oniro
  • lucaseri/oniro
  • gwozdzcfs/oniro
  • kristis/oniro
  • brgl/oniro
  • heurtemattes/oniro
  • idlethread/oniro
  • lquach/oniro
  • ghassaneben/oniro
  • heurtemattes/oniro-bitbake
  • kzarka/oniro
  • heurtemattes/oniro-migration
  • pastanki/oniro
  • malowe/oniro
  • chaseqi/oniro
  • mrfrank/oniro
37 results
Show changes
Commits on Source (23)
  • Zygmunt Krynicki's avatar
    .oniro-ci: remove rules from .bitbake-workspace · aa5d3288
    Zygmunt Krynicki authored
    Apparently those rules clash with the rules defined in the
    .gitlab-ci.yml .workspace-rules, due to the order of evaluation inside
    GitLab.
    
    The set of rules on .bitbake-workspace is entirely redundant, and should
    be defined by the workflow. The rules on .workspace-rules have a
    different purpose, namely to inject specific variables into certian
    types of pipelines.
    
    Fixes: #613
    
    
    
    Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
    aa5d3288
  • Stevan Radaković's avatar
    test-generic.yaml: Utilize SQUAD API in CI jobs · ee7aa66c
    Stevan Radaković authored
    
    Use SQUAD callback to trigger the lava-report pipeline job and
    simplify lava-badge calculation by using SQUAD API.
    SQUAD build ID is now implemented to be the same as pipeline ID.
    
    Signed-off-by: default avatarStevan Radaković <stevan.radakovic@linaro.org>
    ee7aa66c
  • Pavel Zhukov's avatar
    Bump release to version 2.0.0-alpha · 3693cae2
    Pavel Zhukov authored
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    3693cae2
  • Pavel Zhukov's avatar
  • Davide Gardenal's avatar
    oniro-image-base-dev: add ROOTFS_PARTITION_SIZE · 5f2122e5
    Davide Gardenal authored
    
    Add ROOTFS_PARTITION_SIZE and set it to 2G to fix an error in
    do_image_wic where the rootfs "/" size is greater than it's limit.
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    Verified
    5f2122e5
  • Davide Gardenal's avatar
    oniro-image-extra-dev: bump rootfs size · d9e2dfb1
    Davide Gardenal authored
    
    When building oniro-image-extra-dev the task do_image_wic returns an error
    because the size of "/" is over the fixed size. This solves the issue.
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    Verified
    d9e2dfb1
  • Stevan Radaković's avatar
    test-generic.yaml: Fix callback update URL · 57ddacdd
    Stevan Radaković authored
    
    Add the SQUAD_INSTANCE variable to the update callback URL
    
    Signed-off-by: default avatarStevan Radaković <stevan.radakovic@linaro.org>
    57ddacdd
  • Davide Gardenal's avatar
    oniro-wic: bump seco-intel-b68 rootfs size to 3G · 17010482
    Davide Gardenal authored
    
    This fixes oniro-image-[base, extra]-dev do_image_wic task.
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    17010482
  • Pavel Zhukov's avatar
    47c36bec
  • Pavel Zhukov's avatar
  • Davide Gardenal's avatar
    build-generic: disable cve-check manifest for freeRTOS · 23987705
    Davide Gardenal authored and Pavel Zhukov's avatar Pavel Zhukov committed
    
    With oe-core/65498411d73e8008d5550c2d0a1148f990717587
    creating the image manifest for FreeRTOS raises an
    exception. FreeRTOS support is experimental and there
    is an issue in rootfs generation, so we disable the option
    for now.
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    23987705
  • Davide Gardenal's avatar
    default.xml: update upstream revisions and delete ovmf patches · 69cba9e1
    Davide Gardenal authored and Pavel Zhukov's avatar Pavel Zhukov committed
    
    The following patches are now in oe-core so we can delete them:
     - ovmf/0001-edk2-BaseTools-gcc12.patch
     - ovmf/0002-edk2-LZMA-gcc12.patch
    
    openembedded-core update includes:
    e63013cc38 gcc: Upgrade to 11.3 release
    1887a69a17 rust-common: Fix native signature dependency issues
    cf7c1cde3a rust-common: Drop LLVM_TARGET and simplify
    a4886f02df rust-common: Fix for target definitions returning 'NoneType' for arm
    84e891d812 rust-common: Ensure sstate signatures have correct dependencues for do_rust_gen_targets
    424b81ae68 rust-common: Fix sstate signatures between arm hf and non-hf
    d28d84c5b4 ovmf: Fix native build with gcc-12
    bbb7dcb461 pciutils: avoid lspci conflict with busybox
    d96022a389 insane.bbclass: make sure to close .patch files
    b34aaa9acb libseccomp: Add missing files for ptests
    bd72b15e9a staging.bbclass: process direct dependencies in deterministic order
    8d5f5823b3 mesa.inc: package 00-radv-defaults.conf
    862c1b109c ncurses: update to patchlevel 20220423
    9cf49b4f07 libpcre2: upgrade 10.39 -> 10.40
    02982668ac linux-yocto/5.10: update to v5.10.114
    7d734c95ba linux-yocto/5.15: update to v5.15.38
    96ed22ed1e linux-yocto/5.10: update to v5.10.113
    90628b9bbc linux-yocto/5.15: update to v5.15.37
    8fd6a9f521 cve-check: Allow warnings to be disabled
    726ce5bf1e cve-extra-exclusions: Add kernel CVEs
    65498411d7 cve-check: Only include installed packages for rootfs manifest
    af227e0c62 cve-check: Add helper for symlink handling
    637d6ff44b cve-check.bbclass: Added do_populate_sdk[recrdeptask].
    82f4186ec0 libxslt: Mark CVE-2022-29824 as not applying
    95f1c5d0bb tiff: Add jbig PACKAGECONFIG and clarify CVE-2022-1210
    c703b970f6 vim: Upgrade 8.2.4912 -> 8.2.5034 to fix 9 CVEs
    
    meta-openembedded update includes:
    fcc7d7eae python3-matplotlib: add missing dependency
    4e66373fe devmem2: the source and patches moved to github repo
    17da928a8 python3-speedtest-cli: fix RDEPENDS
    18a923d20 sdbus-c++-libsystemd: Fix patch fuzz
    99496d2b3 sdbus-c++: Link with libatomic for rv32
    9a2029553 sdbus-c++: Link with libatomic on mips/ppc32
    16f08eb5a conntrack-tools: fix postinst script
    db3a802f8 graphviz: rrecommends on liberation-fonts
    79e28d1c8 libportal: add distro features check
    442af705f unattended-upgrades: Disable auto-detecting modules
    4895c4d65 mariadb: Fix i386 Clang builds
    367e8927b mariadb: update to 10.7.4
    ff3a018b2 libmtp: Add doxygen-native dependency in case documentation build is enabled in PACKAGECONFIG. This fixes a FTBFS due to missing dependency.
    b23cd1031 sdbus-c++-libsystemd: Bump SRCREV to last commit of 250-stable branch
    133d2c200 postgresql: upgrade 14.2 -> 14.3
    71613a9fa php: upgrade 8.1.5 -> 8.1.6
    7566c789d php: upgrade 8.1.4 -> 8.1.5
    a104444d2 python3-wxgtk4: backport patch to fix svg issue
    2c051c65a jq: Fix typo OE_EXTRACONF -> EXTRA_OECONF
    6104aead9 libcamera: fix packaging
    0b7836265 bats: upgrade 1.6.0 -> 1.6.1
    3a76ff41a conntrack-tools: fix postinst script
    8c0dca405 ostree: prevent ostree-native depending on target virtual/kernel to provide kernel-module-overlay
    797684d24 bats: Add patch to fix false-negatives caused by teardown code
    ab1e20941 imlib2: update SRC_URI
    166ef8dbb minidlna: fix obsolete license warning
    91bcdd0a7 vboxguestdrivers: upgrade 6.1.32 -> 6.1.34
    122685c98 devmem2: update SRC_URI according to redirect
    b095a248c devmem2: add support for different page sizes
    c8f5b7a27 devmem2: reinstate previous patches, removed by mistake
    a6556526d s-nail: Set VAL_MTA
    fe57c67d2 openldap: Upgrade 2.5.9 -> 2.5.12
    6c63579af openldap: Remove libgcrypt dependency
    f2f81539d networkmanager: fix parallel build failure
    26f6e6968 meta-gnome: fix layer depends.
    94ca14269 python3-wxgtk4: Needs x11 for sip module
    204fd35a3 meta-python-image: Fix build depends
    aebfc98d8 python3-astroid: upgrade 2.11.2 -> 2.11.3
    947ff549c evolution-data-server: Do not pass --library-path to gir compiler
    9f4bdefa4 evince: Add dbus to depnedencies on non-x11 builds
    35b74d369 makedumpfile: Use right TARGET for ppc32
    802b41d21 mimic: Use special rateconv.c license
    353934eb6 libcereal: Enable for glibc/ppc
    3a34f2f64 ufw: Fix packaging errors found with ppc64
    21b475078 conntrack-tools: Fix missing capability
    49a170035 frr: inherit autotools-brokensep instead of autotools
    99ae5037e meta-oe-image: fix build depends
    
    meta-intel update includes:
    8e472da7 openvino-inference-engine: change branch name master -> main
    c2e2f371 level-zero: remove devtool comments
    db17ad72 onevpl-intel-gpu: remove patch
    0683aea4 onevpl-intel-gpu: upgrade 22.1.0 -> 22.3.2
    6bd8a1f4 intel-mediasdk: upgrade 22.1.0 -> 22.3.0
    0487f539 intel-media-driver: upgrade 22.1.1 -> 22.3.1
    dedf1093 libva-intel-utils: upgrade 2.13.0 -> 2.14.0
    3936e566 libva-intel: upgrade 2.13.0 -> 2.14.0
    dd16e1bf gmmlib: upgrade 22.0.3 -> 22.1.2
    bc8899d6 intel-microcode: upgrade 20220419 -> 20220510
    f72ea519 maintainers.inc: add missing entry for vc-intrinsics
    e533acc2 ipp-crypto-mb: update to latest
    97f52272 intel-graphics-compiler: define SRCREV_FORMAT
    
    meta-freescale update includes:
    92df6b76 Merge pull request #1097 from Freescale/backport-1096-to-kirkstone
    c3bc5edf layer wide: remove lzop dependency dropped upstream
    
    meta-security update includes:
    d3d8e62 lib-perl: prefix man pages to avoid conflicting with base perl
    b874791 Parsec-service: Update installation procedure
    0325071 oeqa/cases/tpm2: fix and enhance test suite
    4270d36 tpm2-tools: Add missing rdepends
    2f91f34 tpm2-pkcs11: tpm2-pkcs11 module missing
    ed75b88 aide: Update 01.17.4
    8727b7c aide: Add depend on audit when audit is enabled.
    9301e39 fscrypt: add distro_check on pam
    
    meta-arm update includes:
    93cf02a kas: corstone1000: drop the use of the FVP script
    207f298 kas: corstone1000: set HEADs to kirkstone and drop use of meta-arm-image
    fc09cc0 CI: use external-arm-toolchain 10.3
    b3c3f77 arm/linux-yocto: fix boot failure in qemuarm64-secureboot
    43224b6 arm-bsp/tf-a-tests: Add recipe to build and install TFTF
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    69cba9e1
  • Ettore Chimenti's avatar
    grub: add rootwait in cmdline · 26ae356e
    Ettore Chimenti authored and Stevan Radaković's avatar Stevan Radaković committed
    
    In some configuration in SECO-B68 (using a USB drive or sata),
    it can happen that boot devices do not show up. It needs 'rootwait'
    to prevent panic.
    
    Signed-off-by: Ettore Chimenti's avatarEttore Chimenti <ettore.chimenti@seco.com>
    26ae356e
  • Stevan Radaković's avatar
    .gitlab-ci.yaml: Add jobs for publishing .rauc for qemu both variants · 45c52fbe
    Stevan Radaković authored
    
    Add jobs to build and publish update bundles for qemu - both x86 and
    x86_64
    
    Signed-off-by: default avatarStevan Radaković <stevan.radakovic@linaro.org>
    45c52fbe
  • Pavel Zhukov's avatar
    gitlab-ci.yaml: Build jobs for all changes in MR · 6fcfe401
    Pavel Zhukov authored
    This is workaround for #574
    
    
    Currently changes which are not covered by this condition triggers
    invalid yaml . We will optimize it later
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    6fcfe401
  • Davide Ricci's avatar
    default.xml: adding pointer to IRC channel · 6aa8a346
    Davide Ricci authored and Pavel Zhukov's avatar Pavel Zhukov committed
    
    Signed-off-by: default avatarDavide Ricci <davide.ricci@huawei.com>
    6aa8a346
  • Pavel Zhukov's avatar
    ovmf: Drop downstream patch · c0440a35
    Pavel Zhukov authored and Stefan Schmidt's avatar Stefan Schmidt committed
    
    The change has been implemented upstream in d28d84c5b43ffcc312808af085d949e403805aca
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    c0440a35
  • philippe coval's avatar
    CONTRIBUTING.md: Add Eclipse ECA chapter · 92b0608c
    philippe coval authored
    This chapter was copied from jakarta project with minor fix
    
    Relate-to: docs#96
    Forwarded: !105
    
    
    Signed-off-by: default avatarPhilippe Coval <philippe.coval.ext@huawei.com>
    92b0608c
  • Davide Gardenal's avatar
    default.xml: update upstream revisions · 3f48a0b0
    Davide Gardenal authored
    
    oe-core update includes:
    6ade2bfdd9 rootfs.py: find .ko.zst kernel modules
    3001199ca8 license.bbclass: Bound beginline and endline in copy_license_files()
    f9f1e7fa6b libseccomp: Correct LIC_FILES_CHKSUM
    daa6eb4dee alsa-plugins: fix libavtp vs. avtp packageconfig
    45b4597db3 kernel-yocto.bbclass: Reset to exiting on non-zero return code at end of task
    4eb85dbace perl: Fix build with gcc-12
    be70f51806 gcc-cross-canadian: Add nativesdk-zstd dependency
    0efcba381d gcc: depend on zstd-native
    c3b7f7a918 openssl: Backport fix for ptest cert expiry
    5323f09519 patch.py: make sure that patches/series file exists before quilt pop
    324e4f598c linux-firmware: split ath3k firmware
    99c0d4b8f9 linux-firmware: package new Qualcomm firmware
    4e5437696e webkitgtk: upgrade 2.36.1 -> 2.36.3
    daf12b551c gtk+3: upgrade 3.24.33 -> 3.24.34
    9311e79843 libxkbcommon: upgrade 1.4.0 -> 1.4.1
    a471cc829c glib-2.0: upgrade 2.72.1 -> 2.72.2
    190457be2e logrotate: upgrade 3.19.0 -> 3.20.1
    af7048c4b7 cups: upgrade 2.4.1 -> 2.4.2
    ac6b4900bc cve-update-db-native: make it possible to disable database updates
    2fc716ad75 cve-check: fix return type in check_cves
    79c02facd3 cve-check: write empty fragment files in the text mode
    66bf08f2df cve-check: move update_symlinks to a library
    27815774c9 lzo: Add further info to a patch and mark as Inactive-Upstream
    0c63c7aaab zip/unzip: mark all submittable patches as Inactive-Upstream
    ce83aed545 makedevs: Don't use COPYING.patch just to add license file into ${S}
    70ce538164 valgrind: submit arm patches upstream
    b2ad59506c bash: submit patch upstream
    4851c83652 systemd: Correct path returned in sd_path_lookup()
    80980314ec systemd: Drop 0002-don-t-use-glibc-specific-qsort_r.patch
    2b09a56711 systemd: Remove __compare_fn_t type in musl-specific patch
    752f51e0a5 systemd: Drop 0001-test-parse-argument-Include-signal.h.patch
    06c8bdec05 systemd: Update patch status
    afedd8aad2 systemd: Drop 0016-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
    d95e9e144b systemd: Document future actions needed for set of musl patches
    5420919e3e systemd: Drop redundant musl patches
    
    meta-arm update includes:
    a8cb33d arm-bsp/conf: fvp-baser-aemv8r64 model parameter update
    dd8b6c1 arm-bsp/u-boot: fvp-baser-aemv8r64 cache_state_modelled fixes
    
    Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
    3f48a0b0
  • Pavel Zhukov's avatar
    issue_templates: Update labels for new bugs · a018cc52
    Pavel Zhukov authored
    
    New GL instance has Issue::Bug label instead of Bug we had before.
    Updating labels and add default team maintenance for all new bugs to
    improve searching
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    a018cc52
  • Pavel Zhukov's avatar
    Move downstream patches into staging layer · 7043433f
    Pavel Zhukov authored
    
    This helps with rebases on newer oe-core and helps avoiding
    redundant/duplicated patches
    
    Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
    7043433f
  • Marta Rybczynska's avatar
    scripts: add CVE conversion scripts · 34200c6a
    Marta Rybczynska authored
    
    Add scripts for post-processing the JSON CVE data:
    - cve-json-to-csv.py allows to convert the JSON file to CSV
    - recipes-with-no-cves.py lists CVE status of all recipes
    
    Signed-off-by: default avatarMarta Rybczynska <marta.rybczynska@huawei.com>
    34200c6a
  • Pavel Zhukov's avatar
    70a237c7
Showing
with 81 additions and 196 deletions
......@@ -69,13 +69,6 @@ aggregate-docs:
CI_ONIRO_MANIFEST_URL: "$CI_MERGE_REQUEST_SOURCE_PROJECT_URL"
CI_ONIRO_MANIFEST_BRANCH: "$CI_COMMIT_REF_NAME"
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
changes:
- assets/**/*
- flavours/**/*
- manifests/*.xml
- meta-*/**/*
- .oniro-ci/*
- .gitlab-ci.yml
# When building a merge request substitute the CI_ONIRO_MANIFEST_URL to point
# to the incoming repository, and CI_ONIRO_MANIFEST_BRANCH, to the right
# branch name. This allows testing the changes coming into project. This
......@@ -110,6 +103,28 @@ aggregate-docs:
.publish-rauc-bundle-to-hawkbit:
extends: [.workspace-rules]
# Build a RAUC update bundle for qemu x86
bundle-qemu-x86:
extends: .build-rauc-bundle
stage: update
# Depend on the build job to prevent repeating build failures.
needs: [linux-qemu-x86]
variables:
MACHINE: qemux86
CI_ONIRO_BUILD_FLAVOUR: linux
CI_ONIRO_RECIPE_NAME: oniro-bundle-base
# Build a RAUC update bundle for qemu x86 64
bundle-qemu-x86_64:
extends: .build-rauc-bundle
stage: update
# Depend on the build job to prevent repeating build failures.
needs: [linux-qemu-x86_64]
variables:
MACHINE: qemux86-64
CI_ONIRO_BUILD_FLAVOUR: linux
CI_ONIRO_RECIPE_NAME: oniro-bundle-base
# Build a RAUC update bundle for Raspberry Pi 4
bundle-raspberrypi4-64:
extends: .build-rauc-bundle
......@@ -132,6 +147,26 @@ bundle-seco-intel-b68:
CI_ONIRO_BUILD_FLAVOUR: linux
CI_ONIRO_RECIPE_NAME: oniro-bundle-base
publish-qemu-x86:
extends: .publish-rauc-bundle-to-hawkbit
dependencies: [bundle-qemu-x86]
needs: [bundle-qemu-x86]
variables:
CI_ONIRO_HAWKBIT_SWMOD_NAME: oniro-bundle-base-qemu-x86
CI_ONIRO_HAWKBIT_DS_NAME: oniro-image-base-qemu-x86
CI_ONIRO_RAUC_BUNDLE_NAME: oniro-bundle-base
MACHINE: qemux86
publish-qemu-x86_64:
extends: .publish-rauc-bundle-to-hawkbit
dependencies: [bundle-qemu-x86_64]
needs: [bundle-qemu-x86_64]
variables:
CI_ONIRO_HAWKBIT_SWMOD_NAME: oniro-bundle-base-qemu-x86_64
CI_ONIRO_HAWKBIT_DS_NAME: oniro-image-base-qemu-x86_64
CI_ONIRO_RAUC_BUNDLE_NAME: oniro-bundle-base
MACHINE: qemux86-64
publish-raspberrypi4-64:
extends: .publish-rauc-bundle-to-hawkbit
dependencies: [bundle-raspberrypi4-64]
......
......@@ -28,4 +28,4 @@
(link to upstream patch, merge/pull request)
/label ~bug ~needs-investigation
/label ~Issue::Bug ~needs-investigation ~team::maintenance
......@@ -194,13 +194,6 @@
# them).
time devtool finish --remove-work --force "$CI_ONIRO_DEVTOOL_RECIPE_NAME" "$(basename "$CI_ONIRO_DEVTOOL_LAYER_PATH")";
fi
rules:
# Run the job when a merge request is created.
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
# Run the job when a tag is placed.
- if: '$CI_COMMIT_TAG'
# Run the build for scheduled pipelines.
- if: '$CI_PIPELINE_SOURCE == "schedule"'
# This job is documented in docs/ci/hidden-jobs/build-linux.rst
.build-linux:
......@@ -252,6 +245,7 @@
variables:
CI_ONIRO_BUILD_FLAVOUR: freertos
CI_ONIRO_INSTANCE_SIZE: s3.large.2
CI_ONIRO_BB_LOCAL_CONF_plus_equals_CVE_CHECK_CREATE_MANIFEST: "0"
script:
- !reference [.bitbake-workspace, script]
- time bitbake freertos-demo
......
......@@ -45,8 +45,7 @@
-e 's/@ci_project_id@/'"$CI_PROJECT_ID"'/'
-e 's/@ci_pipeline_id@/'"$CI_PIPELINE_ID"'/'
-e 's,@ci_pipeline_url@,'"$CI_PIPELINE_URL"','
-e 's/@build_job_id@/'"$build_job_id"'/'
-e 's,@callback_url@,'"$CALLBACK_URL"',' job_def.yaml
-e 's/@build_job_id@/'"$build_job_id"'/' job_def.yaml
# Generate test jobs.
- |
set -x
......@@ -72,9 +71,11 @@
# Submit the jobs to SQUAD.
- |
for job_def in $(find lava_jobs/ -name "*.yaml"); do
echo $CI_SQUAD_INSTANCE/api/submitjob/oniro-core/$CI_PROJECT_NAME/$CI_COMMIT_SHORT_SHA/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN" --form "backend=oniro_lava" --form "definition=@${job_def}"
curl $CI_SQUAD_INSTANCE/api/submitjob/oniro-core/$CI_PROJECT_NAME/$CI_COMMIT_SHORT_SHA/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN" --form "backend=oniro_lava" --form "definition=@${job_def}"
echo $CI_SQUAD_INSTANCE/api/submitjob/oniro-core/$CI_PROJECT_NAME/$CI_PIPELINE_ID/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN" --form "backend=oniro_lava" --form "definition=@${job_def}"
curl $CI_SQUAD_INSTANCE/api/submitjob/oniro-core/$CI_PROJECT_NAME/$CI_PIPELINE_ID/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN" --form "backend=oniro_lava" --form "definition=@${job_def}"
done
# Attach a callback to this build to trigger the lava-report job
curl -X POST $CI_SQUAD_INSTANCE/api/build/$CI_PIPELINE_ID/callbacks/ -F "callback_url=$CALLBACK_URL"
artifacts:
paths:
- lava_jobs/*.yaml
......@@ -137,10 +138,8 @@
script:
- |
set -x
curl --silent "$CI_API_V4_URL/projects/$CI_PROJECT_ID/pipelines/$CI_PIPELINE_ID/test_report" > test-report.json
total_count="$(jq '.total_count' test-report.json)"
success_count="$(jq '.success_count' test-report.json)"
success_rate=$(( 100 * success_count / total_count ))
pass_percentage="$(curl --silent https://squadp.svc.ostc-eu.dev/api/builds/$build_id/status/ | jq -r '.pass_percentage')"
success_rate=`printf "%.2f" $pass_percentage`
anybadge --label=lava-test --value=${success_rate} --suffix='%' --file=lava-test.svg 50=red 60=orange 80=yellow 100=green
set +x
artifacts:
......
......@@ -16,6 +16,7 @@ SPDX-License-Identifier: CC-BY-4.0
- [Overview](#overview-1)
- [Developer Certificate of Origin](#developer-certificate-of-origin)
- [`oniro`-specific contributions process and guidelines](#oniro-specific-contributions-process-and-guidelines)
- [Eclipse Contributor Agreement](#eclipse-contributor-agreement)
# Gitlab Contributions
......@@ -215,3 +216,14 @@ Signed-off-by: Joe Developer <joe.developer@example.com>
Please note that by signing off the commit, you make a **legally binding
statement** that you certify as in the [DCO sign-off](#dco-sign-off) section.
# Eclipse Contributor Agreement
Before your contribution can be accepted by the project team, contributors must electronically sign the
[Eclipse Contributor Agreement (ECA)](http://www.eclipse.org/legal/ECA.php)
Commits that are provided by non-committers must have a Signed-off-by field in the footer indicating that the author is aware of the terms by which the contribution has been provided to the project.
The non-committer must additionally have an Eclipse Foundation account and must have a signed Eclipse Contributor Agreement (ECA) on file.
For more information, please see the [Eclipse Committer Handbook](https://www.eclipse.org/projects/handbook/#resources-commit)
......@@ -22,10 +22,10 @@
# -- Project information -----------------------------------------------------
project = 'Oniro Project Build System'
copyright = '2021'
copyright = '2022'
author = 'Oniro Project'
version = '1.99.99'
version = '2.0.0-alpha2'
release = version
# -- General configuration ---------------------------------------------------
......
......@@ -12,7 +12,8 @@ SPDX-FileCopyrightText: Huawei Inc.
Check out Oniro Project documentation at https://docs.oniroproject.org
Meet the developers on mattermost at https://chat.booting.oniroproject.org/
Meet the developers on mattermost at https://chat.booting.oniroproject.org/ or
point your favorite IRC client to the #oniro channel on https://libera.chat
</notice>
......@@ -24,18 +25,18 @@ SPDX-FileCopyrightText: Huawei Inc.
<remote name="seco" fetch="https://git.seco.com" />
<project name="bitbake" remote="openembedded" revision="494fcfcb7c4469915c67f544997104d81c417266" path="bitbake" />
<project name="openembedded-core" remote="openembedded" revision="4eb0b7468383a1d0314b3bfd43ea37c95de464d9" path="oe-core" />
<project name="meta-openembedded" remote="openembedded" revision="5357c7a40eaf8d1bcf7ff58edbba8e9527e40c7d" path="meta-openembedded" />
<project name="openembedded-core" remote="openembedded" revision="6ade2bfdd9297896b9f251dd62f55e461fef1a3e" path="oe-core" />
<project name="meta-openembedded" remote="openembedded" revision="fcc7d7eae82be4c180f2e8fa3db90a8ab3be07b7" path="meta-openembedded" />
<project name="aehs29/meta-freertos" remote="github" revision="98a6838261d36b8f79c5fbae1736492169727a1e" path="meta-freertos" />
<project name="meta-intel" remote="yocto" revision="fb23bc3e661685383edd3026e21ca25825c48bc4" path="meta-intel" />
<project name="meta-intel" remote="yocto" revision="8e472da759cd5a5bf2ece041d2796db56b1d5482" path="meta-intel" />
<project name="pub/intel/yocto/meta-seco-intel" remote="seco" revision="65a673560211b11986db5785c70254fad190785f" path="meta-seco-intel" />
<project name="meta-freescale" remote="yocto" revision="6f27a6fb2511bc1ac206efe8196f6e73b33b1dce" path="meta-freescale" />
<project name="meta-freescale" remote="yocto" revision="92df6b76f38397b75ea76d588935b5b91b63c58c" path="meta-freescale" />
<project name="pub/i.mx/yocto/5.x/meta-seco-imx" remote="seco" revision="b82eaf8b0a2abe775c158b0a069b7bb7894ec8e6" path="meta-seco-imx" />
<project name="meta-raspberrypi" remote="yocto" revision="0135a02ea577bd39dd552236ead2c5894d89da1d" path="meta-raspberrypi" />
<project name="meta-security" remote="yocto" revision="93f2146211001ee3cf697d8428969cc3069ed6ba" path="meta-security" />
<project name="meta-security" remote="yocto" revision="d3d8e62bf1caa3870a504c0addcfd200b33c189f" path="meta-security" />
<project name="rauc/meta-rauc" remote="github" revision="4429bd1f29677c9a7de032d53240fb4791a41e1f" path="meta-rauc" />
<project name="riscv/meta-riscv" remote="github" revision="70e099d7ceca52a1dde2c978713012f6b20a9891" path="meta-riscv" />
<project name="meta-arm" remote="yocto" revision="b838d40efe06c839d58cf39b785175d0ba7518c6" path="meta-arm" />
<project name="meta-arm" remote="yocto" revision="a8cb33d5139e30b4a643da9a277487299c0e658f" path="meta-arm" />
<!--
All entries above are pinned to a specific revision and updated manually.
......
......@@ -13,7 +13,7 @@ BOOT_PARTITION_SIZE ?= "512M"
# Root partitions
# No label as default filesystem is squashfs.
# The SECO B68 board pulls in almost half a Gigabyte worth of linux-firmware.
ROOT_PARTITION_SIZE:seco-intel-b68 ?= "2G"
ROOT_PARTITION_SIZE:seco-intel-b68 ?= "3G"
ROOT_PARTITION_SIZE ?= "1G"
ROOTA_PARTITION_SIZE = "${ROOT_PARTITION_SIZE}"
ROOTB_PARTITION_SIZE = "${ROOT_PARTITION_SIZE}"
......
......@@ -7,4 +7,4 @@ require conf/distro/freertos.conf
DISTRO = "oniro-freertos"
DISTRO_NAME = "Oniro Project Base FreeRTOS Distro"
DISTRO_VERSION = "1.99.99"
DISTRO_VERSION = "2.0.0-alpha"
......@@ -4,7 +4,7 @@
DISTRO = "oniro-linux"
DISTRO_NAME = "Oniro Project Base Linux Distro"
DISTRO_VERSION = "1.99.99"
DISTRO_VERSION = "2.0.0-alpha"
DISTRO_CODENAME = "dev"
SDK_VENDOR = "-onirosdk"
SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${DATE}', 'snapshot')}"
......
......@@ -7,4 +7,4 @@ require conf/distro/zephyr.conf
DISTRO = "oniro-zephyr"
DISTRO_NAME = "Oniro Project Base Zephyr Distro"
DISTRO_VERSION = "1.99.99"
DISTRO_VERSION = "2.0.0-alpha"
......@@ -7,7 +7,7 @@
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
set CMDLINE="console=ttyS0,115200 panic=60 quiet"
set CMDLINE="console=ttyS0,115200 panic=60 rootwait quiet"
# Find the boot partition. We need to know where to load from and save the
# environment to. The boot partition is saved into the ONIRO_GRUB_BOOT
......
......@@ -12,3 +12,5 @@ IMAGE_INSTALL:append = "\
"
EXTRA_IMAGE_FEATURES += "dev-pkgs dbg-pkgs src-pkgs tools-sdk tools-debug tools-profile"
ROOT_PARTITION_SIZE = "2G"
......@@ -14,4 +14,4 @@ IMAGE_INSTALL:append = "\
EXTRA_IMAGE_FEATURES += "dev-pkgs dbg-pkgs src-pkgs tools-sdk tools-debug tools-profile"
# With the EXTRA_IMAGE_FEATURES we need to bump the default size of the rootfs
ROOT_PARTITION_SIZE = "2G"
ROOT_PARTITION_SIZE = "2500M"
# SPDX-FileCopyrightText: TianoCore and contributors
#
# SPDX-License-Identifier: Apache-2.0
From 7b005f344e533cd913c3ca05b266f9872df886d1 Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Thu, 24 Mar 2022 20:04:34 +0800
Subject: [PATCH] BaseTools: fix gcc12 warning
GenFfs.c:545:5: error: pointer ?InFileHandle? used after ?fclose? [-Werror=use-after-free]
545 | Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GenFfs.c:544:5: note: call to ?fclose? here
544 | fclose (InFileHandle);
| ^~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Upstream-Status: Backport [commit 7b005f344e533cd913c3ca05b266f9872df886d1]
---
BaseTools/Source/C/GenFfs/GenFfs.c | 2 +-
BaseTools/Source/C/GenSec/GenSec.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/BaseTools/Source/C/GenFfs/GenFfs.c b/BaseTools/Source/C/GenFfs/GenFfs.c
index 949025c33325..d78d62ab3689 100644
--- a/BaseTools/Source/C/GenFfs/GenFfs.c
+++ b/BaseTools/Source/C/GenFfs/GenFfs.c
@@ -542,7 +542,7 @@ GetAlignmentFromFile(char *InFile, UINT32 *Alignment)
PeFileBuffer = (UINT8 *) malloc (PeFileSize);
if (PeFileBuffer == NULL) {
fclose (InFileHandle);
- Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle);
+ Error(NULL, 0, 4001, "Resource", "memory cannot be allocated for %s", InFile);
return EFI_OUT_OF_RESOURCES;
}
fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle);
diff --git a/BaseTools/Source/C/GenSec/GenSec.c b/BaseTools/Source/C/GenSec/GenSec.c
index d54a4f9e0a7d..b1d05367ec0b 100644
--- a/BaseTools/Source/C/GenSec/GenSec.c
+++ b/BaseTools/Source/C/GenSec/GenSec.c
@@ -1062,7 +1062,7 @@ GetAlignmentFromFile(char *InFile, UINT32 *Alignment)
PeFileBuffer = (UINT8 *) malloc (PeFileSize);
if (PeFileBuffer == NULL) {
fclose (InFileHandle);
- Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle);
+ Error(NULL, 0, 4001, "Resource", "memory cannot be allocated for %s", InFile);
return EFI_OUT_OF_RESOURCES;
}
fread (PeFileBuffer, sizeof (UINT8), PeFileSize, InFileHandle);
# SPDX-FileCopyrightText: TianoCore and contributors
#
# SPDX-License-Identifier: Apache-2.0
From 85021f8cf22d1bd4114803c6c610dea5ef0059f1 Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Thu, 24 Mar 2022 20:04:35 +0800
Subject: [PATCH] BaseTools: fix gcc12 warning
Sdk/C/LzmaEnc.c: In function ?LzmaEnc_CodeOneMemBlock?:
Sdk/C/LzmaEnc.c:2828:19: error: storing the address of local variable ?outStream? in ?*p.rc.outStream? [-Werror=dangling-pointer=]
2828 | p->rc.outStream = &outStream.vt;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Sdk/C/LzmaEnc.c:2811:28: note: ?outStream? declared here
2811 | CLzmaEnc_SeqOutStreamBuf outStream;
| ^~~~~~~~~
Sdk/C/LzmaEnc.c:2811:28: note: ?pp? declared here
Sdk/C/LzmaEnc.c:2828:19: error: storing the address of local variable ?outStream? in ?*(CLzmaEnc *)pp.rc.outStream? [-Werror=dangling-pointer=]
2828 | p->rc.outStream = &outStream.vt;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Sdk/C/LzmaEnc.c:2811:28: note: ?outStream? declared here
2811 | CLzmaEnc_SeqOutStreamBuf outStream;
| ^~~~~~~~~
Sdk/C/LzmaEnc.c:2811:28: note: ?pp? declared here
cc1: all warnings being treated as errors
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Upstream-Status: Backport [commit 85021f8cf22d1bd4114803c6c610dea5ef0059f1]
---
BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc.c b/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc.c
index 4e9b499f8d80..4b9f5fa69248 100644
--- a/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc.c
+++ b/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc.c
@@ -2825,12 +2825,13 @@ SRes LzmaEnc_CodeOneMemBlock(CLzmaEncHandle pp, BoolInt reInit,
nowPos64 = p->nowPos64;
RangeEnc_Init(&p->rc);
- p->rc.outStream = &outStream.vt;
if (desiredPackSize == 0)
return SZ_ERROR_OUTPUT_EOF;
+ p->rc.outStream = &outStream.vt;
res = LzmaEnc_CodeOneBlock(p, desiredPackSize, *unpackSize);
+ p->rc.outStream = NULL;
*unpackSize = (UInt32)(p->nowPos64 - nowPos64);
*destLen -= outStream.rem;
# SPDX-FileCopyrightText: TianoCore and contributors
#
# SPDX-License-Identifier: Apache-2.0
From 22130dcd98b4d4b76ac8d922adb4a2dbc86fa52c Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Thu, 24 Mar 2022 20:04:36 +0800
Subject: [PATCH] Basetools: turn off gcc12 warning
In function ?SetDevicePathEndNode?,
inlined from ?FileDevicePath? at DevicePathUtilities.c:857:5:
DevicePathUtilities.c:321:3: error: writing 4 bytes into a region of size 1 [-Werror=stringop-overflow=]
321 | memcpy (Node, &mUefiDevicePathLibEndDevicePath, sizeof (mUefiDevicePathLibEndDevicePath));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from UefiDevicePathLib.h:22,
from DevicePathUtilities.c:16:
../Include/Protocol/DevicePath.h: In function ?FileDevicePath?:
../Include/Protocol/DevicePath.h:51:9: note: destination object ?Type? of size 1
51 | UINT8 Type; ///< 0x01 Hardware Device Path.
| ^~~~
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Upstream-Status: Backport [commit 22130dcd98b4d4b76ac8d922adb4a2dbc86fa52c]
---
BaseTools/Source/C/DevicePath/GNUmakefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/BaseTools/Source/C/DevicePath/GNUmakefile b/BaseTools/Source/C/DevicePath/GNUmakefile
index 7ca08af9662d..b05d2bddfa68 100644
--- a/BaseTools/Source/C/DevicePath/GNUmakefile
+++ b/BaseTools/Source/C/DevicePath/GNUmakefile
@@ -13,6 +13,9 @@ OBJECTS = DevicePath.o UefiDevicePathLib.o DevicePathFromText.o DevicePathUtili
include $(MAKEROOT)/Makefiles/app.makefile
+# gcc 12 trips over device path handling
+BUILD_CFLAGS += -Wno-error=stringop-overflow
+
LIBS = -lCommon
ifeq ($(CYGWIN), CYGWIN)
LIBS += -L/lib/e2fsprogs -luuid
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
# Backport 3 upstreamed patches to make edk2 work with gcc 12.x
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://0001-edk2-BaseTools-gcc12.patch \
file://0002-edk2-LZMA-gcc12.patch \
file://0003-edk2-DevicePath-gcc12-workaround.patch \
"