Skip to content

adds support for device files #18

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

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

taukakao
Copy link
Contributor

@taukakao taukakao commented Apr 28, 2024

Fixes #17

This is a draft because it depends on #14

This uses build flags because not every user of EtcBuilder might require support for device files.
For the reason why I used //go:build flag instead of // +build flag see https://tip.golang.org/doc/go1.18#go-build-lines

It is also built in a way that allows for Library users to provide their own file handlers.

@taukakao taukakao marked this pull request as ready for review April 29, 2024 13:01
@taukakao taukakao requested a review from axtloss April 29, 2024 13:01
@axtloss axtloss merged commit de5ddc4 into linux-immutability-tools:main Apr 29, 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.

[Bug] EtcBuilder fails if user directory contains device files
2 participants