Commit c852843b authored by Guido Gunther's avatar Guido Gunther
Browse files

Merge branch 'image-builder' into 'master'

Install image build packages on build slaves too

See merge request Librem5/ansible-librem!12
parents 5b07ace6 df0c3c7c
# Debian packages needed to build images
image_build_pkgs:
- build-essential
- qemu-system-arm
- netcat-openbsd
- ruby-serverspec
- shellcheck
- vmdebootstrap
......@@ -5,10 +5,6 @@
vars:
dev_pkgs:
- git
img_build_pkgs:
- build-essential
- vmdebootstrap
- shellcheck
kernel_build_pkgs:
- gcc-arm-linux-gnueabihf
- libssl-dev
......@@ -101,7 +97,7 @@
with_items:
- "{{ base_pkgs }}"
- "{{ dev_pkgs }}"
- "{{ img_build_pkgs }}"
- "{{ image_build_pkgs }}"
- "{{ kernel_build_pkgs }}"
- "{{ uboot_build_pkgs }}"
- name: Allow jenkins to execute certain commands with raised privs
......
......@@ -2,6 +2,12 @@
- hosts: jenkinsnodes
user: root
vars:
tasks:
- name: Install dev packages
apt:
name: "{{ item }}"
with_items:
- "{{ image_build_pkgs }}"
roles:
- role: infra
tags: infra
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment