Skip to content
Snippets Groups Projects
Verified Commit 910db90c authored by Ritesh Raj Sarraf's avatar Ritesh Raj Sarraf Committed by Andrej Shadura
Browse files

Create new image type 'basesdk'


This is a derivative of image type 'sdk' with 'ivitools' disabled
Apertis: T5428

Signed-off-by: default avatarRitesh Raj Sarraf <ritesh.sarraf@collabora.com>

Use just a single board definition for both SDK images, and
symlinks for the overlay.

Signed-off-by: default avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
parent 4d3b1023
No related branches found
No related tags found
1 merge request!46Create new image type 'basesdk'
......@@ -60,6 +60,13 @@ def architectures = [
requires: [
armhf: 'development',
]
],
basesdk: [
args: '--scratchsize 10G -t ivitools:disabled',
boards: [ 'sdk' ],
image: true,
sysroot: false,
ostree: false,
]
]
],
......
......@@ -38,19 +38,19 @@ actions:
{{ end }}
# Add type-based apt sources list
{{- if eq $type "development" "sdk" }}
{{- if eq $type "development" "sdk" "basesdk" }}
- action: run
chroot: true
script: scripts/apt_source.sh -m {{ $mirror }} -r {{ $suite }} development
{{- end }}
{{- if eq $type "sdk" }}
{{- if eq $type "sdk" "basesdk" }}
- action: run
chroot: true
script: scripts/apt_source.sh -m {{ $mirror }} -r {{ $suite }} sdk
{{- end }}
{{- if eq $type "development" "sdk" }}
{{- if eq $type "development" "sdk" "basesdk" }}
- action: run
chroot: true
script: scripts/replace-tar-coreutils-for-build.sh
......@@ -100,7 +100,7 @@ actions:
- openssh-server
- vim.tiny
{{- if eq $type "target" "development" "sdk" }}
{{- if eq $type "target" "development" "sdk" "basesdk" }}
{{ if eq $ivitools "enabled" }}
- action: apt
description: "HMI packages"
......@@ -220,7 +220,7 @@ actions:
{{ end }}
{{- end -}}
{{- if eq $type "development" "sdk" }}
{{- if eq $type "development" "sdk" "basesdk" }}
{{ if eq $lxc "enabled" }}
- action: apt
description: "LXC packages"
......@@ -389,7 +389,7 @@ actions:
{{ end }}
{{- end }}
{{- if eq $type "sdk" }}
{{- if eq $type "sdk" "basesdk" }}
- action: apt
description: "SDK packages"
packages:
......@@ -730,7 +730,7 @@ actions:
description: "Creating mount point /Applications"
command: install -d -m 0755 /Applications
{{- if eq $type "sdk" }}
{{- if eq $type "sdk" "basesdk" }}
{{ if eq $ivitools "enabled" }}
- action: run
description: "Setting up sysroot storage"
......
arch-sdk
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment