ubi_reader
ubi_reader copied to clipboard
Wrong vol_flags into ini file for ubinize
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
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.
oh good thanks for feedback :)