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

feat: Generate image info #360

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

feat: Generate image info #360

wants to merge 2 commits into from

Conversation

EyeCantCU
Copy link
Member

@EyeCantCU EyeCantCU commented Sep 23, 2023

Provides a useful reference for the state of the current installed image that can be utilized via ublue update for auto-signing or in scripts to determine what changes to make and exclude

Also ships jq for parsing generated image information

For example...

jq '."image-flavor"' /usr/share/ublue-os/image-info.json

... would print the flavor of the image (I.E. nvidia)

@EyeCantCU EyeCantCU requested a review from castrojo as a code owner September 23, 2023 00:00
@EyeCantCU EyeCantCU force-pushed the image-info branch 2 times, most recently from 0a9305a to a37be04 Compare September 23, 2023 02:34
@castrojo castrojo enabled auto-merge September 23, 2023 02:40
EyeCantCU and others added 2 commits September 27, 2023 20:57
Provides a useful reference for the state of the current installed image
that can be utilized via ublue update for auto-signing or in scripts to
determine what changes to make and exclude

Also ships jq for parsing generated image information

For example...

`jq '."image-flavor"' /usr/share/ublue-os/image-info.json`

... would print the flavor of the image (I.E. nvidia)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants