Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
[fixes #44347205] Install libyaml to prevent verbose warnings and pos…
Browse files Browse the repository at this point in the history
…sibly breakage in psych / yaml gems
  • Loading branch information
Bleicke and Matthew Boedicker committed Feb 14, 2013
1 parent 9b10efd commit 62da179
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
4 changes: 4 additions & 0 deletions config/blobs.yml
Expand Up @@ -691,3 +691,7 @@ mysql/client-5.5.29-rel29.4-401.Linux.x86_64.tar.gz:
object_id: eyJvaWQiOiI0ZTRlNzhiY2E0MWUxMjEwMDRlNGU3ZDUxNzYxOGYwNTEwYjIx%0AZDI4YTJiYiIsInNpZyI6InJocVhmTUFMZEpTbHNERG5OTWczZVJOenlCWT0i%0AfQ==%0A
sha: 8dad5b2d9fee7b0a98e419949c6f7d94c39443f2
size: 4564276
libyaml/yaml-0.1.4.tgz:
object_id: eyJvaWQiOiI0ZTRlNzhiY2E1MWUxMjIwMDRlNGU4ZWM2ODQwNzcwNTExZDM1%0AZmZjOTFiZCIsInNpZyI6IlIwQk51U2ZSTVQ1czgzVHpPQkZBVVFxYjJWaz0i%0AfQ==%0A
sha: e0e5e09192ab10a607e3da2970db492118f560f2
size: 471759
8 changes: 8 additions & 0 deletions packages/libyaml/packaging
@@ -0,0 +1,8 @@
# abort script on any command that exit with a non zero value
set -e

tar xzf libyaml/yaml-0.1.4.tgz
cd yaml-0.1.4
./configure --prefix=${BOSH_INSTALL_TARGET}
make
make install
4 changes: 4 additions & 0 deletions packages/libyaml/spec
@@ -0,0 +1,4 @@
---
name: libyaml
files:
- libyaml/yaml-0.1.4.tgz
3 changes: 1 addition & 2 deletions packages/ruby_next/packaging
Expand Up @@ -4,13 +4,12 @@ set -e
tar xzf ruby/ruby-1.9.3-p194.tar.gz
(
cd ruby-1.9.3-p194
./configure --prefix=${BOSH_INSTALL_TARGET} --disable-install-doc
./configure --prefix=${BOSH_INSTALL_TARGET} --disable-install-doc --with-opt-dir=/var/vcap/packages/libyaml
make
make install
)

tar zxvf ruby/rubygems-1.8.24.tgz

(
cd rubygems-1.8.24

Expand Down
8 changes: 5 additions & 3 deletions packages/ruby_next/spec
@@ -1,6 +1,8 @@
---
name: ruby_next
dependency:
- libyaml
files:
- ruby/ruby-1.9.3-p194.tar.gz
- ruby/rubygems-1.8.24.tgz
- ruby/bundler-1.2.1.gem
- ruby/ruby-1.9.3-p194.tar.gz
- ruby/rubygems-1.8.24.tgz
- ruby/bundler-1.2.1.gem

0 comments on commit 62da179

Please sign in to comment.