[英]How can I create a Linux distro from the source code?
if I want to create a Linux distro like kali, parrot.如果我想创建像 kali、parrot 这样的 Linux 发行版。 how can I download the source code of a Linux distro and edit the source code like adding tools, drivers, desktop environment, software, etc?如何下载 Linux 发行版的源代码并编辑源代码,如添加工具、驱动程序、桌面环境、软件等? I want a roadmap or guidance to create a Linux distro then extract it into an ISO image?我想要创建 Linux 发行版然后将其提取到 ISO 映像中的路线图或指南? and what about Raspberry Pi also?树莓派呢?
You should look into the Yocto project.您应该查看 Yocto 项目。 I don't have much experience with traditional OS development, although Yocto is quickly becoming the defacto for embedded Linux development, and the Pi has huge yocto support directly from openembedded.我对传统操作系统开发没有太多经验,尽管 Yocto 正在迅速成为嵌入式 Linux 开发的事实,而且 Pi 直接从 openembedded 获得了巨大的 yocto 支持。
Yocto essentially provides a very base version of an OS, which they call poky that is used to be built upon through different 'layers'. Yocto 本质上提供了一个非常基础的操作系统版本,他们称之为 poky,用于通过不同的“层”构建。 These layers can provide anything from hardware support (BSP), to kernel configurations, to systemd/v services, to graphical environments, etc. While Yocto does simplify the OS dev process greatly, there is still a huge learning curve.这些层可以提供任何东西,从硬件支持 (BSP) 到 kernel 配置,到 systemd/v 服务,再到图形环境等。虽然 Yocto 确实大大简化了 OS 开发过程,但仍然存在巨大的学习曲线。
The great thing is that a beginner could easily throw in the meta-raspberrypi later, and whip up their own GUI with Qt, while at the same time an experienced pro could create their own SoC, develop their own BSP layer, and have their own fully fledged OS running.很棒的是,初学者可以在以后轻松地投入 meta-raspberrypi,并使用 Qt 创建自己的 GUI,同时经验丰富的专业人士可以创建自己的 SoC,开发自己的 BSP 层,并拥有自己的完全成熟的操作系统运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.