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

Linux software package manufacturing method capable of being used in various systems

A production method and software package technology, which is applied in the direction of memory system, program control design, special data processing application, etc., can solve the problem of not being able to produce rpm and deb software packages at the same time, and achieve the effect of saving time for setting up the environment

Active Publication Date: 2013-12-11
G CLOUD TECH
View PDF2 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem solved by the present invention is to provide a method for making Linux software packages that can be used in various systems, to maximize the use of the installed and configured dependency environment in the development environment, and to solve the problem that the current method cannot make rpm and deb software packages at the same time , Every time a software package is produced, the compilation of the source code must be re-executed, etc.

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
  • Linux software package manufacturing method capable of being used in various systems
  • Linux software package manufacturing method capable of being used in various systems
  • Linux software package manufacturing method capable of being used in various systems

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] As shown in the accompanying drawings, in the method of the present invention, first make a compiling dependent environment according to the source code, perform precompilation, compilation and installation, and define the installation directory under / opt / gcloud-gl / during precompilation, It is defined as follows:

[0021] . / configure --prefix= / opt / gcloud-gl / ;

[0022] make;

[0023] make istall

[0024] Write a script to traverse the installation directory and generate a list of installation files. The traverse script is as follows:

[0025]

[0026]

[0027]

[0028] To generate a list, the command is as follows:

[0029] . / list_alldir / var / log / >gcloud-gl.files

[0030] Write the rpm spec script as follows:

[0031]

[0032]

[0033] Because there is no need to perform other installation and uninstallation steps, no other files need to be added under DEBIAN.

[0034] Create a target file storage directory:

[0035] mkdir / opt / gcloudGLpackage /

...

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 relates to a Linux software package manufacturing method capable of being used in various systems. The method comprises the steps that firstly, the compiling environment of the Linux software is constructed and pre-compilation, compilation and installation are conducted once; secondly, a list of installation documents is generated; thirdly, installed target documents are copied in a target document storage catalogue one by one; finally, an order of Linux software package manufacture is executed and a software package is generated by the target documents. The software package manufacturing method can be used in a plurality of Linux release versions, and meanwhile, the problem that according to a traditional Linux software package manufacturing method, source code compilation needs to be conducted every time manufacture is conducted. The method can be used for manufacturing the Linux software packages.

Description

technical field [0001] The invention relates to the field of making Linux software packages, in particular to a method for making Linux software packages that can be used in various systems. Background technique [0002] At present, most of the software packages under Linux are produced in the form of rpm and deb. The production method of the rpm package is: first obtain the software source code, install various files that the compilation depends on according to the documentation of the dependent software provided in the source code, and then Write the spec script of the rpm software package. The steps to be completed in the script include: 1. Generate the directory for storing the compiled target files; 2. Compile the source code; 3. Generate a list of target files. Finally, run the rpmbuild command to generate the rpm package according to the spec script. The method of making the Deb software package is similar. The deb does not use the spec file but uses the DEBIAN direc...

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): G06F9/45G06F17/30
Inventor 莫展鹏杨松季统凯
Owner G CLOUD TECH