Fix arch in build template

This commit is contained in:
Ettore Di Giacinto 2022-10-10 15:26:14 +00:00
parent 90b4573442
commit b70960d454
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
image: "{{.Values.image}}:{{.Values.version}}"
image: "{{.Values.image}}:{{.Values.image_tag}}"
excludes:
- ^/boot/grub2
- ^/boot/initrd
@ -14,7 +14,7 @@ steps:
- zypper in -y --no-recommends {{.Values.packages}}
- zypper cc
{{ if .Values.arch }}
{{ if eq .Values.arch "aarch64" }}
{{ if eq .Values.arch "arm64" }}
# aarch64 has an uncompressed kernel so we need to link it to vmlinuz
- |
kernel=$(ls /boot/Image-* | head -n1) && \

View File

@ -1,7 +1,8 @@
packages:
- category: "distro-kernels"
name: "opensuse"
version: "15.4"
version: "15.4+1"
image_tag: "15.4"
image: "opensuse/leap"
distribution: "opensuse"
packages: "kernel-default dracut kernel-firmware-all tar btrfsprogs rsync gzip xz curl e2fsprogs squashfs wicked dhcp-client coreutils nfs-utils open-iscsi device-mapper iproute2 multipath-tools mdadm arping2 systemd"
@ -9,10 +10,12 @@ packages:
name: "fedora"
version: "36"
image: "fedora"
image_tag: "36"
distribution: "fedora"
packages: "kernel grub2 kernel-core dracut dracut-live"
- category: "distro-kernels"
name: "ubuntu"
image_tag: "20.04"
version: "20.04"
image: "ubuntu"
distribution: "ubuntu"