mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-11 20:58:45 +03:00
Merge pull request #3149 from alexlarsson/new-composefs-format
composefs: Bump composefs max version to 1
This commit is contained in:
commit
0b0485c7cc
@ -1 +1 @@
|
||||
Subproject commit cca8be49843385ce556fccf51f75821f70fb7769
|
||||
Subproject commit 2d5cdcb9176cfe4ccf1761ef6d78e1c48de35649
|
@ -284,6 +284,8 @@ AS_IF([test x$have_gpgme = xyes],
|
||||
AM_CONDITIONAL(USE_GPGME, test "x$have_gpgme" = xyes)
|
||||
|
||||
dnl composefs won't work at all without this
|
||||
AC_CHECK_HEADERS([endian.h sys/endian.h machine/endian.h])
|
||||
AC_CHECK_FUNCS([reallocarray])
|
||||
AC_MSG_CHECKING([for MOUNT_ATTR_IDMAP])
|
||||
AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM([
|
||||
|
@ -235,6 +235,9 @@ ostree_composefs_target_write (OstreeComposefsTarget *target, int fd, guchar **o
|
||||
options.file_write_cb = _composefs_write_cb;
|
||||
}
|
||||
|
||||
options.version = 0;
|
||||
options.max_version = 1; /* Support new whiteout xattr if required */
|
||||
|
||||
if (lcfs_write_to (root, &options) != 0)
|
||||
return glnx_throw_errno_prefix (error, "lcfs_write_to");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user