mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-10-17 17:20:31 +00:00
7b450d7c08d540caf6b45d28c79f2e69b5ca8427
t/aarch64_target.t was added with the aarch64 build target and no workflow step ran it. Adding the step alone is not enough: the four checks that run the spec's own grub2-mkimage command skip unless the arm64-efi grub modules are installed and the tool is on PATH, and both were missing on the runner. Debian and Ubuntu name the tool grub-mkimage, so looking only for the EL name skips exactly where the suite runs. The test now resolves either name and substitutes it into the spec's command. grub-efi-arm64-bin is Architecture: arm64 and cannot be installed on the amd64 runner, but the modules in it are target code, so the workflow extracts the deb from ports.ubuntu.com instead of enabling a foreign architecture, and fails when the extraction yields no modules. Measured in an ubuntu:24.04 container with the workflow's own steps: the upstream test reports 4 skips, `# skip grub2-mkimage or the arm64-efi grub modules are not installed`, and this one reports 0 with all four image checks passing. The workflow also runs t/aarch64_cross_build.t. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
Description
No description provided
Languages
Perl
80.2%
JavaScript
7.4%
Shell
3.7%
SQLPL
2.4%
CSS
2.1%
Other
4.2%