forked from puppetlabs/puppet-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathubuntu-14.04-i386.rb
26 lines (22 loc) · 1 KB
/
ubuntu-14.04-i386.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
platform "ubuntu-14.04-i386" do |plat|
plat.servicedir "/etc/init.d"
plat.defaultdir "/etc/default"
plat.servicetype "sysv"
plat.codename "trusty"
plat.add_build_repository "http://pl-build-tools.delivery.puppetlabs.net/debian/pl-build-tools-release-#{plat.get_codename}.deb"
plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends build-essential devscripts make quilt pkg-config debhelper rsync fakeroot "
plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends "
packages = [
"libbz2-dev",
"libreadline-dev",
"make",
"openjdk-7-jdk",
"pkg-config",
"pl-cmake",
"pl-gcc",
"zlib1g-dev"
]
plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}"
plat.vmpooler_template "ubuntu-1404-i386"
plat.output_dir File.join("deb", plat.get_codename, "PC1")
end