mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-15 22:53:50 +00:00
Fix arches in several packages
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
parent
f61e479763
commit
2f46a264a7
@ -1,4 +1,3 @@
|
||||
category: "kernels"
|
||||
name: "linux-tegra"
|
||||
version: "5.15"
|
||||
arch: "x86_64"
|
||||
|
@ -3,7 +3,7 @@ image: "opensuse/leap:15.3"
|
||||
prelude:
|
||||
- zypper in -y git
|
||||
{{if .Values.arch }}
|
||||
{{if eq .Values.arch "x86_64"}}
|
||||
{{if eq .Values.arch "amd64"}}
|
||||
- zypper in -y --no-recommends syslinux
|
||||
{{end}}
|
||||
{{end}}
|
||||
@ -17,7 +17,7 @@ steps:
|
||||
{{if eq .Values.name "grub2"}}
|
||||
- mkdir -p /boot/x86_64/loader
|
||||
{{if .Values.arch }}
|
||||
{{if eq .Values.arch "x86_64"}}
|
||||
{{if eq .Values.arch "amd64"}}
|
||||
- mkdir -p /boot/x86_64/loader/grub2/fonts && cp -p /usr/share/grub2/unicode.pf2 /boot/x86_64/loader/grub2/fonts
|
||||
- mkdir -p /boot/grub2/x86_64-efi/ && cp -p /usr/share/grub2/x86_64-efi/* /boot/grub2/x86_64-efi/
|
||||
- mkdir -p /boot/arm64/loader/grub2/fonts && cp -p /usr/share/grub2/unicode.pf2 /boot/arm64/loader/grub2/fonts
|
||||
@ -33,7 +33,7 @@ steps:
|
||||
{{end}}
|
||||
{{if eq .Values.name "grub2-efi-image"}}
|
||||
{{if .Values.arch }}
|
||||
{{if eq .Values.arch "x86_64"}}
|
||||
{{if eq .Values.arch "amd64"}}
|
||||
- mkdir -p /EFI/BOOT
|
||||
# For removable drives the name of the efi needs to be bootx64.efi
|
||||
- cp /usr/share/efi/x86_64/shim.efi /EFI/BOOT/bootx64.efi
|
||||
|
@ -2,12 +2,10 @@ packages:
|
||||
- name: "grub2"
|
||||
category: "livecd"
|
||||
version: "0.0.8"
|
||||
arch: x86_64
|
||||
description: "Grub2 booloader for live systems"
|
||||
kairos_tag: "1.6.0"
|
||||
- name: "grub2-efi-image"
|
||||
category: "livecd"
|
||||
version: "0.0.8"
|
||||
arch: x86_64
|
||||
kairos_tag: "1.6.0"
|
||||
description: "Grub2 booloader EFI image for live systems"
|
||||
|
@ -21,7 +21,7 @@ steps:
|
||||
{{if .Values.distribution}}
|
||||
{{if eq .Values.distribution "opensuse"}}
|
||||
{{if .Values.arch }}
|
||||
{{if eq .Values.arch "x86_64"}}
|
||||
{{if eq .Values.arch "amd64"}}
|
||||
- cp /usr/share/grub2/x86_64-efi/grub.efi /output/EFI/BOOT/bootx64.efi
|
||||
{{end}}
|
||||
{{if eq .Values.arch "arm64"}}
|
||||
@ -29,7 +29,7 @@ steps:
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{else if eq .Values.distribution "fedora"}}
|
||||
{{if eq .Values.arch "x86_64"}}
|
||||
{{if eq .Values.arch "amd64"}}
|
||||
- grub2-mkimage -O x86_64-efi -o /output/EFI/BOOT/bootx64.efi -c /output/EFI/BOOT/grub.cfg -p /grub2 -d /usr/lib/grub/x86_64-efi {{.Values.efi_modules}}
|
||||
{{else if eq .Values.arch "arm64"}}
|
||||
- mkdir -p /output/EFI/fedora
|
||||
@ -37,7 +37,7 @@ steps:
|
||||
- cp -r /boot/efi/EFI/BOOT/* /output/EFI/BOOT/
|
||||
{{end}}
|
||||
{{else if eq .Values.distribution "ubuntu"}}
|
||||
{{if eq .Values.arch "x86_64"}}
|
||||
{{if eq .Values.arch "amd64"}}
|
||||
- grub-mkimage -O x86_64-efi -o /output/EFI/BOOT/bootx64.efi -c /output/EFI/BOOT/grub.cfg -p /grub2 -d /usr/lib/grub/x86_64-efi {{.Values.efi_modules}} linuxefi
|
||||
{{else if eq .Values.arch "arm64"}}
|
||||
- grub-mkimage -O arm64-efi -o /output/EFI/BOOT/bootaa64.efi -c /output/EFI/BOOT/grub.cfg -p /grub2 -d /usr/lib/grub/arm64-efi {{.Values.efi_modules_arm64}}
|
||||
|
@ -3,6 +3,5 @@ category: "static"
|
||||
version: "0.1"
|
||||
distribution: opensuse
|
||||
image: opensuse/leap:15.3
|
||||
arch: "x86_64"
|
||||
efi_modules: ext2 iso9660 linux echo configfile search_label search_fs_file search search_fs_uuid ls normal gzio png fat gettext font minicmd gfxterm gfxmenu all_video xfs gcry_rijndael gcry_sha256 gcry_sha512 test true loadenv part_gpt part_msdos efi_gop efi_uga
|
||||
efi_modules_arm64: ext2 iso9660 linux echo configfile search_label search_fs_file search search_fs_uuid ls normal gzio png fat gettext font minicmd gfxterm gfxmenu all_video xfs gcry_rijndael gcry_sha256 gcry_sha512 test true loadenv part_gpt part_msdos efi_gop
|
@ -3,4 +3,3 @@ category: "system"
|
||||
version: "2.06-150403"
|
||||
pversion: "2.06-150400.12.2"
|
||||
license: "GPL-3.0-or-later"
|
||||
arch: "x86_64"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This is only for amd64
|
||||
{{ if .Values.arch }}
|
||||
{{ if eq .Values.arch "" }}
|
||||
{{ if eq .Values.arch "amd64" }}
|
||||
image: registry.opensuse.org/opensuse/leap:15.3
|
||||
|
||||
prelude:
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This is only for amd64
|
||||
{{ if .Values.arch }}
|
||||
{{ if eq .Values.arch "" }}
|
||||
{{ if eq .Values.arch "amd64" }}
|
||||
requires:
|
||||
- name: "toolchain-go"
|
||||
category: "development"
|
||||
|
Loading…
Reference in New Issue
Block a user