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

kirkstone-backport: classes: genimage: generalize image symlink creation #160

Open
wants to merge 1 commit into
base: kirkstone
Choose a base branch
from

Conversation

a3f
Copy link
Member

@a3f a3f commented Oct 22, 2024

A genimage config may generate multiple images, either because multiple image { } clauses are specified or because an exec-post generated further images (e.g. image { exec-post = "gzip -k $IMAGEOUTFILE" })

We already deploy these extra images, but currently symlinks are only created for the plain image and for the bmap file. Make this more generic, so fixed symlinks are created at least for all images using @image@ as part of their filename.

Signed-off-by: Ahmad Fatoum a.fatoum@pengutronix.de
[ahmad: backport from 518d3c6]


I need this, because the BSP I work on has a sparse image with a name that keeps changing and I want a fixed symlink to point at it.

A genimage config may generate multiple images, either because multiple
image { } clauses are specified or because an exec-post generated
further images (e.g. image { exec-post = "gzip -k $IMAGEOUTFILE" })

We already deploy these extra images, but currently symlinks are only
created for the plain image and for the bmap file. Make this more
generic, so fixed symlinks are created at least for all images
using @image@ as part of their filename.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
[ahmad: backport from 518d3c6]
@a3f a3f changed the title classes: genimage: generalize image symlink creation kirkstone-backport: classes: genimage: generalize image symlink creation Oct 22, 2024
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.

1 participant