Package Details: arch-grub-git 0.1.1.1.1.1-1

Git Clone URL: https://aur.archlinux.org/arch-grub-git.git (read-only, click to copy)
Package Base: arch-grub-git
Description: Produces a standalone GRUB binary compatible with Arch Linux.
Upstream URL: https://github.com/themartiancompany/arch-grub
Licenses: AGPL3
Groups: hip
Conflicts: arch-grub
Provides: arch-grub, mkgrub
Submitter: tallero
Maintainer: tallero (truocolo)
Last Packager: truocolo
Votes: 1
Popularity: 0.51
First Submitted: 2023-08-28 12:47 (UTC)
Last Updated: 2024-02-17 10:40 (UTC)

Dependencies (7)

Required by (0)

Sources (1)

Latest Comments

tallero commented on 2024-01-18 14:11 (UTC)

@dreick:

Thank you for reporting!

Yeah, I would advice building this -git package with --nocheck as I am currently writing without shellcheck as it segfaults on my machine.

dreieck commented on 2024-01-18 12:26 (UTC)

This fails to check() for me:

==> Starting check()...
make: Entering directory '/tmp/makepkg/build/arch-grub-git/src/arch-grub'
shellcheck -s bash arch-grub/arch-grub.sh

In arch-grub/arch-grub.sh line 52:
              "${_value}"
              ^---------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".


In arch-grub/arch-grub.sh line 73:
      echo "${_image[${_var}]}" && \
            ^----------------^ SC2154 (warning): _image is referenced but not assigned.


In arch-grub/arch-grub.sh line 80:
    grub_cfg=""
    ^------^ SC2034 (warning): grub_cfg appears unused. Verify use (or export if used externally).


In arch-grub/arch-grub.sh line 81:
    embed_cfg=""
    ^-------^ SC2034 (warning): embed_cfg appears unused. Verify use (or export if used externally).
[...]
[...]
[...]
In arch-grub/arch-grub.sh line 460:
    i) read -r -a override_initrd_sums <<< "${OPTARG}" ;;
                      ^------------------^ SC2034 (warning): override_initrd_sums appears unused. Verify use (or export if used externally).


In arch-grub/arch-grub.sh line 461:
    p) read -r -a boot_keys <<< "${OPTARG}" ;;
                      ^-------^ SC2034 (warning): boot_keys appears unused. Verify use (or export if used externally).

For more information:
  https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ...
  https://www.shellcheck.net/wiki/SC2034 -- boot_keys appears unused. Verify ...
  https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
make: *** [Makefile:17: shellcheck] Error 1
make: Target 'check' not remade because of errors.
make: Leaving directory '/tmp/makepkg/build/arch-grub-git/src/arch-grub'
==> ERROR: A failure occurred in check().

Regards!