aws / aws-nitro-enclaves-cli

Tooling for Nitro Enclave Management
Apache License 2.0
122 stars 81 forks source link

SPECS/aws-nitro-enclaves-cli.spec: Do not mangle shebangs #554

Closed clupuishere closed 10 months ago

clupuishere commented 10 months ago

The package builder used for Amazon Linux 2023 mangles shebangs in the packaged scripts, but the new paths may not exist. For example, in the case of hello.sh, the shebang is rewritten from #!/bin/sh to #!/usr/bin/sh, but the latter path does not exist. This has the effect of preventing the "Hello Enclave" enclave from being instantiated. Therefore we disable shebang mangling for the entire package.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.