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

Small improvements to filesystem-deploy action #526

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

obbardc
Copy link
Member

@obbardc obbardc commented Dec 17, 2024

Just some tiny improvements.

The paths used aren't consistent in the log, e.g.:

    2024/12/17 15:56:10 ==== Deploy onto image ====
    2024/12/17 15:56:21 Setting up fstab
    2024/12/17 15:56:21 Setting up /etc/kernel/cmdline

For all log and error messages, use the full path to fstab and cmdline.

Signed-off-by: Christopher Obbard <[email protected]>
Make use of defer when closing file handles.

Signed-off-by: Christopher Obbard <[email protected]>
We should be consistent and return an error to bubble up rather
than logging the error.

Signed-off-by: Christopher Obbard <[email protected]>
@obbardc obbardc requested a review from sjoerdsimons December 17, 2024 16:09
@sjoerdsimons sjoerdsimons added this pull request to the merge queue Dec 18, 2024
Merged via the queue into main with commit 4791e1f Dec 18, 2024
93 checks passed
@sjoerdsimons sjoerdsimons deleted the wip/obbardc/deploy-bits branch December 18, 2024 20:22
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