Skip to content

Makefile:2296 — raw backticks in the bootproof-hw guard execute 'make bootproof-sign' #740

Description

@Nicola-Ceornea

In Makefile:2296:

@test -f $(BOOTPROOF_DIR)/unpacked/manifest.bin || { echo "run `make bootproof-sign` first"; exit 1; }

The backticks are raw inside a double-quoted string, so the shell treats them as command substitution. The guard that is supposed to print advice instead runs a full build and signing pass — which prompts for a key passphrase — and then echoes its output as the error message.

Verified with sed -n 2296p Makefile | cat -A: the backticks are literal, unescaped.

Fix: 'make bootproof-sign' in single quotes, or escape them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions