forked from puppetlabs/puppet-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathel-7-ppc64le.rb
37 lines (36 loc) · 1.03 KB
/
el-7-ppc64le.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
27
28
29
30
31
32
33
34
35
36
37
platform "el-7-ppc64le" do |plat|
plat.servicedir "/usr/lib/systemd/system"
plat.defaultdir "/etc/sysconfig"
plat.servicetype "systemd"
plat.add_build_repository "http://pl-build-tools.delivery.puppetlabs.net/yum/el/7/ppc64le/pl-build-tools-ppc64le.repo"
plat.add_build_repository "http://pl-build-tools.delivery.puppetlabs.net/yum/el/7/x86_64/pl-build-tools-x86_64.repo"
packages = [
"autoconf",
"automake",
"createrepo",
"gcc",
"gcc-c++",
"imake",
"libsepol",
"libsepol-devel",
"libselinux-devel",
"make",
"pkgconfig",
"pl-binutils-#{self._platform.architecture}",
"pl-cmake",
"pl-gcc-#{self._platform.architecture}",
"pl-ruby",
"readline-devel",
"rsync",
"rpm-build",
"rpm-libs",
"rpm-sign",
"rpmdevtools",
"swig",
"yum-utils",
]
plat.provision_with("yum install -y --nogpgcheck #{packages.join(' ')}")
plat.install_build_dependencies_with "yum install --assumeyes"
plat.cross_compiled true
plat.vmpooler_template "redhat-7-x86_64"
end