forked from OpenVoxProject/puppet-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsles-12-ppc64le.rb
32 lines (31 loc) · 1020 Bytes
/
sles-12-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
platform "sles-12-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/sles/12/ppc64le/pl-build-tools-sles-12-ppc64le.repo"
plat.add_build_repository "http://pl-build-tools.delivery.puppetlabs.net/yum/sles/12/x86_64/pl-build-tools-sles-12-x86_64.repo"
packages = [
"aaa_base",
"autoconf",
"automake",
"bison",
"gcc",
"gcc-c++",
"libbz2-devel",
"make",
"pkgconfig",
"pl-binutils-#{self._platform.architecture}",
"pl-cmake",
"pl-gcc-#{self._platform.architecture}",
"pl-ruby",
"readline-devel",
"rsync",
"rpm-build",
"xorg-x11-util-devel",
"zlib-devel"
]
plat.provision_with("zypper -n --no-gpg-checks install -y #{packages.join(' ')}")
plat.install_build_dependencies_with "zypper -n --no-gpg-checks install -y"
plat.cross_compiled true
plat.vmpooler_template "sles-12-x86_64"
end