Unlock instant, AI-driven research and patent intelligence for your innovation.

Containerized cross-platform operating system image construction method

An operating system and construction method technology, which is applied in the field of containerized cross-platform operating system image construction, can solve the problems of inability to achieve cross-platform generation and software package cross-platform generation, and achieve the effect of rapid iterative overall reconstruction

Active Publication Date: 2021-03-12
JIANGNAN INST OF COMPUTING TECH
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main disadvantage of existing OS image building methods is the inability to achieve cross-platform generation
Existing server operating system construction methods, such as open-source mainstream Linux distributions Ubuntu, CentOS, or the example project LFS (Linux From Scratch, a Linux From Scratch project) initiated by Linux enthusiasts to build Linux distributions from scratch. The installation method), etc., cannot realize the cross-platform generation of all software packages

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Containerized cross-platform operating system image construction method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0040] Example: such as figure 1 As shown, a containerized cross-platform operating system image construction method includes the following steps,

[0041] S1. Make a container for building the target operating system, and use chroot to enter the container environment; the container environment can support Chroot to switch to the container root directory;

[0042] S2. Prepare a construction guidance description file for all software packages that the target operating system depends on; the guidance description file contains the following guidance descriptions required for software package construction:

[0043] S201. Description of the way to obtain the software package, indicating where to obtain the source code of the software package;

[0044] S202. Description of software package dependencies, indicating other software packages that the source code in the software package depends on when compiling and other software packages that depend on runtime;

[0045] S203, descripti...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a containerized cross-platform operating system image construction method. The method comprises the following steps: constructing a guidance description file which comprises software package acquisition mode description, software package dependency relationship description, software package preparation stage description, software package configuration stage description, software package compiling stage description and software package installation stage description; preparing an automatic construction tool; preparing a cross-compilation environment for the target processor architecture; creating a target directory to be prepared for target processor software compilation; preparing a cross compiler shell program; preparing an automatic construction tool shell program; installing a basic C language library in a target directory; and executing an automatic compilation and installation process and software library installation according to the software package description file required by the operating system image. According to the method, a complete operating system image is completely and automatically generated on a platform of a non-target processor by utilizing a cross-platform cross-compiling technology.

Description

technical field [0001] The invention relates to a containerized cross-platform operating system image construction method, which belongs to the technical field of domestic processor operating system platforms. Background technique [0002] The operating system image is composed of boot files and root file systems necessary for the operation of the operating system. It can be a copy file of the hard disk that can boot the operating system. The copy file can be directly booted in the virtual machine or copied to the physical disk. Realize the operating system booting of the physical machine. [0003] The basic operating system image can be increased or decreased in function, and can be large or small in capacity. For example, in embedded operating systems, in order to avoid occupying too much system memory that users urgently need, the operating system image always compresses the space as much as possible, usually based on the busybox commonly used in embedded systems (combin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/61G06F8/71G06F8/41
CPCG06F8/63G06F8/71G06F8/41
Inventor 王星焱林海南郑岩黄高阳刘松邹通
Owner JIANGNAN INST OF COMPUTING TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More