balena-os/balena-raspberrypi
关于
Balena support for RaspberryPI boards
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Clone / Initialize this repository
There are two ways of initializing this repository:
- Clone this repository with "git clone --recursive".
or
- Run "git clone" and then "git submodule update --init --recursive". This will bring in all the needed dependencies.
Build information
balenaOS currently only builds with cgroups v1. If your distribution defaults
to using cgroups v2, please boot with the following kernel command line
argument:
systemd.unified_cgroup_hierarchy=0
Containerized build
If you have a working docker installation, you can build in a containerized environment as follows:
./balena-yocto-scripts/build/balena-build.sh -d <device type> -s <shared directory>Where:
- Device type is one of the supported devices with a valid
<device type name>.coffeedescription file. - Shared directory is the absolute path to the build folder
- Device type is one of the supported devices with a valid
Native build
To build all supported device types natively, please make sure your Linux distribution is supported by Yocto Project.
Additional host tools need to be installed for native builds to work.
Run the barys build script:
./balena-yocto-scripts/build/barysYou can also run barys with the -h switch to inspect the available options
Custom build using this repository
Run the barys build script in dry run mode to setup an empty
builddirectory./balena-yocto-scripts/build/barys --remove-build --dry-runEdit the
local.confin thebuild/confdirectoryPrepare build's shell environment
source layers/poky/oe-init-build-envRun bitbake (see message outputted when you sourced above for examples)
Build flags
- Consult layers/meta-balena/README.md for info on various build flags (setting
up serial console support for example) and build prerequisites. Build flags can
be set by using the build scripts (barys or balena-build) or by manually
modifying
local.conf.
Contributing
Issues
See Issues section
Pull requests
To contribute send github pull requests targeting this repository.
Please refer to: Yocto Contribution Guidelines and try to use the commit log format as stated there. Example:
<component>: Short description
I'm going to explain here what my commit does in a way that history
would be useful.
Changelog-entry: User facing description of the issue
Signed-off-by: Joe Developer <[email protected]>
The header and the subject of each commit must be separated by an empty line.
The subject and the footer of each commit must be separated by an empty line.
Every pull request must contain at least one commit annotated with the Changelog-entry footer. The messages contained in these footers will be used to automatically fill the changelog on every new version.
If your PR fixes an open issue, make sure you mention the issue addressed by the PR. See:
探索相关项目
加载中…