Skip to content

Instantly share code, notes, and snippets.

@andrekeller
Created January 17, 2015 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrekeller/9382124e5132b97ce253 to your computer and use it in GitHub Desktop.
Save andrekeller/9382124e5132b97ce253 to your computer and use it in GitHub Desktop.
hiera-eyaml build notes
sudo apt-get install git-buildpackage gem2deb
export DEBFULLNAME="André Keller"
export DEBEMAIL="ak@0x2a.io"
git config --global user.name "Andre Keller"
git config --global user.email "ak@0x2a.io"
gem fetch hiera-eyaml
gem2deb hiera-eyaml-*.gem
cd ruby-hiera-eyaml-*
git init
git-import-orig ../ruby-hiera-eyaml_*.orig.tar.gz --pristine-tar
cd ..
mv ruby-hiera-eyaml-* ruby-hiera-eyaml
cd ruby-hiera-eyaml
add /debian/ruby-hiera-eyaml and /.pc to .gitignore
fix:
debian/ruby-hiera-eyaml/usr/lib/ruby/vendor_ruby/hiera/backend/eyaml/commands.rb: require 'rubygems'
debian/ruby-hiera-eyaml/usr/lib/ruby/vendor_ruby/hiera/backend/eyaml/plugins.rb: require 'rubygems'
dpkg-source --commit
git add .
git commit -a
git-buildpackage -us -uc / oder git-buildpackage -S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment