Quickly make salt RPM packages

Source: Internet
Author: User
Tags rpmbuild

After modifying the salt source code, you want to quickly compile the RPM package, which can be based on the salt src.rpm package.


Pre-preparation

SALT-2014.7.1-1.EL7.SRC.RPM # Salt Source package and Spec file rpm-build.rpm # tool to compile rpm


Modify Code

RPM-IVH salt-2014.7.1-1.el7.src.rpm # will generate Rpmbuild directory under current directory ll rpmbuild/total 2drwxr-xr-x 2 root root 4096 Mar 12:52 SOUR Cesdrwxr-xr-x 2 root root 12:51 specsll rpmbuild/sources/salt-2014.7.1.tar.gz # You can unzip it, then change the code and then compress it.


Making RPM Packages

RPMBUILD-BB Specs/salt.spec # Make a salt RPM package, which relies on the Python-devel package

This article is from the "The-way-to-cloud" blog, make sure to keep this source http://iceyao.blog.51cto.com/9426658/1621799

Quickly make salt RPM packages

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.