Problem
make install-aws fails with:
./scripts/install_aws.sh
make: ./scripts/install_aws.sh: No such file or directory
make: *** [Makefile.d/user.mk:160: install-aws] Error 127
Root Cause
The target in Makefile.d/user.mk:160 calls ./scripts/install_aws.sh, but this script does not exist. The catalog entry catalog/aws.json defines install_method: "aws_installer", and the corresponding backend installer scripts/installers/aws_installer.sh exists and is functional.
The generic scripts/install_tool.sh already supports this tool:
$ ./scripts/install_tool.sh aws install
Fix
Option A (recommended): Change the Makefile target to use the generic installer:
install-aws: scripts-perms ## Install AWS CLI
./scripts/install_tool.sh aws install
Option B: Create a thin scripts/install_aws.sh wrapper:
#!/usr/bin/env bash
set -euo pipefail
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ACTION="${1:-install}"
exec "$DIR/install_tool.sh" aws "$ACTION"
Option A is preferred as it reduces script proliferation and leverages the existing catalog system consistently.
Also affected
The dynamic targets make upgrade-aws and make uninstall-aws also call ./scripts/install_aws.sh update / uninstall and would fail for the same reason. If Option A is chosen, these pattern targets (upgrade-%, uninstall-%) in user.mk lines 91/184 should also be updated to use install_tool.sh.
Files to modify
Makefile.d/user.mk — update install-aws: target (and optionally the upgrade-%/uninstall-% patterns)
Problem
make install-awsfails with:Root Cause
The target in
Makefile.d/user.mk:160calls./scripts/install_aws.sh, but this script does not exist. The catalog entrycatalog/aws.jsondefinesinstall_method: "aws_installer", and the corresponding backend installerscripts/installers/aws_installer.shexists and is functional.The generic
scripts/install_tool.shalready supports this tool:Fix
Option A (recommended): Change the Makefile target to use the generic installer:
Option B: Create a thin
scripts/install_aws.shwrapper:Option A is preferred as it reduces script proliferation and leverages the existing catalog system consistently.
Also affected
The dynamic targets
make upgrade-awsandmake uninstall-awsalso call./scripts/install_aws.sh update/uninstalland would fail for the same reason. If Option A is chosen, these pattern targets (upgrade-%,uninstall-%) inuser.mklines 91/184 should also be updated to useinstall_tool.sh.Files to modify
Makefile.d/user.mk— updateinstall-aws:target (and optionally theupgrade-%/uninstall-%patterns)