Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
6
Star
21
Fork
36
openEuler
/
oebuild
Code
Issues
22
Pull Requests
3
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
oebuild支持管理多级features和多级platform
新建
#ID240R
Requirement
Egg12138
Opened this issue
2025-10-15 20:37
随着支持的特性列表增多,一些特性之间缺乏正交性,某些特性也可能完全隶属于另一些特性下,我们需要多级的结构来管理features. 平台也是同理,某些bsp厂商可能有若干的芯片簇,每个簇下有相似的芯片产品,但它们的定制化可能并不体现为镜像的某个feature,加在platform中做适配会更好同样需要多级的结构来处理。 当然这不仅是oebuild单独更新,yocto-meta-openeuler也会同步地配合来支持多级结构 > 多级特性样例 > virtualization: > | -- zvm > | -- xen > container: > | -- container engine > | ------ isulad > | ------ containerd-basic > | ------ docker-ce > | ------ podman > edge IoT: > | -- kubeedge > | -- k3s > | -- ... oebuild generate -l 样例 ``` | Platform Name | | abc | | edg | | hi309x | | * hi309a | | * hi3095 | | Feature Name | Support Arch | | containers | | | * docker | a,b,c | | * isulad | b,c | | * containerd | a,c | | package manager| | | * oebridge | a,b,c,d | | * epkg | b,c,d | | mcs | a,b,c,d | | real time | b,d | ``` > 2级平台样例 > vendor-hisilicon > | -- hi309x familiy > | ------ hi309a > | ------ hi3095 > | ------ hi3093 feature yaml文件示例 | features | -- containers.yaml ```yaml type: feature category: containers features: - docker - tag: beta # 特性名、包组内容还为完全确定,未充分验证,并且可能被移除的Feature - support: a|b|c - local_conf: - layers: - isulad - tag: stable # 默认为 stable - support: b|c|d - local_conf: - layers: - containerd - tag: nightly # 未充分验证,还需要持续微调的 Feature - ``` platform yaml文件示例 | platform | -- hi309x.yaml ```yaml type: platform tag: machine_family: hi309x #有此项才分级 machine: hi3095 local_conf: | DISTRO_FEATURE:append = " hi309x hi3095 " # ${machine_family} ${machine} 同时放入DISTRO_FEATURE 确保正确性 VARIABLE = ... ```
随着支持的特性列表增多,一些特性之间缺乏正交性,某些特性也可能完全隶属于另一些特性下,我们需要多级的结构来管理features. 平台也是同理,某些bsp厂商可能有若干的芯片簇,每个簇下有相似的芯片产品,但它们的定制化可能并不体现为镜像的某个feature,加在platform中做适配会更好同样需要多级的结构来处理。 当然这不仅是oebuild单独更新,yocto-meta-openeuler也会同步地配合来支持多级结构 > 多级特性样例 > virtualization: > | -- zvm > | -- xen > container: > | -- container engine > | ------ isulad > | ------ containerd-basic > | ------ docker-ce > | ------ podman > edge IoT: > | -- kubeedge > | -- k3s > | -- ... oebuild generate -l 样例 ``` | Platform Name | | abc | | edg | | hi309x | | * hi309a | | * hi3095 | | Feature Name | Support Arch | | containers | | | * docker | a,b,c | | * isulad | b,c | | * containerd | a,c | | package manager| | | * oebridge | a,b,c,d | | * epkg | b,c,d | | mcs | a,b,c,d | | real time | b,d | ``` > 2级平台样例 > vendor-hisilicon > | -- hi309x familiy > | ------ hi309a > | ------ hi3095 > | ------ hi3093 feature yaml文件示例 | features | -- containers.yaml ```yaml type: feature category: containers features: - docker - tag: beta # 特性名、包组内容还为完全确定,未充分验证,并且可能被移除的Feature - support: a|b|c - local_conf: - layers: - isulad - tag: stable # 默认为 stable - support: b|c|d - local_conf: - layers: - containerd - tag: nightly # 未充分验证,还需要持续微调的 Feature - ``` platform yaml文件示例 | platform | -- hi309x.yaml ```yaml type: platform tag: machine_family: hi309x #有此项才分级 machine: hi3095 local_conf: | DISTRO_FEATURE:append = " hi309x hi3095 " # ${machine_family} ${machine} 同时放入DISTRO_FEATURE 确保正确性 VARIABLE = ... ```
Comments (
1
)
Sign in
to comment
Status
新建
新建
已接纳
已挂起
In Design
In Development
Done
Accepted
Declined
Assignees
Not set
Labels
sig/sig-embedded
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
No related branch
master
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
1
https://gitee.com/openeuler/oebuild.git
git@gitee.com:openeuler/oebuild.git
openeuler
oebuild
oebuild
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register