Skip to content

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

@ferricoxide

Description

@ferricoxide

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions