ytoolshed / multipkg

Automation for package builds
67 stars 37 forks source link

Multipkg

Multipkg automates and versions your package builds.

Installation

Multipkg is best installed via rpms/debs built by... Multipkg.

The bootstrap process is a little primitive now, but here are the steps:

  1. Install your developer tools
    • might be unnecessary now
    • yum -y groupinstall "Development Tools"
  2. install YAML::Syck and makemaker
    yum install perl-YAML-Syck perl-ExtUtils-MakeMaker
    
  3. git clone multipkg
  4. cd multipkg
  5. manually build and install your first multipkg package
    PREFIX=./root PKGVERID=0 INSTALLDIR=source scripts/transform
    perl -I ./source/lib root/usr/bin/multipkg -t .
    sudo yum -y install multipkg-*rpm
    
  6. Remove the first package
    rm multipkg*rpm
    
  7. Build your final multipkg package from git
    git-multipkg -b https://github.com/ytoolshed/ multipkg
    
  8. upgrade on the current host immediately so there is no confusion
    sudo yum upgrade ./multipkg*rpm
    
  9. ENJOY