10 Star 20 Fork 6

openEuler / marketing

 / 详情

No.47 - 开发 openEuler bootstrap 工具

Done
开源之夏2023
Opened this issue  
2020-05-15 15:30

标题 No.47 - 开发 openEuler bootstrap 工具

描述
借鉴 Linux From Scratch 和 crosstool-ng,开发一套自动化构建工具,该工具支持利用src.rpm源代码,从零构建 openEuler 。

一个可能的建议是,利用crosstool-ng工具,从openEuler x86_64构建 i686版本的二进制rpm。

目标

  • 开发一套自动化构建的工具。
  • 支持native和cross两种构建方式,支持新架构如i686的构建。
  • 该工具可以交叉构建一个新架构i686的rootfs,该rootfs是由200-300+软件包的rpms组成。
  • 基于这些rpms,可以在koji或obs上继续构建其他上层软件包。最终构建出openEuler所有支持的软件。

思路提示

  1. 借鉴LFS,从零构建。
  2. 利用crosstool-ng
    a、增加特性,使用crosstool,可以直接构建rpm
    b、增加对其他基础软件支持,如krb5、openssh、bash等
    c、编译的结果以目标架构的rpm呈现,如bash.i686。

难度

导师 overweight

联系方式 hexiaowen@huawei.com

产出标准

  • 一套自动化、一键式构建工具,托管在https://gitee.com/openeuler/openEuler-bootstrap
    包括源代码和文档。
  • 利用该工具和openEuler软件包src.rpm,可以自动化构建200+基础的rpm。
  • 可扩展性,利用该工具,可以方便openEuler支持新的架构,如i686、risc v5.

技术要求

  • 基本的Linux命令
  • DNF/RPM包管理
  • gcc交叉编译原理
  • 具备一种脚本语言,如 Python、Bash script 等

相关项目

  1. https://gitee.com/openeuler/openEuler-bootstrap

相关资料

  1. http://www.linuxfromscratch.org
  2. https://crosstool-ng.github.io
  3. https://gitee.com/openeuler/openEuler-bootstrap

Comments (2)

hexiaowen created暑期2020
hexiaowen set related repository to openEuler/marketing
Expand operation logs

Hey @hexiaowen, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

hexiaowen changed description
hexiaowen changed description
hexiaowen set deadline to 2020-07-02
hexiaowen set start time to 2020-07-01
hexiaowen changed deadline from 2020-07-02 to 2020-09-30
hexiaowen set priority to Main
hexiaowen set top level to High
hexiaowen added
 
summer2020
label
genedna changed top level from High to Not top
genedna changed priority from Main to Not specified
genedna assigned collaborator allesgute
genedna assigned collaborator genedna
genedna set related project to Summer 2020
genedna changed title
genedna changed description
hexiaowen changed description
hexiaowen changed description
hexiaowen changed title
hexiaowen changed description
hexiaowen changed description
genedna changed title
genedna changed description
openeuler-ci-bot removed
 
summer2020
label

开发者大赛已结束.该题目关闭.

hexiaowen changed issue state from 待办的 to 已完成

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(4)
5329419 openeuler ci bot 1632792936 5324761 overweight 1578984558 23249 genedna 1586065964
1
https://gitee.com/openeuler/marketing.git
git@gitee.com:openeuler/marketing.git
openeuler
marketing
marketing

Search