ci: install grub on the ISO builder
profiledef.sh uses uefi.grub. mkarchiso checks for grub-install on the host before building; archiso does not pull grub, so the v0.6.0 bake aborted after bakery staging.
This commit is contained in:
parent
59fa81de98
commit
fd385bafae
2 changed files with 10 additions and 1 deletions
|
|
@ -41,7 +41,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: |
|
run: |
|
||||||
pacman -Syu --noconfirm archiso curl python git minisign
|
# grub is required by profiledef.sh bootmodes=('uefi.grub'):
|
||||||
|
# mkarchiso validates grub-install on the *builder*, not the image.
|
||||||
|
# archiso pulls syslinux/squashfs-tools/libisoburn; it does not pull grub.
|
||||||
|
pacman -Syu --noconfirm archiso grub curl python git minisign
|
||||||
|
|
||||||
- name: Determine tag and version
|
- name: Determine tag and version
|
||||||
id: vars
|
id: vars
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,12 @@ PY
|
||||||
|
|
||||||
echo "== lockfile $LOCKFILE =="
|
echo "== lockfile $LOCKFILE =="
|
||||||
echo " ${#REQUIRED_BINS[@]} required, ${#OPTIONAL_BINS[@]} optional"
|
echo " ${#REQUIRED_BINS[@]} required, ${#OPTIONAL_BINS[@]} optional"
|
||||||
|
echo "== host tools =="
|
||||||
|
if command -v grub-install >/dev/null 2>&1; then
|
||||||
|
ok "grub-install (uefi.grub bootmode)"
|
||||||
|
else
|
||||||
|
bad "grub-install missing — mkarchiso uefi.grub will abort (install grub on the builder)"
|
||||||
|
fi
|
||||||
echo "== builder home $LAPTOP_HOME =="
|
echo "== builder home $LAPTOP_HOME =="
|
||||||
|
|
||||||
check_exec() {
|
check_exec() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue