forked from puppetlabs/puppet-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
debian-10-armhf.rb
34 lines (30 loc) · 881 Bytes
/
debian-10-armhf.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
platform "debian-10-armhf" do |plat|
plat.servicedir "/lib/systemd/system"
plat.defaultdir "/etc/default"
plat.servicetype "systemd"
plat.codename "buster"
plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends "
packages = [
"build-essential",
"make",
"quilt",
"pkg-config",
"debhelper",
"rsync",
"fakeroot",
"libbz2-dev",
"libreadline-dev",
"libselinux1-dev",
"make",
"openjdk-11-jre-headless",
"pkg-config",
"cmake",
"gcc",
"swig",
"systemtap-sdt-dev",
"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 "debian-10-armhf"
plat.output_dir File.join("deb", plat.get_codename, "PC1")
end