Skip to content

Feature request: dry-run variables output #65

@devopsbob

Description

@devopsbob

As an infrastructure hardware engineer
I want an option to the rpi-image-gen/build.sh for a '--dryrun' output of the final resolved variable values
so that fully resolved values in a summary format may be viewed and verified prior to actual build.

Notes:

  • reduce bandwidth usages by ability to understand resolved values prior to build
  • identify packages included or duplicated by various options/layers configurations
  • support for -r rootsys creations or -i image creations variables values output independantly

Original discussion:
Request an option to the rpi-image-gen/build.sh for a '--dryrun' option to output the final resolved variable values input to the processing so I can see the fully resolved values in a summary format without doing the actual processing. This will save excess bandwidth downloading from the repos and give insight to where that single profile has resolved across multiple layers what values will be effectively used. Even a '--dryrun-detect-dups' would be 'cool' or 'neat' so that I can tell where the input resolver is overriding defaults or where I may have overspecified the same setting above the driving uber-script. This option would complement the '-r' option of only creating the rootsys. (thinking out loud) Maybe even '-rd' for rootsys dry run output and '-id' for image dry run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions