Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

leo-project/leofs_package

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leofs_package

leofs_rpm is the leofs's configuration file for RPM(RedHat)/deb(Ubuntu)

How to make RPM file

  1. Prepare environment
  • Install Git, rpmbuild, erlang
  1. Make working directories
$ mkdir -p ~/rpm/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
  1. Copy spec file to 'SPECS' directory
$ cp rpm/make_rpm.sh ~/rpm/SPECS  
$ cp rpm/leofs.spec ~/rpm/SPECS
$ cp common/check_version.sh ~/rpm/SPECS
  1. Build RPM file
$ cd ~/rpm/SPECS  
$ sh make_rpm.sh VERSION 
Example:  
$ sh make_rpm.sh 0.14.0  
  • RPM file is created in the 'RPMS' directory.

How to make deb file

  1. Prepare environment
  • Install Git, fakeroot, build-essential
  1. Make working directories
$ mkdir {WORK_DIRECTORY}
  1. Copy script file
$ cp deb/make_deb.sh {WORK_DIRECTORY}
$ cp common/check_version.sh {WORK_DIRECTORY}
  1. Build deb file
$ cd {WORK_DIRECTORY}
$ sh make_deb.sh {LeoFS's Version} {use systemd}

where "use systemd" can be either "yes" for building a package for systemd-compatible distro such as Ubuntu 16.04 or "no" for making a package that doesn't support (and depends on) systemd.

About

leofs_rpm is a LeoFS' configuration file for RPM and DEB

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.