Created
January 17, 2015 16:15
-
-
Save andrekeller/9382124e5132b97ce253 to your computer and use it in GitHub Desktop.
hiera-eyaml build notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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