Skip to content

fix(docker): add GRUB build dependencies to coreboot containers - #970

Merged
AtomicFS merged 1 commit into
mainfrom
grub2
Dec 1, 2026
Merged

AtomicFS merged 1 commit into
mainfrom
grub2

Conversation

@CodingVoid

Copy link
Copy Markdown
Contributor
  • GRUB for the coreboot platform needs freetype, unifont and gawk
  • openssl is needed by signing scripts

AI-Generated: true
AI-Model: claude-opus-5-5

@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

❌MegaLinter analysis: Error

Descriptor Linter Files Fixed Errors Max errors Warnings Elapsed time
✅ ACTION actionlint 15 0 0 0.31s
⚠️ ACTION zizmor 15 344 0 13.78s
✅ BASH bash-exec 9 0 0 0.05s
✅ BASH shellcheck 8 0 0 0.1s
✅ BASH shfmt 8 0 0 0.0s
✅ DOCKERFILE hadolint 5 0 0 0.21s
✅ EDITORCONFIG editorconfig-checker 234 0 0 0.15s
✅ GO revive 32 0 0 28.92s
✅ JSON jsonlint 14 0 0 0.58s
✅ JSON prettier 14 0 0 3.51s
✅ JSON v8r 14 0 0 3.52s
✅ MARKDOWN markdownlint 32 0 0 4.38s
✅ PYTHON black 21 0 0 1.81s
✅ PYTHON flake8 21 0 0 0.86s
✅ PYTHON isort 21 0 0 0.17s
✅ PYTHON mypy 21 0 0 6.49s
✅ PYTHON pylint 21 0 0 6.26s
✅ PYTHON pyright 21 0 0 1.41s
✅ PYTHON ruff 21 0 0 0.02s
✅ REPOSITORY betterleaks yes no no 0.56s
✅ REPOSITORY checkov yes no no 19.63s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 127.44s
❌ REPOSITORY osv-scanner yes 1 no 91.79s
✅ REPOSITORY secretlint yes no no 0.89s
✅ REPOSITORY syft yes no no 9.34s
✅ REPOSITORY trivy yes no no 14.83s
✅ REPOSITORY trivy-sbom yes no no 2.58s
✅ REPOSITORY trufflehog yes no no 6.0s
⚠️ SPELL cspell 234 4 0 3.54s
⚠️ YAML prettier 36 1 2 0.99s
⚠️ YAML v8r 36 1 0 10.35s
✅ YAML yamllint 36 0 0 0.91s

Detailed Issues

❌ REPOSITORY / osv-scanner - 1 error
Scanning dir .
Starting filesystem walk for root: /
Scanned .dagger-ci/daggerci/requirements.txt file and found 10 packages
Scanned cmd/firmware-action/go.mod file and found 58 packages
End status: 58 dirs visited, 292 inodes visited, 2 Extract calls, 5.691777ms elapsed, 5.691885ms wall time
failed resolution for .dagger-ci/daggerci/requirements.txt: resolution aborted after too many iterations
Error during extraction: (extracting as transitivedependency/requirements) failed resolution for .dagger-ci/daggerci/requirements.txt: resolution aborted after too many iterations
Loaded filter from: .dagger-ci/daggerci/osv-scanner.toml
Loaded filter from: cmd/firmware-action/osv-scanner.toml
GO-2026-5932 has been filtered out because: Indirect dependency, and we do not use any crypto
Filtered 1 vulnerability from output
.dagger-ci/daggerci/osv-scanner.toml has unused ignores:
 - PYSEC-2026-215
 - PYSEC-2018-28
 - PYSEC-2023-74
 - PYSEC-2026-1872
 - PYSEC-2026-1873
 - PYSEC-2026-2275

Total 0 packages affected by 0 known vulnerabilities (0 Critical, 0 High, 0 Medium, 0 Low, 0 Unknown) from 0 ecosystems.
0 vulnerabilities can be fixed.
⚠️ SPELL / cspell - 4 errors
.github/workflows/go-test.yml:130:15    - Unknown word (jlumbroso)  -- uses: jlumbroso/free-disk-space@main
	 Suggestions: [lombroso, Lombroso, jumbos]
cmd/firmware-action/recipes/cache_test.go:42:59     - Unknown word (toplevel)   -- rev-parse", "--show-toplevel")
	 Suggestions: [topee, topees, topleft, topless, topline]
cmd/firmware-action/recipes/coreboot_test.go:314:10    - Unknown word (Lenf)       -- require.Lenf(tb, match, 2, "no 'COREBOOT
	 Suggestions: [Leaf, leif, Leif, lena, Lena]
cmd/firmware-action/recipes/coreboot_test.go:317:9     - Unknown word (Regexpf)    -- assert.Regexpf(tb, versionRegex, version
	 Suggestions: [Regexp, Regexpp, Regexps, Regex, Regex's]
CSpell: Files checked: 123, Issues found: 4 in 3 files.


You can skip this misspellings by defining the following .cspell.json file at the root of your repository
Of course, please correct real typos before :)

{
    "version": "0.2",
    "language": "en",
    "ignorePaths": [
        "**/node_modules/**",
        "**/vscode-extension/**",
        "**/.git/**",
        "**/.pnpm-lock.json",
        ".vscode",
        "package-lock.json",
        "megalinter-reports"
    ],
    "words": [
        "Lenf",
        "Regexpf",
        "jlumbroso",
        "toplevel"
    ]
}


You can also copy-paste megalinter-reports/.cspell.json at the root of your repository
⚠️ YAML / prettier - 1 error
Checking formatting...
[warn] .mega-linter.yml
[warn] Code style issues found in the above file. Run Prettier with --write to fix.
⚠️ YAML / v8r - 1 error
✖ .github/workflows/docker-build-and-test-rerun.yml is invalid

✖ Maximum call stack size exceeded
⚠️ ACTION / zizmor - 344 errors
n@v7
   |               ^^^^^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#unpinned-uses

error[unpinned-uses]: unpinned action reference
  --> .github/workflows/pytest.yml:63:15
   |
63 |         uses: actions/checkout@v7
   |               ^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#unpinned-uses

help[artipacked]: credential persistence through GitHub Actions artifacts
  --> .github/workflows/release-prepare.yml:19:9
   |
19 |         - name: Checkout
   |  _________^
20 | |         uses: actions/checkout@v7
21 | |         with:
22 | |           fetch-depth: 0
...  |
25 | |       # Automatically determinate the next release version from Conventional Commits since the latest tag
   | |_________________________________________________________________________________________________________^ does not set persist-credentials: false
   |
   = note: audit confidence → Low
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#artipacked

info[template-injection]: code injection via template expansion
  --> .github/workflows/release-prepare.yml:37:59
   |
36 |         run: |
   |         --- this run block
37 |           sed -i -E "s/default: 'v[0-9\.]+'/default: '${{ steps.semver.outputs.next }}'/g" action.yml
   |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^ may expand into attacker-controllable code
   |
   = note: audit confidence → Low
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#template-injection

error[unpinned-uses]: unpinned action reference
  --> .github/workflows/release-prepare.yml:20:15
   |
20 |         uses: actions/checkout@v7
   |               ^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#unpinned-uses

error[unpinned-uses]: unpinned action reference
  --> .github/workflows/release-prepare.yml:28:15
   |
28 |         uses: ietf-tools/semver-action@v1
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#unpinned-uses

error[unpinned-uses]: unpinned action reference
  --> .github/workflows/release-prepare.yml:50:15
   |
50 |         uses: peter-evans/create-pull-request@v8
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#unpinned-uses

help[artipacked]: credential persistence through GitHub Actions artifacts
  --> .github/workflows/release.yml:28:9
   |
28 |         - name: Checkout code
   |  _________^
29 | |         uses: actions/checkout@v7
30 | |         with:
31 | |           fetch-depth: 0
32 | |           fetch-tags: true
   | |__________________________^ does not set persist-credentials: false
   |
   = note: audit confidence → Low
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#artipacked

help[artipacked]: credential persistence through GitHub Actions artifacts
  --> .github/workflows/release.yml:87:9
   |
87 |         - name: Checkout code
   |  _________^
88 | |         uses: actions/checkout@v7
89 | |         with:
90 | |           fetch-depth: 0
91 | |           fetch-tags: true
   | |__________________________^ does not set persist-credentials: false
   |
   = note: audit confidence → Low
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#artipacked

info[template-injection]: code injection via template expansion
  --> .github/workflows/release.yml:52:28
   |
51 |         run: |
   |         --- this run block
52 |           NEXT_VERSION=${{ steps.get_version.outputs.version }}
   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ may expand into attacker-controllable code
   |
   = note: audit confidence → Low
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#template-injection

info[template-injection]: code injection via template expansion
   --> .github/workflows/release.yml:108:27
    |
 99 |         uses: actions/github-script@v9
    |         ------------------------------ action accepts arbitrary code
...
102 |           script: |
    |           ------ via this input
...
108 |                 ref: "${{ steps.get_version.outputs.version }}",
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ may expand into attacker-controllable code
    |
    = note: audit confidence → Low
    = help: audit documentation → https://docs.zizmor.sh/audits/#template-injection

error[unpinned-uses]: unpinned action reference
  --> .github/workflows/release.yml:29:15
   |
29 |         uses: actions/checkout@v7
   |               ^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#unpinned-uses

error[unpinned-uses]: unpinned action reference
  --> .github/workflows/release.yml:34:15
   |
34 |         uses: actions/setup-go@v7
   |               ^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#unpinned-uses

error[unpinned-uses]: unpinned action reference
  --> .github/workflows/release.yml:60:15
   |
60 |         uses: goreleaser/goreleaser-action@v7
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#unpinned-uses

error[unpinned-uses]: unpinned action reference
  --> .github/workflows/release.yml:88:15
   |
88 |         uses: actions/checkout@v7
   |               ^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#unpinned-uses

error[unpinned-uses]: unpinned action reference
  --> .github/workflows/release.yml:99:15
   |
99 |         uses: actions/github-script@v9
   |               ^^^^^^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#unpinned-uses

error[cache-poisoning]: runtime artifacts potentially vulnerable to a cache poisoning attack
  --> .github/workflows/release.yml:34:9
   |
34 |         uses: actions/setup-go@v7
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^ enables caching by default
...
60 |         uses: goreleaser/goreleaser-action@v7
   |         ------------------------------------- runtime artifacts usually published here
   |
   = note: audit confidence → Low
   = note: this finding has an auto-fix
   = help: audit documentation → https://docs.zizmor.sh/audits/#cache-poisoning

344 findings (121 suppressed, 1 safe fixes, 160 unsafe fixes): 62 informational, 36 low, 4 medium, 121 high

(Truncated to last 8000 characters out of 109099)

Notices

⚠️ Your configuration references items that have been removed from MegaLinter and are ignored: MARKDOWN_MARKDOWN_LINK_CHECK, REPOSITORY_KICS. See Removed linters to find their replacements.

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@10.2.0 --custom-flavor-setup --custom-flavor-linters PYTHON_PYLINT,PYTHON_BLACK,PYTHON_FLAKE8,PYTHON_ISORT,PYTHON_MYPY,PYTHON_PYRIGHT,PYTHON_RUFF,ACTION_ACTIONLINT,ACTION_ZIZMOR,BASH_EXEC,BASH_SHELLCHECK,BASH_SHFMT,DOCKERFILE_HADOLINT,EDITORCONFIG_EDITORCONFIG_CHECKER,GO_REVIVE,JSON_JSONLINT,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_BETTERLEAKS,REPOSITORY_GRYPE,REPOSITORY_OSV_SCANNER,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_CSPELL,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is provided by OX Security
Show us your support by starring ⭐ the repository

- GRUB for the coreboot platform needs freetype, unifont and gawk
- openssl is needed by signing scripts

AI-Generated: true
AI-Model: claude-opus-5-5
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
@AtomicFS
AtomicFS disabled auto-merge December 1, 2026 14:01
@AtomicFS
AtomicFS merged commit 38d8848 into main Dec 1, 2026
67 of 105 checks passed
@AtomicFS
AtomicFS deleted the grub2 branch December 1, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants