projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7d7546
)
deploy: Fix enum type mismatch in copy flags
author
bbhtt
<bbhtt.zn0i8@slmail.me>
Sat, 16 May 2026 07:01:33 +0000
(12:31 +0530)
committer
Colin Walters
<walters@verbum.org>
Fri, 31 Jul 2026 11:23:11 +0000
(07:23 -0400)
Fixes: https://github.com/ostreedev/ostree/issues/3591
src/libostree/ostree-sysroot-deploy.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-sysroot-deploy.c
b/src/libostree/ostree-sysroot-deploy.c
index 77b601ff42275da3750c7a7f46b785fc5c1630d4..94de4239e851e1a6af7afcdabb50421c86b5545e 100644
(file)
--- a/
src/libostree/ostree-sysroot-deploy.c
+++ b/
src/libostree/ostree-sysroot-deploy.c
@@
-399,8
+399,9
@@
again:
if (!glnx_opendirat (new_etc_fd, path, TRUE, &target_dfd, error))
return FALSE;
- if (!dirfd_copy_attributes_and_xattrs (modified_etc_fd, path, src_dfd, target_dfd, flags,
- cancellable, error))
+ if (!dirfd_copy_attributes_and_xattrs (modified_etc_fd, path, src_dfd, target_dfd,
+ sysroot_flags_to_copy_flags (0, flags), cancellable,
+ error))
return FALSE;
if (out_dfd)