-
Notifications
You must be signed in to change notification settings - Fork 190
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
Failed to resolve realpath for 'ubi0:root1' #903
Comments
The call of It is called on the path of the device configured for the slot (in system.conf) to compare it against the bootname. Potentially, one alternative could be to resolve this when loading the config already (or initializing the context) but this would mean you see only the resolved device paths in |
We could add a cache for the path resolution and only print the warning once. Then |
When executing
rauc status
, the following debug message is printed alongside the status on a system using UBIFS:Looking at the source code in
src/context.c
forget_cmdline_bootname()
it looks like this does not affect the normal operation of RAUC. But stdlib'srealpath()
does not seem to support UBI volume paths with this format:ubidevice:volumename
Which produces the above message.As
r_realpath()
fails butget_cmdline_bootname()
still returns a "correct" device path for the current boot slot, I wonder if there needs to be an additional detection for UBI volumes of said format in that function?The text was updated successfully, but these errors were encountered: