Skip to content

Commit

Permalink
Merge pull request puppetlabs-toy-chest#773 from h0tw1r3/PA-5751-debi…
Browse files Browse the repository at this point in the history
…an-12-arm

(PA-5751) debian 12 arm platform support
  • Loading branch information
h0tw1r3 authored Dec 5, 2023
2 parents 2c8cdfe + 50bb2d4 commit fbd7684
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
21 changes: 21 additions & 0 deletions configs/platforms/debian-12-aarch64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
platform "debian-12-aarch64" do |plat|
plat.inherit_from_default
packages = [
'build-essential',
'cmake',
'debhelper',
'devscripts',
'fakeroot',
'libbz2-dev',
'libreadline-dev',
'libselinux1-dev',
'make',
'pkg-config',
'quilt',
'rsync',
'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(' ')}"
end
30 changes: 30 additions & 0 deletions configs/platforms/debian-12-armhf.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
platform "debian-12-armhf" do |plat|
plat.servicedir "/lib/systemd/system"
plat.defaultdir "/etc/default"
plat.servicetype "systemd"
plat.codename "bullseye"

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",
"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(' ')}"
end

0 comments on commit fbd7684

Please sign in to comment.