projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75b1793
)
lib/sysroot: Fix error message about creating `/var/lib`
author
Jonathan Lebon
<jonathan@jlebon.com>
Tue, 3 Aug 2021 20:34:11 +0000
(16:34 -0400)
committer
Jonathan Lebon
<jonathan@jlebon.com>
Tue, 3 Aug 2021 20:49:49 +0000
(16:49 -0400)
Reported-by: Seth Arnold <seth.arnold@canonical.com>
src/libostree/ostree-sysroot.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-sysroot.c
b/src/libostree/ostree-sysroot.c
index 2fcd432381da2f80c2019377ba42aae3b548683a..be5306b7716844ab12086c888b103eed185434be 100644
(file)
--- a/
src/libostree/ostree-sysroot.c
+++ b/
src/libostree/ostree-sysroot.c
@@
-1790,7
+1790,7
@@
ostree_sysroot_init_osname (OstreeSysroot *self,
return glnx_throw_errno_prefix (error, "fchmod %s", "var/tmp");
if (mkdirat (dfd, "var/lib", 0777) < 0)
- return glnx_throw_errno_prefix (error, "Creating %s", "var/
tmp
");
+ return glnx_throw_errno_prefix (error, "Creating %s", "var/
lib
");
/* This needs to be available and properly labeled early during the boot
* process (before tmpfiles.d kicks in), so that journald can flush logs from