subtree updates

meta-openembedded: 5bba79488b..346681e7bf:
  Andrej Kozemcak (1):
        libuv: fix CVE-2020-8252

  Dan Murphy (1):
        mariadb: Fix 64bit builds if pam is enabled

  Dmitry Baryshkov (2):
        xterm: install xterm and uxterm desktop files
        xterm: provide virtual/x-terminal-emulator

  Haiqing Bai (1):
        python-urllib3/python3-urllib3: fix CVE-2020-7212

  Harpritkaur Bhandari (1):
        rapidjson: Upgrade SRCREV to latest

  Khem Raj (8):
        iscsi-initiator-utils: Upgrade to _2.1.2
        iscsi-initiator-utils: Silence a clang warning on 64bit systems
        python-grpcio-tools: Add missing space for append
        gedit: Inherit python3targetconfig
        openipmi: Inherit python3targetconfig
        libplist: Inherit python3targetconfig
        postgresql: Inherit python3targetconfig
        python3-pykwalify: Do not unset _PYTHON_SYSCONFIGDATA_NAME

  Leon Anavi (2):
        sip3: Consolidate in a single file
        sip3: Upgrade 4.19.19 -> 4.19.23

  Mario Schuknecht (1):
        dnsmasq: Fix systemd service

  Martin Jansa (3):
        networkd-dispatcher: use git fetcher
        wireguard-module: remove PKG assignment
        graphviz: use git fetcher instead of gitlab archives

  Mikko Rapeli (2):
        flatbuffers: whitelist CVE-2020-35864
        giflib: apply patch for CVE-2019-15133 and set CVE_PRODUCT

  Sean Nyekjaer (1):
        gpsd: mark CLEANBROKEN

  Søren Andersen (1):
        zram: fix sourcing of zram parameters

  Vyacheslav Yurkov (1):
        python3-aiohttp: added missing RDEPENDs

  Zang Ruochen (1):
        openldap: upgrade 2.4.50 -> 2.4.51

  akuster (2):
        enca: Fix SRC_URI
        meta-oe/README: add Ubuntu prerequisite information

  changqing.li@windriver.com (1):
        celt051: update SRC_URI

  zangrc (2):
        iscsi-initiator-utils: upgrade 2.1.2 -> 2.1.3
        openldap: upgrade 2.4.51 -> 2.4.56

  zhengruoqin (1):
        openldap: upgrade 2.4.56 -> 2.4.57

meta-raspberrypi: 9879932097..77190af02d:
  Aurelian Zanoschi (2):
        rpi-config: Add support for CM4 host USB
        [documentation]Add USB host support in documentation

poky: 7ea41de137..d20ef1f5a5:
  Alexander Kanavin (9):
        oeqa/ptest: print a warning if ptests failed
        ca-certificates: correct upstream version check
        bitbake: lib/bb/fetch2/__init__.py: drop _PYTHON_SYSCONFIGDATA_NAME unsetting
        p11-kit: upgrade 0.23.20 -> 0.23.21
        python3: split python target configuration into own class
        python3-pycairo: use python3targetconfig
        distutils3-base.bbclass: use python3targetconfig
        meta: drop _PYTHON_SYSCONFIGDATA_NAME hacks
        gpgme: use python3targetconfig

  Anatol Belski (1):
        glib-2.0: Rename patch file for CVE-2020-35457

  Andrei Gherzan (2):
        oe/recipeutils: Fix copying patches when BBLAYERS entries are not normalised
        qemu: Backport patch to avoid assertion fails on icache line size

  Anuj Mittal (3):
        python3: fix CVE-2021-3177
        linux-yocto: update genericx86 to v5.4.87
        linux-yocto: update genericx86* to v5.4.94

  Awais Belal (1):
        kernel.bbclass: fix deployment for initramfs images

  Bruce Ashfield (5):
        linux-yocto/5.4: update to v5.4.90
        linux-yocto-rt/5.4: fix 5.4-stable caused build breakage
        linux-yocto/5.4: update to v5.4.94
        linux-yocto/5.4: update to v5.4.96
        linux-yocto/5.4: update to v5.4.98

  Chris Laplante (2):
        cve-check: introduce CVE_CHECK_RECIPE_FILE variable to allow changing of per-recipe check file
        cve-check: add CVE_CHECK_REPORT_PATCHED variable to suppress reporting of patched CVEs

  Dorinda (8):
        sanity: Verify that user isn't building in PSEUDO_IGNORE_PATHS
        sanity.bbclass: sanity check for if bitbake is present in PATH
        sanity.bbclass: Check if PSEUDO_IGNORE_PATHS and paths under pseudo control overlap
        oe-pkgdata-util: Check if environment script is initialized
        meta/recipes-bsp: Add HOMEPAGE / DESCRIPTION
        meta/recipes-connectivity: Add HOMEPAGE / DESCRIPTION
        meta/recipes-devtools: Add HOMEPAGE / DESCRIPTION
        meta/recipes-core: Add HOMEPAGE / DESCRIPTION

  Jack Mitchell (1):
        distutils3: allow setup.py to be run from a different directory to ${S}

  Jan-Simon Möller (2):
        package_rpm: Enable use_source_date_epoch_as_buildtime in package_rpm class
        reproducible_builds: SOURCE_DATE_EPOCH should not be 0

  Joe Slater (1):
        pseudo: fix renaming to self

  Jon Mason (1):
        gcc-9.3.inc: Fix potential runtime crash

  Joshua Watt (3):
        oeqa: reproducible: Fix SSTATE_MIRRORS variable
        oeqa: reproducible: Add more logging
        libomxil: Fix up commercial license flag

  Julien Massot (1):
        rng-tools: fix rngd_jitter initialization

  Khem Raj (1):
        python3targetconfig.bbclass: Make py3 dep and tasks only for target recipes

  Lee Chee Yang (8):
        cve-check: replace Looseversion with custom version class
        cve_check: add CVE_VERSION_SUFFIX to indicate suffix in versioning
        openssl: set CVE_VERSION_SUFFIX
        wic/selftest: test_permissions also test bitbake image
        p11-kit: upgrade 0.23.21 -> 0.23.22
        sudo: 1.8.31 -> 1.8.32
        go: update to 1.14.15
        libsdl2: fix CVE-2020-14409 CVE-2020-14410

  Marek Vasut (1):
        weston-init: Fix weston-keyboard path in weston.ini

  Mark Hatle (1):
        package.bbclass: hash equivalency and pr service

  Martin Jansa (5):
        base.bbclass: use os.path.normpath instead of just comparing WORKDIR and S as strings
        license.bbclass: Add COMMON_LICENSE_DIR and LICENSE_PATH dirs to PSEUDO_IGNORE_PATHS
        image_types.bbclass: tar: use posix format instead of gnu
        icu: backport fix for rare random genrb segmentation fault
        sstatesig.py: show an error instead of warning when sstate manifest isn't found

  Matt Hoosier (1):
        bitbake: fetch/git: download LFS content too during do_fetch

  Mauro Queirós (3):
        bitbake: git.py: skip smudging if lfs=0 is set
        bitbake: git.py: LFS bitbake note should not be printed if need_lfs is not set.
        bitbake: git.py: Use the correct branch to check if the repository has LFS objects.

  Michael Halstead (3):
        uninative: Upgrade to 2.10
        yocto-uninative.inc: version 2.11 updates glibc to 2.33
        yocto-uninative.inc: version 3.0 incorporate seccomp filter workaround

  Milan Shah (1):
        report-error.bbclass: Add layer and bitbake version info to error report

  Mingli Yu (2):
        tcl: adapt to potential pseudo changes
        bitbake.conf: Exclude ${CCACHE_DIR} from pseudo database

  Minjae Kim (2):
        bind: fix CVE-2020-8625
        librepo: fix CVE-2020-14352

  Naveen Saini (1):
        linux-yocto: update genericx86* SRCREV for 5.4

  Oleksiy Obitotskyy (2):
        flex: Fix --noline option behavior
        dtc: improve reproducibility

  Oleksiy Obitotskyy yIEf0zt.mo (1):
        toolchain-shar-relocate.sh: Fix handling files with colons

  Ovidiu Panait (1):
        timezone: upgrade to 2021a

  Paul Barker (8):
        bitbake.conf: Prevent pyc file generation in pseudo context
        wic: Add workdir argument
        wic: Allow exec_native_cmd to run HOSTTOOLS
        wic: Ensure internal workdir is not reused
        image_types_wic: Move wic working directory
        wic: Update pseudo db when excluding content from rootfs
        wic: Copy rootfs dir if fstab needs updating
        wic: Optimise fstab modification for ext2/3/4 and msdos partitions

  Peter Bergin (1):
        buildhistory.bbclass: avoid exception for empty BUILDHISTORY_FEATURES variable

  Peter Kjellerstedt (5):
        pseudo: Simplify pseudo_client_ignore_path_chroot()
        lib/oe/path: Add canonicalize()
        bitbake.conf: Canonicalize paths in PSEUDO_IGNORE_PATHS
        wic: Pass canonicalized paths in PSEUDO_IGNORE_PATHS
        asciidoc: Switch to using the main branch

  Ricardo Ribalda (1):
        classes/image_types_wic: Reorder do_flush_pseudodb

  Ricardo Ribalda Delgado (5):
        wic: Fix permissions when using exclude or include path
        wic: Fix multi images .wks with bitbake
        wic: Avoid creating invalid pseudo directory
        wic: Add --change-directory argument
        oeqa: wic: Add tests for permissions and change-directory

  Richard Purdie (63):
        pseudo: Switch to oe-core branch in git repo
        pseudo: merge in fixes for setfacl issue
        pseudo: Update to add OFC fcntl lock updates
        pseudo: Ignore mismatched inodes from the db
        pseudo: Add support for ignoring paths from the pseudo DB
        pseudo: Abort on mismatch patch
        psuedo: Add tracking of linked files for fds
        pseudo: Fix xattr segfault
        pseudo: Add may unlink patch
        pseudo: Add pathfix patch
        base/bitbake.conf: Enable pseudo path filtering
        wic: Handle new PSEUDO_IGNORE_PATHS variable
        pseudo: Fix statx function usage
        bitbake.conf: Extend PSEUDO_IGNORE_PATHS to ${COREBASE}/meta
        abi_version,sanity: Tell users TMPDIR must be clean after pseudo changes
        pseudo: Update to account for patches merged on branch
        pseudo: Upgrade to include mkostemp64 wrapper
        oeqa/selftest/runtime_test: Exclude gpg directory from pseudo database
        uninative: Don't use single sstate for pseudo-native
        pseudo: Drop patches merged into upstream branch
        bitbake.conf: Add /run/ to PSEUDO_IGNORE_PATHS
        pseudo: Add lchmod wrapper
        pseudo: Update for arm host and memleak fixes/cleanup
        ncurses: Don't put terminfo into the sysroot
        python3: Avoid installing test data into recipe-sysroot
        staging: Clean up files installed into the sysroot
        pseudo: Update to include passwd and file renaming fixes
        package: Ensure do_packagedata is cleaned correctly
        qemu.inc: Should depend on qemu-system-native, not qemu-native
        image_types: Ensure tar archives are reproducible
        opkg: Fix build reproducibility issue
        opkg: Fix patch glitches
        build-appliance-image: Update to dunfell head revision
        poky.conf: Drop OELAYOUT_ABI poking
        pseudo: Update to work with glibc 2.33
        pseudo: Update for rename and faccessat fixes
        pseudo: Update to include fixes for glibc 2.33
        quilt: Be determnistic about column presence
        buildtools-extended-tarball: Add glibc-gconvs needed for build
        cwautomacros: Ensure version is set deterministically
        vim: Improve determinism
        vim: Fix a race over creation of the desktop files
        watchdog: Fix determinism issue from sendmail host path
        watchdog: Avoid reproducibility failures after fixing build
        xorg-fonts-minimal: Fix reproducibility
        xorg-minimal-fonts: Really fix determinism
        xmlto: Fix reproducibility
        groff: Fix determinism issue
        oeqa/commands: Fix compatibility with python 3.9
        selftest/reproducible: Don't call sync between each file compare
        bitbake: __init__.py: Fix bitbake debug log handling
        linux-firmware: upgrade 20201218 -> 20210208
        image: Add directories to PSEUDO_IGNORE_PATHS
        populate_sdk: Add directories to PSEUDO_IGNORE_PATHS
        bitbake.conf/image: Move image specific PSEUDO_IGNORE_PATHS to image class
        bitbake.conf: Split PSEUDO_IGNORE_PATHS to be more readable
        maintainers: Update email address for Victor
        libevdev: Update patch status to backport
        ca-certificates: Clean up two patches and submit upstream
        libpcre: Drop old/stale patch
        reproducible: Improve SOURCE_DATE_EPOCH_FALLBACK handling
        package/package_rpm: Disable font_provides configuration for reproducibilty
        cups: Fix reproducibility issues

  Ross Burton (3):
        flex: fix build with autoconf 2.70
        core-image-sato-sdk-ptest: these images need ptest
        ovmf-shell-image: image is only buildable on x86-64

  Scott Murray (2):
        u-boot: fix CVE-2020-8432 and CVE-2020-10648
        screen: fix CVE-2021-26937

  Sourabh Banerjee (1):
        layer.conf: fix sanity error for PATH variable in extensible SDK workflow

  Stefan Ghinea (1):
        wpa-supplicant: fix CVE-2021-0326

  Steve Sakoman (2):
        documentation: prepare for 3.1.6 release
        poky.conf: Bump version for 3.1.6 release

  Teoh Jay Shen (1):
        oeqa/runlevel : add test for runlevels

  Thomas Viehweger (1):
        mtd-utils: Remove duplicate assignments to alternative link names

  Tomasz Dziendzielski (9):
        pseudo: Update to print PSEUDO_LOGFILE in abort message on path mismatches
        devtool: Fix source extraction for gcc shared source
        externalsrc: Fix parsing error with devtool non-git sources
        devtool: Fix file:// fetcher symlink directory structure
        selftest/devtool: Add modify_localfiles_only test checking symlink path
        externalsrc: Detect code changes in submodules
        python3: Use addtask statement instead of task dependencies
        lib/oe/patch.py: Ignore scissors line on applying patch
        sstatesig: Add descriptive error message to getpwuid/getgrgid "uid/gid not found" KeyError

  Vivien Didelot (2):
        local.conf.sample.extended: fix double 'of' typo
        local.conf.sample.extended: prefer INIT_MANAGER

  Vyacheslav Yurkov (1):
        npm.bbclass: use python3 for npm config

  Wang Mingyu (2):
        ca-certificates: upgrade 20190110 -> 20200601
        openssl: upgrade 1.1.1i -> 1.1.1j

  Wes Lindauer (1):
        df.py: Add feature check for read-only-rootfs

  Yi Fan Yu (2):
        oeqa/selftest/cases/tinfoil.py: increase timeout 10->60s test_wait_event
        strace: increase ptest timeout duration 120->240s

  Yoann Congal (1):
        npm.bbclass: avoid building target nodejs for native npm recipes

  Zbigniew Bodek (1):
        wpebackend-fdo: Fix missing .so symlink when using dev package

  akuster (1):
        cve-check.bbclass: add layer to cve log

  saloni (2):
        libgcrypt: Whitelisted CVEs
        libcroco: Added CVE

  zangrc (1):
        flex: Refresh patch

  zhengruoqin (1):
        ca-certificates: upgrade 20200601 -> 20210119

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9ffc795f097a364d73d89d01d893cde9e7946d70
260 files changed
tree: 817f022609fec946e1a3a978e196b61b472cfad9
  1. .github/
  2. meta-arm/
  3. meta-aspeed/
  4. meta-evb/
  5. meta-facebook/
  6. meta-google/
  7. meta-hxt/
  8. meta-ibm/
  9. meta-ingrasys/
  10. meta-inspur/
  11. meta-intel/
  12. meta-inventec/
  13. meta-lenovo/
  14. meta-mellanox/
  15. meta-microsoft/
  16. meta-nuvoton/
  17. meta-openembedded/
  18. meta-openpower/
  19. meta-phosphor/
  20. meta-portwell/
  21. meta-qualcomm/
  22. meta-quanta/
  23. meta-raspberrypi/
  24. meta-security/
  25. meta-x86/
  26. meta-xilinx/
  27. meta-yadro/
  28. poky/
  29. .gitignore
  30. .gitreview
  31. .templateconf
  32. MAINTAINERS
  33. openbmc-env
  34. README.md
  35. setup
README.md

OpenBMC

Build Status

The OpenBMC project can be described as a Linux distribution for embedded devices that have a BMC; typically, but not limited to, things like servers, top of rack switches or RAID appliances. The OpenBMC stack uses technologies such as Yocto, OpenEmbedded, systemd, and D-Bus to allow easy customization for your server platform.

Setting up your OpenBMC project

1) Prerequisite

  • Ubuntu 14.04
sudo apt-get install -y git build-essential libsdl1.2-dev texinfo gawk chrpath diffstat
  • Fedora 28
sudo dnf install -y git patch diffstat texinfo chrpath SDL-devel bitbake \
    rpcgen perl-Thread-Queue perl-bignum perl-Crypt-OpenSSL-Bignum
sudo dnf groupinstall "C Development Tools and Libraries"

2) Download the source

git clone git@github.com:openbmc/openbmc.git
cd openbmc

3) Target your hardware

Any build requires an environment variable known as TEMPLATECONF to be set to a hardware target. You can see all of the known targets with find meta-* -name local.conf.sample. Choose the hardware target and then move to the next step. Additional examples can be found in the OpenBMC Cheatsheet

MachineTEMPLATECONF
Palmettometa-ibm/meta-palmetto/conf
Zaiusmeta-ingrasys/meta-zaius/conf
Witherspoonmeta-ibm/meta-witherspoon/conf
Romulusmeta-ibm/meta-romulus/conf

As an example target Romulus

export TEMPLATECONF=meta-ibm/meta-romulus/conf

4) Build

. openbmc-env
bitbake obmc-phosphor-image

Additional details can be found in the docs repository.

OpenBMC Development

The OpenBMC community maintains a set of tutorials new users can go through to get up to speed on OpenBMC development out here

Build Validation and Testing

Commits submitted by members of the OpenBMC GitHub community are compiled and tested via our Jenkins server. Commits are run through two levels of testing. At the repository level the makefile make check directive is run. At the system level, the commit is built into a firmware image and run with an arm-softmmu QEMU model against a barrage of CI tests.

Commits submitted by non-members do not automatically proceed through CI testing. After visual inspection of the commit, a CI run can be manually performed by the reviewer.

Automated testing against the QEMU model along with supported systems are performed. The OpenBMC project uses the Robot Framework for all automation. Our complete test repository can be found here.

Submitting Patches

Support of additional hardware and software packages is always welcome. Please follow the contributing guidelines when making a submission. It is expected that contributions contain test cases.

Bug Reporting

Issues are managed on GitHub. It is recommended you search through the issues before opening a new one.

Questions

First, please do a search on the internet. There's a good chance your question has already been asked.

For general questions, please use the openbmc tag on Stack Overflow. Please review the discussion on Stack Overflow licensing before posting any code.

For technical discussions, please see contact info below for IRC and mailing list information. Please don't file an issue to ask a question. You'll get faster results by using the mailing list or IRC.

Features of OpenBMC

Feature List

  • Host management: Power, Cooling, LEDs, Inventory, Events, Watchdog
  • Full IPMI 2.0 Compliance with DCMI
  • Code Update Support for multiple BMC/BIOS images
  • Web-based user interface
  • REST interfaces
  • D-Bus based interfaces
  • SSH based SOL
  • Remote KVM
  • Hardware Simulation
  • Automated Testing
  • User management
  • Virtual media

Features In Progress

  • OpenCompute Redfish Compliance
  • Verified Boot

Features Requested but need help

  • OpenBMC performance monitoring

Finding out more

Dive deeper into OpenBMC by opening the docs repository.

Technical Steering Committee

The Technical Steering Committee (TSC) guides the project. Members are:

  • Brad Bishop (chair), IBM
  • Nancy Yuen, Google
  • Sai Dasari, Facebook
  • James Mihm, Intel
  • Sagar Dharia, Microsoft
  • Supreeth Venkatesh, Arm

Contact