Intro
Currently, essential resource packages—including but not limited to drivers, Docker, and other utility software—are tightly bundled within the main OS deployment package. This monolithic design means all packages are included regardless of the target environment's specific needs.This approach leads to Inefficient Disk Usage and Lack of Flexibility.
We need a refactor to decouple resource packages from the core OS package, moving towards more modular. Resource packages will be separated from the OS image and stored independently, and a dynamic filter will be designed, which need base on hardware, OS and CPU architecture.
Steps:
Given that there is currently a need to prioritize the efforts to complete the SSH model, we divide the implementation phase into two phase.
Phase 1: SSH Mode Pilot
In this phase, we need a implementation for supporting "SSH Mode". This task will focus exclusively on designing and implementing the packages filter. The order and dependencies resolver will not to design and implement.
Phase 2: Full Refactor
说明
操作系统内的资源包包括不限于驱动、Docker、辅助性软件等,当前设计中,资源包是属于操作系统部署包的一部分。为了支持 SSH 模式以及减少资源包重复存储/下载带来的磁盘空间占用,增加灵活性,此处将重新设计。系统内依赖资源包将其从操作系统包中独立分离,使用硬件和操作系统以及CPU架构等角度进行过滤,并设计一个执行排序的方法
步骤
鉴于目前需要优先集中力量完成 SSH 模式,我们将实施阶段分为两个部分。
阶段一:SSH 模式相关设计
在此阶段,我们需要实现对“SSH模式”的支持。此任务将专注于设计和实现包的过滤器。依赖关系及安装顺序解析器将不会在此阶段进行设计和实现。
阶段二:完整重构
Intro
Currently, essential resource packages—including but not limited to drivers, Docker, and other utility software—are tightly bundled within the main OS deployment package. This monolithic design means all packages are included regardless of the target environment's specific needs.This approach leads to Inefficient Disk Usage and Lack of Flexibility.
We need a refactor to decouple resource packages from the core OS package, moving towards more modular. Resource packages will be separated from the OS image and stored independently, and a dynamic filter will be designed, which need base on hardware, OS and CPU architecture.
Steps:
Given that there is currently a need to prioritize the efforts to complete the SSH model, we divide the implementation phase into two phase.
Phase 1: SSH Mode Pilot
In this phase, we need a implementation for supporting "SSH Mode". This task will focus exclusively on designing and implementing the packages filter. The order and dependencies resolver will not to design and implement.
Phase 2: Full Refactor
说明
操作系统内的资源包包括不限于驱动、Docker、辅助性软件等,当前设计中,资源包是属于操作系统部署包的一部分。为了支持 SSH 模式以及减少资源包重复存储/下载带来的磁盘空间占用,增加灵活性,此处将重新设计。系统内依赖资源包将其从操作系统包中独立分离,使用硬件和操作系统以及CPU架构等角度进行过滤,并设计一个执行排序的方法
步骤
鉴于目前需要优先集中力量完成 SSH 模式,我们将实施阶段分为两个部分。
阶段一:SSH 模式相关设计
在此阶段,我们需要实现对“SSH模式”的支持。此任务将专注于设计和实现包的过滤器。依赖关系及安装顺序解析器将不会在此阶段进行设计和实现。
阶段二:完整重构