Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] PostBuild.sh script's "NO TMPFS" option can make script go out to lunch #54

Open
ferricoxide opened this issue Jan 21, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ferricoxide
Copy link
Member

Describe the bug

Depending on flag-ordering, specifying the --no-tmpfs toggle-flag can make the PostBuild.sh script hang during command-line argument-processing

Severity

Nuisance: this flag is rarely used.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Specification of flag results in AMI being built without the tmp.mount option being activated.

Deviance Description

Script hangs during option-parsing.

Fix Suggestions

Fix option-handling in:

       --no-tmpfs)
             NOTMPFS="true"
             ;;

Section (lines 501-503). Presumably add a shift statement before the switch-option stanza-close.

@ferricoxide ferricoxide added the bug Something isn't working label Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant