From: bbhtt Date: Sat, 16 May 2026 07:01:33 +0000 (+0530) Subject: deploy: Fix enum type mismatch in copy flags X-Git-Tag: archive/raspbian/2026.4-1+rpi1^2~9^2~1^2~12^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7018202062e385bfb09e8d13de9c45ff98d4c51e;p=ostree.git deploy: Fix enum type mismatch in copy flags Fixes: https://github.com/ostreedev/ostree/issues/3591 --- diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c index 77b601ff..94de4239 100644 --- 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)