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

Wrong vol_flags into ini file for ubinize #90

Open
stich86 opened this issue Jan 18, 2024 · 2 comments
Open

Wrong vol_flags into ini file for ubinize #90

stich86 opened this issue Jan 18, 2024 · 2 comments
Assignees
Labels

Comments

@stich86
Copy link

stich86 commented Jan 18, 2024

Hi,

each time you create scripts for image using ubireader_utils_info, the *.ini file contains the value vol_flags = 0 that seems to not be supported by ubinize.

Is it normal behaviour? Only way to make UBI image back is to remove that flags or use vol_flags = autoresize, that is not supported by the original image

Thanks in advance

@qkaiser qkaiser self-assigned this Feb 6, 2024
@qkaiser
Copy link
Contributor

qkaiser commented Feb 9, 2024

Sorry for the late answer. It depends on the UBI volume flags, see https://github.com/onekey-sec/ubi_reader/blob/main/ubireader/scripts/ubireader_utils_info.py#L95

My take is that it should either set vol_flags to autoresize or not set it at all. I'll come up with a fix soon.

@stich86
Copy link
Author

stich86 commented Feb 9, 2024

oh good
thanks for feedback :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants