mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-23 21:35:26 +03:00
sysroot: Add error prefixing to deployment parsing
I think this is where the bare `readlinkat` came from in https://github.com/ostreedev/ostree/issues/1459 `Error setting up sysroot: readlinkat: No such file or directory` Closes: #1757 Approved by: jlebon
This commit is contained in:
parent
5183c8f35e
commit
1db0db3d7a
@ -612,6 +612,10 @@ parse_deployment (OstreeSysroot *self,
|
||||
error))
|
||||
return FALSE;
|
||||
|
||||
g_autofree char *errprefix =
|
||||
g_strdup_printf ("Parsing deployment %i in stateroot '%s'", treebootserial, osname);
|
||||
GLNX_AUTO_PREFIX_ERROR(errprefix, error);
|
||||
|
||||
const char *relative_boot_link = boot_link;
|
||||
if (*relative_boot_link == '/')
|
||||
relative_boot_link++;
|
||||
|
Loading…
Reference in New Issue
Block a user