diff --git a/Makefile-boot.am b/Makefile-boot.am index b51928f0..9a04bbdb 100644 --- a/Makefile-boot.am +++ b/Makefile-boot.am @@ -65,7 +65,7 @@ endif EXTRA_DIST += src/boot/dracut/module-setup.sh \ src/boot/dracut/ostree.conf \ - src/boot/mkinitcpio/ostree \ + src/boot/mkinitcpio \ src/boot/ostree-prepare-root.service \ src/boot/ostree-finalize-staged.path \ src/boot/ostree-remount.service \ diff --git a/Makefile-libostree.am b/Makefile-libostree.am index ce784aff..dd396974 100644 --- a/Makefile-libostree.am +++ b/Makefile-libostree.am @@ -66,6 +66,8 @@ libostree_1_la_SOURCES = \ src/libostree/ostree-checksum-input-stream.h \ src/libostree/ostree-chain-input-stream.c \ src/libostree/ostree-chain-input-stream.h \ + src/libostree/ostree-content-writer.c \ + src/libostree/ostree-content-writer.h \ src/libostree/ostree-lzma-common.c \ src/libostree/ostree-lzma-common.h \ src/libostree/ostree-lzma-compressor.c \ @@ -147,14 +149,6 @@ libostree_1_la_SOURCES += \ src/libostree/ostree-tls-cert-interaction.h \ $(NULL) endif -libostree_experimental_headers = \ - $(NULL) -if !ENABLE_EXPERIMENTAL_API -libostree_1_la_SOURCES += $(libostree_experimental_headers) -else # if ENABLE_EXPERIMENTAL_API -libostree_1_la_SOURCES += \ - $(NULL) -endif if USE_AVAHI libostree_1_la_SOURCES += \ @@ -281,13 +275,9 @@ OSTree-1.0.gir: libostree-1.la Makefile OSTree_1_0_gir_EXPORT_PACKAGES = ostree-1 OSTree_1_0_gir_INCLUDES = Gio-2.0 OSTree_1_0_gir_CFLAGS = $(libostree_1_la_CFLAGS) -if ENABLE_EXPERIMENTAL_API -# When compiling this is set via config.h, but g-ir-scanner can't use that -OSTree_1_0_gir_CFLAGS += -DOSTREE_ENABLE_EXPERIMENTAL_API=1 -endif OSTree_1_0_gir_LIBS = libostree-1.la OSTree_1_0_gir_SCANNERFLAGS = --warn-all --identifier-prefix=Ostree --symbol-prefix=ostree $(GI_SCANNERFLAGS) -OSTree_1_0_gir_FILES = $(libostreeinclude_HEADERS) $(filter-out %-private.h %/ostree-soup-uri.h $(libostree_experimental_headers),$(libostree_1_la_SOURCES)) +OSTree_1_0_gir_FILES = $(libostreeinclude_HEADERS) $(filter-out %-private.h %/ostree-soup-uri.h,$(libostree_1_la_SOURCES)) INTROSPECTION_GIRS += OSTree-1.0.gir gir_DATA += OSTree-1.0.gir typelib_DATA += OSTree-1.0.typelib diff --git a/Makefile-ostree.am b/Makefile-ostree.am index e5767641..fd5ec9de 100644 --- a/Makefile-ostree.am +++ b/Makefile-ostree.am @@ -60,11 +60,6 @@ nodist_ostree_SOURCES = \ src/ostree/parse-datetime.c \ $(NULL) -if ENABLE_EXPERIMENTAL_API -ostree_SOURCES += \ - $(NULL) -endif - if USE_GPGME ostree_SOURCES += \ src/ostree/ot-builtin-gpg-sign.c \ diff --git a/Makefile-tests.am b/Makefile-tests.am index 257b4a5d..c99a7ede 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -156,8 +156,6 @@ _installed_or_uninstalled_test_scripts += \ $(NULL) endif -experimental_test_scripts = \ - $(NULL) test_extra_programs = \ tests/get-byte-order \ tests/repo-finder-mount \ @@ -171,12 +169,6 @@ tests_repo_finder_mount_SOURCES = tests/repo-finder-mount.c tests_repo_finder_mount_CFLAGS = $(common_tests_cflags) tests_repo_finder_mount_LDADD = $(common_tests_ldadd) libostreetest.la -if ENABLE_EXPERIMENTAL_API -_installed_or_uninstalled_test_scripts += $(experimental_test_scripts) -else -EXTRA_DIST += $(experimental_test_scripts) -endif - if BUILDOPT_FUSE _installed_or_uninstalled_test_scripts += tests/test-rofiles-fuse.sh uninstalled_test_data += tests/rofiles-fuse-symlink-stamp @@ -439,8 +431,11 @@ if ENABLE_INSTALLED_TESTS_EXCLUSIVE dist_installed_test_scripts = $(_installed_or_uninstalled_test_scripts) installed_test_programs = $(_installed_or_uninstalled_test_programs) check-local: + echo "NOTE: Run the Rust installed tests (uninstalled) with ./tests/run-installed" echo "NOTE: Exclusive installed tests are enabled; to run them, make install, then: gnome-desktop-testing-runner -p 0 libostree/" else +check-local: + echo "NOTE: Run the Rust installed tests (uninstalled) with ./tests/run-installed" dist_test_scripts += $(_installed_or_uninstalled_test_scripts) test_programs += $(_installed_or_uninstalled_test_programs) endif diff --git a/Makefile.am b/Makefile.am index b2588ad7..2f3cb53f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,6 +46,9 @@ GITIGNOREFILES = aclocal.m4 build-aux/ buildutil/*.m4 config.h.in gtk-doc.make # Generated by coreos-assembler build-fast and kola GITIGNOREFILES += fastbuild-*.qcow2 _kola_temp/ +# Rust stuff +GITIGNOREFILES += target/ Cargo.lock + SUBDIRS += . if ENABLE_GTK_DOC diff --git a/Makefile.in b/Makefile.in index 8673c858..fa2cc2c2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -386,7 +386,7 @@ libexec_PROGRAMS = pkglibexec_PROGRAMS = $(am__EXEEXT_19) noinst_PROGRAMS = $(am__EXEEXT_16) tests/test-rollsum-cli$(EXEEXT) ostree_boot_PROGRAMS = $(am__EXEEXT_17) $(am__EXEEXT_18) -TESTS = $(am__EXEEXT_8) $(am__EXEEXT_27) \ +TESTS = $(am__EXEEXT_8) $(am__EXEEXT_25) \ $(dist_uninstalled_test_scripts) $(am__EXEEXT_13) installed_test_PROGRAMS = $(am__EXEEXT_15) check_PROGRAMS = $(am__EXEEXT_12) $(am__EXEEXT_13) $(am__EXEEXT_14) @@ -431,33 +431,29 @@ check_PROGRAMS = $(am__EXEEXT_12) $(am__EXEEXT_13) $(am__EXEEXT_14) @HAVE_LIBSOUP_CLIENT_CERTS_TRUE@ src/libostree/ostree-tls-cert-interaction.h \ @HAVE_LIBSOUP_CLIENT_CERTS_TRUE@ $(NULL) -@ENABLE_EXPERIMENTAL_API_FALSE@am__append_18 = $(libostree_experimental_headers) -@ENABLE_EXPERIMENTAL_API_TRUE@am__append_19 = \ -@ENABLE_EXPERIMENTAL_API_TRUE@ $(NULL) - -@USE_AVAHI_TRUE@am__append_20 = \ +@USE_AVAHI_TRUE@am__append_18 = \ @USE_AVAHI_TRUE@ src/libostree/ostree-repo-finder-avahi-parser.c \ @USE_AVAHI_TRUE@ src/libostree/ostree-repo-finder-avahi-private.h \ @USE_AVAHI_TRUE@ $(NULL) -@USE_GPGME_TRUE@am__append_21 = \ +@USE_GPGME_TRUE@am__append_19 = \ @USE_GPGME_TRUE@ src/libostree/ostree-gpg-verifier.c \ @USE_GPGME_TRUE@ src/libostree/ostree-gpg-verifier.h \ @USE_GPGME_TRUE@ src/libostree/ostree-gpg-verify-result.c \ @USE_GPGME_TRUE@ src/libostree/ostree-gpg-verify-result-private.h \ @USE_GPGME_TRUE@ $(NULL) -@USE_GPGME_FALSE@am__append_22 = \ +@USE_GPGME_FALSE@am__append_20 = \ @USE_GPGME_FALSE@ src/libostree/ostree-gpg-verify-result-dummy.c \ @USE_GPGME_FALSE@ $(NULL) -@USE_LIBARCHIVE_TRUE@am__append_23 = $(OT_DEP_LIBARCHIVE_CFLAGS) -@USE_LIBARCHIVE_TRUE@am__append_24 = $(OT_DEP_LIBARCHIVE_LIBS) -@USE_AVAHI_TRUE@am__append_25 = $(OT_DEP_AVAHI_CFLAGS) -@USE_AVAHI_TRUE@am__append_26 = $(OT_DEP_AVAHI_LIBS) -@BUILDOPT_SYSTEMD_TRUE@am__append_27 = $(LIBSYSTEMD_CFLAGS) -@BUILDOPT_SYSTEMD_TRUE@am__append_28 = $(LIBSYSTEMD_LIBS) -@USE_CURL_OR_SOUP_TRUE@am__append_29 = \ +@USE_LIBARCHIVE_TRUE@am__append_21 = $(OT_DEP_LIBARCHIVE_CFLAGS) +@USE_LIBARCHIVE_TRUE@am__append_22 = $(OT_DEP_LIBARCHIVE_LIBS) +@USE_AVAHI_TRUE@am__append_23 = $(OT_DEP_AVAHI_CFLAGS) +@USE_AVAHI_TRUE@am__append_24 = $(OT_DEP_AVAHI_LIBS) +@BUILDOPT_SYSTEMD_TRUE@am__append_25 = $(LIBSYSTEMD_CFLAGS) +@BUILDOPT_SYSTEMD_TRUE@am__append_26 = $(LIBSYSTEMD_LIBS) +@USE_CURL_OR_SOUP_TRUE@am__append_27 = \ @USE_CURL_OR_SOUP_TRUE@ src/libostree/ostree-fetcher.h \ @USE_CURL_OR_SOUP_TRUE@ src/libostree/ostree-fetcher-util.h \ @USE_CURL_OR_SOUP_TRUE@ src/libostree/ostree-fetcher-util.c \ @@ -466,45 +462,40 @@ check_PROGRAMS = $(am__EXEEXT_12) $(am__EXEEXT_13) $(am__EXEEXT_14) @USE_CURL_OR_SOUP_TRUE@ src/libostree/ostree-metalink.c \ @USE_CURL_OR_SOUP_TRUE@ $(NULL) -@USE_CURL_TRUE@am__append_30 = src/libostree/ostree-fetcher-curl.c \ +@USE_CURL_TRUE@am__append_28 = src/libostree/ostree-fetcher-curl.c \ @USE_CURL_TRUE@ src/libostree/ostree-soup-uri.h src/libostree/ostree-soup-uri.c \ @USE_CURL_TRUE@ src/libostree/ostree-soup-form.c \ @USE_CURL_TRUE@ $(NULL) -@USE_CURL_TRUE@am__append_31 = $(OT_DEP_CURL_CFLAGS) -@USE_CURL_TRUE@am__append_32 = $(OT_DEP_CURL_LIBS) -@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__append_33 = src/libostree/ostree-fetcher-soup.c -@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__append_34 = $(OT_INTERNAL_SOUP_CFLAGS) -@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__append_35 = $(OT_INTERNAL_SOUP_LIBS) -@USE_AVAHI_TRUE@@USE_CURL_FALSE@@USE_LIBSOUP_FALSE@am__append_36 = src/libostree/ostree-soup-uri.h \ +@USE_CURL_TRUE@am__append_29 = $(OT_DEP_CURL_CFLAGS) +@USE_CURL_TRUE@am__append_30 = $(OT_DEP_CURL_LIBS) +@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__append_31 = src/libostree/ostree-fetcher-soup.c +@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__append_32 = $(OT_INTERNAL_SOUP_CFLAGS) +@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__append_33 = $(OT_INTERNAL_SOUP_LIBS) +@USE_AVAHI_TRUE@@USE_CURL_FALSE@@USE_LIBSOUP_FALSE@am__append_34 = src/libostree/ostree-soup-uri.h \ @USE_AVAHI_TRUE@@USE_CURL_FALSE@@USE_LIBSOUP_FALSE@ src/libostree/ostree-soup-uri.c \ @USE_AVAHI_TRUE@@USE_CURL_FALSE@@USE_LIBSOUP_FALSE@ src/libostree/ostree-soup-form.c \ @USE_AVAHI_TRUE@@USE_CURL_FALSE@@USE_LIBSOUP_FALSE@ $(NULL) -@USE_LIBMOUNT_TRUE@am__append_37 = $(OT_DEP_LIBMOUNT_CFLAGS) -@USE_LIBMOUNT_TRUE@am__append_38 = $(OT_DEP_LIBMOUNT_LIBS) -@USE_SELINUX_TRUE@am__append_39 = $(OT_DEP_SELINUX_CFLAGS) -@USE_SELINUX_TRUE@am__append_40 = $(OT_DEP_SELINUX_LIBS) -@USE_LIBSODIUM_TRUE@am__append_41 = $(OT_DEP_LIBSODIUM_CFLAGS) -@USE_LIBSODIUM_TRUE@am__append_42 = $(OT_DEP_LIBSODIUM_LIBS) -# When compiling this is set via config.h, but g-ir-scanner can't use that -@BUILDOPT_INTROSPECTION_TRUE@@ENABLE_EXPERIMENTAL_API_TRUE@am__append_43 = -DOSTREE_ENABLE_EXPERIMENTAL_API=1 -@BUILDOPT_INTROSPECTION_TRUE@am__append_44 = OSTree-1.0.gir -@BUILDOPT_INTROSPECTION_TRUE@am__append_45 = OSTree-1.0.gir -@BUILDOPT_INTROSPECTION_TRUE@am__append_46 = OSTree-1.0.typelib -@BUILDOPT_INTROSPECTION_TRUE@am__append_47 = $(gir_DATA) $(typelib_DATA) -@ENABLE_EXPERIMENTAL_API_TRUE@am__append_48 = \ -@ENABLE_EXPERIMENTAL_API_TRUE@ $(NULL) - -@USE_GPGME_TRUE@am__append_49 = \ +@USE_LIBMOUNT_TRUE@am__append_35 = $(OT_DEP_LIBMOUNT_CFLAGS) +@USE_LIBMOUNT_TRUE@am__append_36 = $(OT_DEP_LIBMOUNT_LIBS) +@USE_SELINUX_TRUE@am__append_37 = $(OT_DEP_SELINUX_CFLAGS) +@USE_SELINUX_TRUE@am__append_38 = $(OT_DEP_SELINUX_LIBS) +@USE_LIBSODIUM_TRUE@am__append_39 = $(OT_DEP_LIBSODIUM_CFLAGS) +@USE_LIBSODIUM_TRUE@am__append_40 = $(OT_DEP_LIBSODIUM_LIBS) +@BUILDOPT_INTROSPECTION_TRUE@am__append_41 = OSTree-1.0.gir +@BUILDOPT_INTROSPECTION_TRUE@am__append_42 = OSTree-1.0.gir +@BUILDOPT_INTROSPECTION_TRUE@am__append_43 = OSTree-1.0.typelib +@BUILDOPT_INTROSPECTION_TRUE@am__append_44 = $(gir_DATA) $(typelib_DATA) +@USE_GPGME_TRUE@am__append_45 = \ @USE_GPGME_TRUE@ src/ostree/ot-builtin-gpg-sign.c \ @USE_GPGME_TRUE@ $(NULL) -@USE_GPGME_TRUE@am__append_50 = \ +@USE_GPGME_TRUE@am__append_46 = \ @USE_GPGME_TRUE@ src/ostree/ot-remote-builtin-gpg-import.c \ @USE_GPGME_TRUE@ $(NULL) -@USE_CURL_OR_SOUP_TRUE@am__append_51 = src/ostree/ot-remote-builtin-add-cookie.c \ +@USE_CURL_OR_SOUP_TRUE@am__append_47 = src/ostree/ot-remote-builtin-add-cookie.c \ @USE_CURL_OR_SOUP_TRUE@ src/ostree/ot-remote-builtin-delete-cookie.c \ @USE_CURL_OR_SOUP_TRUE@ src/ostree/ot-remote-builtin-list-cookies.c \ @USE_CURL_OR_SOUP_TRUE@ src/ostree/ot-remote-cookie-util.h \ @@ -512,20 +503,20 @@ check_PROGRAMS = $(am__EXEEXT_12) $(am__EXEEXT_13) $(am__EXEEXT_14) @USE_CURL_OR_SOUP_TRUE@ $(NULL) src/ostree/ot-builtin-pull.c # Eventually once we stop things from using this, we should support disabling this -@USE_LIBSOUP_TRUE@am__append_52 = src/ostree/ot-builtin-trivial-httpd.c -@USE_LIBSOUP_TRUE@am__append_53 = ostree-trivial-httpd +@USE_LIBSOUP_TRUE@am__append_48 = src/ostree/ot-builtin-trivial-httpd.c +@USE_LIBSOUP_TRUE@am__append_49 = ostree-trivial-httpd # This is necessary for the cookie jar bits -@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__append_54 = $(OT_INTERNAL_SOUP_CFLAGS) -@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__append_55 = $(OT_INTERNAL_SOUP_LIBS) -@USE_LIBARCHIVE_TRUE@am__append_56 = $(OT_DEP_LIBARCHIVE_CFLAGS) -@USE_LIBARCHIVE_TRUE@am__append_57 = $(OT_DEP_LIBARCHIVE_LIBS) -@USE_LIBSODIUM_TRUE@am__append_58 = $(OT_DEP_LIBSODIUM_CFLAGS) -@USE_LIBSODIUM_TRUE@am__append_59 = $(OT_DEP_LIBSODIUM_LIBS) -@BUILDOPT_SYSTEMD_TRUE@am__append_60 = ostree-remount +@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__append_50 = $(OT_INTERNAL_SOUP_CFLAGS) +@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__append_51 = $(OT_INTERNAL_SOUP_LIBS) +@USE_LIBARCHIVE_TRUE@am__append_52 = $(OT_DEP_LIBARCHIVE_CFLAGS) +@USE_LIBARCHIVE_TRUE@am__append_53 = $(OT_DEP_LIBARCHIVE_LIBS) +@USE_LIBSODIUM_TRUE@am__append_54 = $(OT_DEP_LIBSODIUM_CFLAGS) +@USE_LIBSODIUM_TRUE@am__append_55 = $(OT_DEP_LIBSODIUM_LIBS) +@BUILDOPT_SYSTEMD_TRUE@am__append_56 = ostree-remount # It is built anyway as a side-effect of having the symlink in tests/, # and if we declare it here, it gets cleaned up properly -@BUILDOPT_SYSTEMD_FALSE@am__append_61 = ostree-remount +@BUILDOPT_SYSTEMD_FALSE@am__append_57 = ostree-remount # ostree-prepare-root can be used as init in a system without a populated /lib. # To support this use case we need to link statically as we will be unable to @@ -537,66 +528,64 @@ check_PROGRAMS = $(am__EXEEXT_12) $(am__EXEEXT_13) $(am__EXEEXT_14) # to get autotools to install this as an executable but without generating rules # to make it itself which we have specified manually. See # https://lists.gnu.org/archive/html/help-gnu-utils/2007-01/msg00007.html -@BUILDOPT_USE_STATIC_COMPILER_TRUE@am__append_62 = ostree-prepare-root -@BUILDOPT_USE_STATIC_COMPILER_FALSE@am__append_63 = ostree-prepare-root -@BUILDOPT_SYSTEMD_TRUE@am__append_64 = -DHAVE_SYSTEMD=1 +@BUILDOPT_USE_STATIC_COMPILER_TRUE@am__append_58 = ostree-prepare-root +@BUILDOPT_USE_STATIC_COMPILER_FALSE@am__append_59 = ostree-prepare-root +@BUILDOPT_SYSTEMD_TRUE@am__append_60 = -DHAVE_SYSTEMD=1 # This is the "new mode" of using a generator for /var; see # https://github.com/ostreedev/ostree/issues/855 -@BUILDOPT_SYSTEMD_AND_LIBMOUNT_TRUE@am__append_65 = -DHAVE_SYSTEMD_AND_LIBMOUNT=1 -@BUILDOPT_SYSTEMD_AND_LIBMOUNT_TRUE@am__append_66 = -DHAVE_SYSTEMD_AND_LIBMOUNT=1 +@BUILDOPT_SYSTEMD_AND_LIBMOUNT_TRUE@am__append_61 = -DHAVE_SYSTEMD_AND_LIBMOUNT=1 +@BUILDOPT_SYSTEMD_AND_LIBMOUNT_TRUE@am__append_62 = -DHAVE_SYSTEMD_AND_LIBMOUNT=1 @BUILDOPT_SYSTEMD_AND_LIBMOUNT_TRUE@systemdsystemgenerator_PROGRAMS = ostree-system-generator$(EXEEXT) -@BUILDOPT_SYSTEMD_AND_LIBMOUNT_TRUE@am__append_67 = $(systemdsystemgenerator_PROGRAMS) +@BUILDOPT_SYSTEMD_AND_LIBMOUNT_TRUE@am__append_63 = $(systemdsystemgenerator_PROGRAMS) # Allow the distcheck install under $prefix test to pass -@BUILDOPT_SYSTEMD_AND_LIBMOUNT_TRUE@am__append_68 = --with-systemdsystemgeneratordir='$${libdir}/systemd/system-generators' -@BUILDOPT_FUSE_TRUE@am__append_69 = rofiles-fuse -@BUILDOPT_ASAN_TRUE@am__append_70 = OT_SKIP_READDIR_RAND=1 G_SLICE=always-malloc -@USE_GPGME_TRUE@am__append_71 = \ +@BUILDOPT_SYSTEMD_AND_LIBMOUNT_TRUE@am__append_64 = --with-systemdsystemgeneratordir='$${libdir}/systemd/system-generators' +@BUILDOPT_FUSE_TRUE@am__append_65 = rofiles-fuse +@BUILDOPT_ASAN_TRUE@am__append_66 = OT_SKIP_READDIR_RAND=1 G_SLICE=always-malloc +@USE_GPGME_TRUE@am__append_67 = \ @USE_GPGME_TRUE@ tests/test-remote-gpg-import.sh \ @USE_GPGME_TRUE@ tests/test-gpg-signed-commit.sh \ @USE_GPGME_TRUE@ tests/test-admin-gpg.sh \ @USE_GPGME_TRUE@ $(NULL) -@ENABLE_EXPERIMENTAL_API_TRUE@am__append_72 = $(experimental_test_scripts) -@ENABLE_EXPERIMENTAL_API_FALSE@am__append_73 = $(experimental_test_scripts) -@BUILDOPT_FUSE_TRUE@am__append_74 = tests/test-rofiles-fuse.sh -@BUILDOPT_FUSE_TRUE@am__append_75 = tests/rofiles-fuse-symlink-stamp -@BUILDOPT_FUSE_FALSE@am__append_76 = tests/test-rofiles-fuse.sh -@USE_LIBSOUP_TRUE@am__append_77 = tests/test-remote-cookies.sh -@BUILDOPT_GJS_TRUE@am__append_78 = $(js_tests) $(js_installed_tests) -@BUILDOPT_GJS_FALSE@am__append_79 = $(js_tests) -@BUILDOPT_GJS_FALSE@am__append_80 = $(js_installed_tests) -@ENABLE_INSTALLED_TESTS_FALSE@am__append_81 = -rpath $(abs_builddir) -@USE_GPGME_TRUE@am__append_82 = \ +@BUILDOPT_FUSE_TRUE@am__append_68 = tests/test-rofiles-fuse.sh +@BUILDOPT_FUSE_TRUE@am__append_69 = tests/rofiles-fuse-symlink-stamp +@BUILDOPT_FUSE_FALSE@am__append_70 = tests/test-rofiles-fuse.sh +@USE_LIBSOUP_TRUE@am__append_71 = tests/test-remote-cookies.sh +@BUILDOPT_GJS_TRUE@am__append_72 = $(js_tests) $(js_installed_tests) +@BUILDOPT_GJS_FALSE@am__append_73 = $(js_tests) +@BUILDOPT_GJS_FALSE@am__append_74 = $(js_installed_tests) +@ENABLE_INSTALLED_TESTS_FALSE@am__append_75 = -rpath $(abs_builddir) +@USE_GPGME_TRUE@am__append_76 = \ @USE_GPGME_TRUE@ tests/test-gpg-verify-result \ @USE_GPGME_TRUE@ $(NULL) -@USE_AVAHI_TRUE@am__append_83 = tests/test-repo-finder-avahi -@USE_LIBARCHIVE_TRUE@am__append_84 = tests/test-libarchive-import -@USE_GPGME_TRUE@am__append_85 = \ +@USE_AVAHI_TRUE@am__append_77 = tests/test-repo-finder-avahi +@USE_LIBARCHIVE_TRUE@am__append_78 = tests/test-libarchive-import +@USE_GPGME_TRUE@am__append_79 = \ @USE_GPGME_TRUE@ tests/gpg-verify-data/README.md \ @USE_GPGME_TRUE@ $(NULL) -@ENABLE_INSTALLED_TESTS_EXCLUSIVE_FALSE@am__append_86 = $(_installed_or_uninstalled_test_scripts) -@ENABLE_INSTALLED_TESTS_EXCLUSIVE_FALSE@am__append_87 = $(_installed_or_uninstalled_test_programs) -@ENABLE_INSTALLED_TESTS_TRUE@am__append_88 = install-installed-tests-extra +@ENABLE_INSTALLED_TESTS_EXCLUSIVE_FALSE@am__append_80 = $(_installed_or_uninstalled_test_scripts) +@ENABLE_INSTALLED_TESTS_EXCLUSIVE_FALSE@am__append_81 = $(_installed_or_uninstalled_test_programs) +@ENABLE_INSTALLED_TESTS_TRUE@am__append_82 = install-installed-tests-extra # Allow the distcheck install under $prefix test to pass -@BUILDOPT_SYSTEMD_TRUE@am__append_89 = --with-systemdsystemunitdir='$${libdir}/systemd/system' +@BUILDOPT_SYSTEMD_TRUE@am__append_83 = --with-systemdsystemunitdir='$${libdir}/systemd/system' # We're using the system grub2-mkconfig generator -@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@am__append_90 = src/boot/grub2/grub2-15_ostree -@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@am__append_91 = install-grub2-config-hook +@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@am__append_84 = src/boot/grub2/grub2-15_ostree +@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@am__append_85 = install-grub2-config-hook # We're using our internal generator -@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_TRUE@am__append_92 = src/boot/grub2/ostree-grub-generator -@ENABLE_MAN_TRUE@@USE_LIBSOUP_TRUE@am__append_93 = ostree-trivial-httpd.1 +@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_TRUE@am__append_86 = src/boot/grub2/ostree-grub-generator +@ENABLE_MAN_TRUE@@USE_LIBSOUP_TRUE@am__append_87 = ostree-trivial-httpd.1 # We still want to distribute the source, even if we are not building it -@ENABLE_MAN_TRUE@@USE_LIBSOUP_FALSE@am__append_94 = man/ostree-trivial-httpd.xml -@BUILDOPT_FUSE_TRUE@@ENABLE_MAN_TRUE@am__append_95 = rofiles-fuse.1 -@ENABLE_MAN_TRUE@@USE_GPGME_TRUE@am__append_96 = ostree-gpg-sign.1 -@ENABLE_MAN_TRUE@am__append_97 = $(man1_MANS:.1=.xml) $(man5_MANS:.5=.xml) -@ENABLE_MAN_TRUE@am__append_98 = \ +@ENABLE_MAN_TRUE@@USE_LIBSOUP_FALSE@am__append_88 = man/ostree-trivial-httpd.xml +@BUILDOPT_FUSE_TRUE@@ENABLE_MAN_TRUE@am__append_89 = rofiles-fuse.1 +@ENABLE_MAN_TRUE@@USE_GPGME_TRUE@am__append_90 = ostree-gpg-sign.1 +@ENABLE_MAN_TRUE@am__append_91 = $(man1_MANS:.1=.xml) $(man5_MANS:.5=.xml) +@ENABLE_MAN_TRUE@am__append_92 = \ @ENABLE_MAN_TRUE@ $(man1_MANS) \ @ENABLE_MAN_TRUE@ $(man5_MANS) \ @ENABLE_MAN_TRUE@ $(NULL) @@ -786,6 +775,8 @@ am__libostree_1_la_SOURCES_DIST = \ src/libostree/ostree-checksum-input-stream.h \ src/libostree/ostree-chain-input-stream.c \ src/libostree/ostree-chain-input-stream.h \ + src/libostree/ostree-content-writer.c \ + src/libostree/ostree-content-writer.h \ src/libostree/ostree-lzma-common.c \ src/libostree/ostree-lzma-common.h \ src/libostree/ostree-lzma-compressor.c \ @@ -881,26 +872,23 @@ am__libostree_1_la_SOURCES_DIST = \ @USE_LIBARCHIVE_TRUE@ $(am__objects_1) @HAVE_LIBSOUP_CLIENT_CERTS_TRUE@am__objects_3 = src/libostree/libostree_1_la-ostree-tls-cert-interaction.lo \ @HAVE_LIBSOUP_CLIENT_CERTS_TRUE@ $(am__objects_1) -am__objects_4 = $(am__objects_1) -@ENABLE_EXPERIMENTAL_API_FALSE@am__objects_5 = $(am__objects_4) -@ENABLE_EXPERIMENTAL_API_TRUE@am__objects_6 = $(am__objects_1) -@USE_AVAHI_TRUE@am__objects_7 = src/libostree/libostree_1_la-ostree-repo-finder-avahi-parser.lo \ +@USE_AVAHI_TRUE@am__objects_4 = src/libostree/libostree_1_la-ostree-repo-finder-avahi-parser.lo \ @USE_AVAHI_TRUE@ $(am__objects_1) -@USE_GPGME_TRUE@am__objects_8 = src/libostree/libostree_1_la-ostree-gpg-verifier.lo \ +@USE_GPGME_TRUE@am__objects_5 = src/libostree/libostree_1_la-ostree-gpg-verifier.lo \ @USE_GPGME_TRUE@ src/libostree/libostree_1_la-ostree-gpg-verify-result.lo \ @USE_GPGME_TRUE@ $(am__objects_1) -@USE_GPGME_FALSE@am__objects_9 = src/libostree/libostree_1_la-ostree-gpg-verify-result-dummy.lo \ +@USE_GPGME_FALSE@am__objects_6 = src/libostree/libostree_1_la-ostree-gpg-verify-result-dummy.lo \ @USE_GPGME_FALSE@ $(am__objects_1) -@USE_CURL_OR_SOUP_TRUE@am__objects_10 = src/libostree/libostree_1_la-ostree-fetcher-util.lo \ +@USE_CURL_OR_SOUP_TRUE@am__objects_7 = src/libostree/libostree_1_la-ostree-fetcher-util.lo \ @USE_CURL_OR_SOUP_TRUE@ src/libostree/libostree_1_la-ostree-fetcher-uri.lo \ @USE_CURL_OR_SOUP_TRUE@ src/libostree/libostree_1_la-ostree-metalink.lo \ @USE_CURL_OR_SOUP_TRUE@ $(am__objects_1) -@USE_CURL_TRUE@am__objects_11 = src/libostree/libostree_1_la-ostree-fetcher-curl.lo \ +@USE_CURL_TRUE@am__objects_8 = src/libostree/libostree_1_la-ostree-fetcher-curl.lo \ @USE_CURL_TRUE@ src/libostree/libostree_1_la-ostree-soup-uri.lo \ @USE_CURL_TRUE@ src/libostree/libostree_1_la-ostree-soup-form.lo \ @USE_CURL_TRUE@ $(am__objects_1) -@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__objects_12 = src/libostree/libostree_1_la-ostree-fetcher-soup.lo -@USE_AVAHI_TRUE@@USE_CURL_FALSE@@USE_LIBSOUP_FALSE@am__objects_13 = src/libostree/libostree_1_la-ostree-soup-uri.lo \ +@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__objects_9 = src/libostree/libostree_1_la-ostree-fetcher-soup.lo +@USE_AVAHI_TRUE@@USE_CURL_FALSE@@USE_LIBSOUP_FALSE@am__objects_10 = src/libostree/libostree_1_la-ostree-soup-uri.lo \ @USE_AVAHI_TRUE@@USE_CURL_FALSE@@USE_LIBSOUP_FALSE@ src/libostree/libostree_1_la-ostree-soup-form.lo \ @USE_AVAHI_TRUE@@USE_CURL_FALSE@@USE_LIBSOUP_FALSE@ $(am__objects_1) am_libostree_1_la_OBJECTS = \ @@ -911,6 +899,7 @@ am_libostree_1_la_OBJECTS = \ src/libostree/libostree_1_la-ostree-dummy-enumtypes.lo \ src/libostree/libostree_1_la-ostree-checksum-input-stream.lo \ src/libostree/libostree_1_la-ostree-chain-input-stream.lo \ + src/libostree/libostree_1_la-ostree-content-writer.lo \ src/libostree/libostree_1_la-ostree-lzma-common.lo \ src/libostree/libostree_1_la-ostree-lzma-compressor.lo \ src/libostree/libostree_1_la-ostree-lzma-decompressor.lo \ @@ -959,10 +948,9 @@ am_libostree_1_la_OBJECTS = \ src/libostree/libostree_1_la-ostree-repo-finder-override.lo \ src/libostree/libostree_1_la-ostree-kernel-args.lo \ $(am__objects_1) $(am__objects_2) $(am__objects_3) \ - $(am__objects_5) $(am__objects_6) $(am__objects_7) \ - $(am__objects_8) $(am__objects_9) $(am__objects_10) \ - $(am__objects_11) $(am__objects_12) $(am__objects_13) \ - src/libostree/libostree_1_la-ostree-sign.lo \ + $(am__objects_4) $(am__objects_5) $(am__objects_6) \ + $(am__objects_7) $(am__objects_8) $(am__objects_9) \ + $(am__objects_10) src/libostree/libostree_1_la-ostree-sign.lo \ src/libostree/libostree_1_la-ostree-sign-dummy.lo \ src/libostree/libostree_1_la-ostree-sign-ed25519.lo \ $(am__objects_1) @@ -1004,7 +992,7 @@ am__libotutil_la_SOURCES_DIST = src/libotutil/ot-checksum-utils.c \ src/libotutil/otutil.h src/libotutil/ot-tool-util.c \ src/libotutil/ot-tool-util.h src/libotutil/ot-gpg-utils.c \ src/libotutil/ot-gpg-utils.h -@USE_GPGME_TRUE@am__objects_14 = \ +@USE_GPGME_TRUE@am__objects_11 = \ @USE_GPGME_TRUE@ src/libotutil/libotutil_la-ot-gpg-utils.lo \ @USE_GPGME_TRUE@ $(am__objects_1) am_libotutil_la_OBJECTS = \ @@ -1018,7 +1006,7 @@ am_libotutil_la_OBJECTS = \ src/libotutil/libotutil_la-ot-variant-builder.lo \ src/libotutil/libotutil_la-ot-gio-utils.lo \ src/libotutil/libotutil_la-ot-tool-util.lo $(am__objects_1) \ - $(am__objects_14) + $(am__objects_11) libotutil_la_OBJECTS = $(am_libotutil_la_OBJECTS) libotutil_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libotutil_la_CFLAGS) \ @@ -1092,17 +1080,17 @@ am__ostree_SOURCES_DIST = src/ostree/main.c \ src/ostree/ot-remote-cookie-util.c \ src/ostree/ot-builtin-pull.c \ src/ostree/ot-builtin-trivial-httpd.c -@USE_GPGME_TRUE@am__objects_15 = src/ostree/ostree-ot-builtin-gpg-sign.$(OBJEXT) \ +@USE_GPGME_TRUE@am__objects_12 = src/ostree/ostree-ot-builtin-gpg-sign.$(OBJEXT) \ @USE_GPGME_TRUE@ $(am__objects_1) -@USE_GPGME_TRUE@am__objects_16 = src/ostree/ostree-ot-remote-builtin-gpg-import.$(OBJEXT) \ +@USE_GPGME_TRUE@am__objects_13 = src/ostree/ostree-ot-remote-builtin-gpg-import.$(OBJEXT) \ @USE_GPGME_TRUE@ $(am__objects_1) -@USE_CURL_OR_SOUP_TRUE@am__objects_17 = src/ostree/ostree-ot-remote-builtin-add-cookie.$(OBJEXT) \ +@USE_CURL_OR_SOUP_TRUE@am__objects_14 = src/ostree/ostree-ot-remote-builtin-add-cookie.$(OBJEXT) \ @USE_CURL_OR_SOUP_TRUE@ src/ostree/ostree-ot-remote-builtin-delete-cookie.$(OBJEXT) \ @USE_CURL_OR_SOUP_TRUE@ src/ostree/ostree-ot-remote-builtin-list-cookies.$(OBJEXT) \ @USE_CURL_OR_SOUP_TRUE@ src/ostree/ostree-ot-remote-cookie-util.$(OBJEXT) \ @USE_CURL_OR_SOUP_TRUE@ $(am__objects_1) \ @USE_CURL_OR_SOUP_TRUE@ src/ostree/ostree-ot-builtin-pull.$(OBJEXT) -@USE_LIBSOUP_TRUE@am__objects_18 = src/ostree/ostree-ot-builtin-trivial-httpd.$(OBJEXT) +@USE_LIBSOUP_TRUE@am__objects_15 = src/ostree/ostree-ot-builtin-trivial-httpd.$(OBJEXT) am_ostree_OBJECTS = src/ostree/ostree-main.$(OBJEXT) \ src/ostree/ostree-ot-builtin-admin.$(OBJEXT) \ src/ostree/ostree-ot-builtin-cat.$(OBJEXT) \ @@ -1131,7 +1119,7 @@ am_ostree_OBJECTS = src/ostree/ostree-main.$(OBJEXT) \ src/ostree/ostree-ot-main.$(OBJEXT) \ src/ostree/ostree-ot-dump.$(OBJEXT) \ src/ostree/ostree-ot-editor.$(OBJEXT) $(am__objects_1) \ - $(am__objects_6) $(am__objects_15) \ + $(am__objects_12) \ src/ostree/ostree-ot-admin-builtin-init-fs.$(OBJEXT) \ src/ostree/ostree-ot-admin-builtin-diff.$(OBJEXT) \ src/ostree/ostree-ot-admin-builtin-deploy.$(OBJEXT) \ @@ -1157,8 +1145,8 @@ am_ostree_OBJECTS = src/ostree/ostree-main.$(OBJEXT) \ src/ostree/ostree-ot-remote-builtin-show-url.$(OBJEXT) \ src/ostree/ostree-ot-remote-builtin-refs.$(OBJEXT) \ src/ostree/ostree-ot-remote-builtin-summary.$(OBJEXT) \ - $(am__objects_1) $(am__objects_16) $(am__objects_17) \ - $(am__objects_18) + $(am__objects_1) $(am__objects_13) $(am__objects_14) \ + $(am__objects_15) nodist_ostree_OBJECTS = src/ostree/ostree-parse-datetime.$(OBJEXT) \ $(am__objects_1) ostree_OBJECTS = $(am_ostree_OBJECTS) $(nodist_ostree_OBJECTS) @@ -1214,9 +1202,9 @@ rofiles_fuse_OBJECTS = $(am_rofiles_fuse_OBJECTS) rofiles_fuse_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(rofiles_fuse_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -am__objects_19 = \ +am__objects_16 = \ libglnx/tests/test_libglnx_errors-libglnx-testlib.$(OBJEXT) -am_test_libglnx_errors_OBJECTS = $(am__objects_19) \ +am_test_libglnx_errors_OBJECTS = $(am__objects_16) \ libglnx/tests/test_libglnx_errors-test-libglnx-errors.$(OBJEXT) test_libglnx_errors_OBJECTS = $(am_test_libglnx_errors_OBJECTS) test_libglnx_errors_DEPENDENCIES = $(am__DEPENDENCIES_2) libglnx.la @@ -1224,9 +1212,9 @@ test_libglnx_errors_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(test_libglnx_errors_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ -am__objects_20 = \ +am__objects_17 = \ libglnx/tests/test_libglnx_fdio-libglnx-testlib.$(OBJEXT) -am_test_libglnx_fdio_OBJECTS = $(am__objects_20) \ +am_test_libglnx_fdio_OBJECTS = $(am__objects_17) \ libglnx/tests/test_libglnx_fdio-test-libglnx-fdio.$(OBJEXT) test_libglnx_fdio_OBJECTS = $(am_test_libglnx_fdio_OBJECTS) test_libglnx_fdio_DEPENDENCIES = $(am__DEPENDENCIES_2) libglnx.la @@ -1234,9 +1222,9 @@ test_libglnx_fdio_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(test_libglnx_fdio_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ -am__objects_21 = \ +am__objects_18 = \ libglnx/tests/test_libglnx_macros-libglnx-testlib.$(OBJEXT) -am_test_libglnx_macros_OBJECTS = $(am__objects_21) \ +am_test_libglnx_macros_OBJECTS = $(am__objects_18) \ libglnx/tests/test_libglnx_macros-test-libglnx-macros.$(OBJEXT) test_libglnx_macros_OBJECTS = $(am_test_libglnx_macros_OBJECTS) test_libglnx_macros_DEPENDENCIES = $(am__DEPENDENCIES_2) libglnx.la @@ -1244,9 +1232,9 @@ test_libglnx_macros_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(test_libglnx_macros_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ -am__objects_22 = \ +am__objects_19 = \ libglnx/tests/test_libglnx_shutil-libglnx-testlib.$(OBJEXT) -am_test_libglnx_shutil_OBJECTS = $(am__objects_22) \ +am_test_libglnx_shutil_OBJECTS = $(am__objects_19) \ libglnx/tests/test_libglnx_shutil-test-libglnx-shutil.$(OBJEXT) test_libglnx_shutil_OBJECTS = $(am_test_libglnx_shutil_OBJECTS) test_libglnx_shutil_DEPENDENCIES = $(am__DEPENDENCIES_2) libglnx.la @@ -1254,9 +1242,9 @@ test_libglnx_shutil_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(test_libglnx_shutil_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ -am__objects_23 = \ +am__objects_20 = \ libglnx/tests/test_libglnx_xattrs-libglnx-testlib.$(OBJEXT) -am_test_libglnx_xattrs_OBJECTS = $(am__objects_23) \ +am_test_libglnx_xattrs_OBJECTS = $(am__objects_20) \ libglnx/tests/test_libglnx_xattrs-test-libglnx-xattrs.$(OBJEXT) test_libglnx_xattrs_OBJECTS = $(am_test_libglnx_xattrs_OBJECTS) test_libglnx_xattrs_DEPENDENCIES = $(am__DEPENDENCIES_2) libglnx.la @@ -1550,6 +1538,7 @@ am__depfiles_remade = bsdiff/$(DEPDIR)/libbsdiff_la-bsdiff.Plo \ src/libostree/$(DEPDIR)/libostree_1_la-ostree-chain-input-stream.Plo \ src/libostree/$(DEPDIR)/libostree_1_la-ostree-checksum-input-stream.Plo \ src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmdprivate.Plo \ + src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo \ src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Plo \ src/libostree/$(DEPDIR)/libostree_1_la-ostree-date-utils.Plo \ src/libostree/$(DEPDIR)/libostree_1_la-ostree-deployment.Plo \ @@ -2033,12 +2022,10 @@ RECHECK_LOGS = $(TEST_LOGS) @USE_GPGME_TRUE@am__EXEEXT_20 = tests/test-remote-gpg-import.sh \ @USE_GPGME_TRUE@ tests/test-gpg-signed-commit.sh \ @USE_GPGME_TRUE@ tests/test-admin-gpg.sh $(am__EXEEXT_2) -am__EXEEXT_21 = $(am__EXEEXT_2) -@ENABLE_EXPERIMENTAL_API_TRUE@am__EXEEXT_22 = $(am__EXEEXT_21) -am__EXEEXT_23 = tests/test-core.js tests/test-remotes-config-dir.js \ +am__EXEEXT_21 = tests/test-core.js tests/test-remotes-config-dir.js \ tests/test-sizes.js tests/test-sysroot.js $(am__EXEEXT_2) -@BUILDOPT_GJS_TRUE@am__EXEEXT_24 = $(js_tests) $(am__EXEEXT_23) -am__EXEEXT_25 = tests/test-basic.sh tests/test-basic-user.sh \ +@BUILDOPT_GJS_TRUE@am__EXEEXT_22 = $(js_tests) $(am__EXEEXT_21) +am__EXEEXT_23 = tests/test-basic.sh tests/test-basic-user.sh \ tests/test-basic-user-only.sh tests/test-basic-root.sh \ tests/test-pull-subpath.sh tests/test-archivez.sh \ tests/test-remote-add.sh tests/test-remote-headers.sh \ @@ -2093,11 +2080,11 @@ am__EXEEXT_25 = tests/test-basic.sh tests/test-basic-user.sh \ tests/test-signed-commit.sh tests/test-signed-pull.sh \ tests/test-pre-signed-pull.sh \ tests/test-signed-pull-summary.sh $(am__EXEEXT_2) \ - $(am__EXEEXT_20) $(am__EXEEXT_22) $(am__append_74) \ - $(am__append_77) $(am__EXEEXT_24) -@ENABLE_INSTALLED_TESTS_EXCLUSIVE_FALSE@am__EXEEXT_26 = \ -@ENABLE_INSTALLED_TESTS_EXCLUSIVE_FALSE@ $(am__EXEEXT_25) -am__EXEEXT_27 = $(am__EXEEXT_2) $(am__EXEEXT_26) + $(am__EXEEXT_20) $(am__append_68) $(am__append_71) \ + $(am__EXEEXT_22) +@ENABLE_INSTALLED_TESTS_EXCLUSIVE_FALSE@am__EXEEXT_24 = \ +@ENABLE_INSTALLED_TESTS_EXCLUSIVE_FALSE@ $(am__EXEEXT_23) +am__EXEEXT_25 = $(am__EXEEXT_2) $(am__EXEEXT_24) TEST_SUITE_LOG = test-suite.log TEST_EXTENSIONS = @EXEEXT@ .test LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) @@ -2394,21 +2381,21 @@ AM_CFLAGS = -std=gnu99 -fno-strict-aliasing $(WARN_CFLAGS) # Allow the distcheck install under $prefix test to pass AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-man \ - --disable-maintainer-mode $(NULL) $(am__append_68) \ - $(am__append_89) \ + --disable-maintainer-mode $(NULL) $(am__append_64) \ + $(am__append_83) \ BASH_COMPLETIONSDIR='$${datadir}/bash-completion/completions' SUBDIRS = . $(am__append_14) NULL = BUILT_SOURCES = $(nodist_libostree_1_la_SOURCES) MANPAGES = -CLEANFILES = $(am__append_13) $(BUILT_SOURCES) $(am__append_47) \ +CLEANFILES = $(am__append_13) $(BUILT_SOURCES) $(am__append_44) \ src/ostree/parse-datetime.c tests/libreaddir-rand.so \ tests/ostree-symlink-stamp \ tests/ostree-prepare-root-symlink-stamp \ tests/ostree-remount-symlink-stamp \ tests/rofiles-fuse-symlink-stamp tests/ostree \ tests/ostree-prepare-root tests/ostree-remount \ - tests/rofiles-fuse $(am__append_98) + tests/rofiles-fuse $(am__append_92) EXTRA_DIST = $(all_dist_test_scripts) $(all_dist_test_data) autogen.sh \ COPYING README.md libglnx/README.md libglnx/COPYING \ libglnx/libglnx.m4 $(NULL) libglnx/Makefile-libglnx.am \ @@ -2423,35 +2410,34 @@ EXTRA_DIST = $(all_dist_test_scripts) $(all_dist_test_data) autogen.sh \ src/libostree/ostree-repo-deprecated.h \ src/libostree/ostree-version.h src/ostree/parse-datetime.y \ buildutil/tap-driver.sh buildutil/tap-test tests/glib.supp \ - tests/ostree.supp $(NULL) $(am__append_73) $(am__append_76) \ - $(am__append_79) tests/libtest.sh $(am__append_80) \ - $(am__append_85) tests/libostreetest.h tests/libtest.sh \ - $(NULL) src/boot/dracut/module-setup.sh \ - src/boot/dracut/ostree.conf src/boot/mkinitcpio/ostree \ - src/boot/ostree-prepare-root.service \ + tests/ostree.supp $(NULL) $(am__append_70) $(am__append_73) \ + tests/libtest.sh $(am__append_74) $(am__append_79) \ + tests/libostreetest.h tests/libtest.sh $(NULL) \ + src/boot/dracut/module-setup.sh src/boot/dracut/ostree.conf \ + src/boot/mkinitcpio src/boot/ostree-prepare-root.service \ src/boot/ostree-finalize-staged.path \ src/boot/ostree-remount.service \ src/boot/ostree-finalize-staged.service \ src/boot/grub2/grub2-15_ostree \ - src/boot/grub2/ostree-grub-generator $(NULL) $(am__append_94) \ - $(am__append_97) + src/boot/grub2/ostree-grub-generator $(NULL) $(am__append_88) \ + $(am__append_91) bin_SCRIPTS = lib_LTLIBRARIES = libostree-1.la -pkglibexec_SCRIPTS = $(am__append_90) +pkglibexec_SCRIPTS = $(am__append_84) noinst_LTLIBRARIES = $(am__append_1) libglnx.la libbsdiff.la \ libotutil.la libbupsplit.la libostreetest.la privlibdir = $(pkglibdir) privlib_LTLIBRARIES = pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = src/libostree/ostree-1.pc -INTROSPECTION_GIRS = $(am__append_44) +INTROSPECTION_GIRS = $(am__append_41) girdir = $(datadir)/gir-1.0 -gir_DATA = $(am__append_45) +gir_DATA = $(am__append_42) typelibdir = $(libdir)/girepository-1.0 -typelib_DATA = $(am__append_46) +typelib_DATA = $(am__append_43) gsettings_SCHEMAS = ostree_bootdir = $(prefix)/lib/ostree -ostree_boot_SCRIPTS = $(am__append_62) $(am__append_92) +ostree_boot_SCRIPTS = $(am__append_58) $(am__append_86) # We should probably consider flipping the default for DEBUG. Also, # include the builddir in $PATH so we find our just-built ostree @@ -2468,7 +2454,7 @@ AM_TESTS_ENVIRONMENT = G_TEST_SRCDIR="$(abs_srcdir)" \ pwd)$${LD_LIBRARY_PATH:+:$${LD_LIBRARY_PATH}} PATH=$$(cd \ $(top_builddir)/tests && pwd):$${PATH} \ OSTREE_FEATURES="$(OSTREE_FEATURES)" PYTHONUNBUFFERED=1 \ - $(NULL) $(am__append_70) + $(NULL) $(am__append_66) LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/buildutil/tap-driver.sh LOG_COMPILER = $(top_srcdir)/buildutil/tap-test installed_test_LTLIBRARIES = $(am__append_12) @@ -2508,16 +2494,19 @@ all_test_ltlibs = $(test_ltlibraries) $(uninstalled_test_ltlibraries) $(installe # This initializes some more variables # This is a special facility to chain together hooks easily -INSTALL_DATA_HOOKS = install-mkdir-remotes-d-hook $(am__append_88) \ - $(am__append_91) +INSTALL_DATA_HOOKS = install-mkdir-remotes-d-hook $(am__append_82) \ + $(am__append_85) ALL_LOCAL_RULES = tests/libreaddir-rand.so shortened_sysconfdir = $$(echo "$(sysconfdir)" | sed -e 's|^$(prefix)||' -e 's|^/||') OSTREE_GITREV = $(shell cd $(srcdir) && if command -v git >/dev/null 2>&1 && test -d .git; then git describe --abbrev=42 --tags --always HEAD; fi) ACLOCAL_AMFLAGS = -I buildutil -I libglnx ${ACLOCAL_FLAGS} # Generated by coreos-assembler build-fast and kola + +# Rust stuff GITIGNOREFILES = aclocal.m4 build-aux/ buildutil/*.m4 config.h.in \ - gtk-doc.make fastbuild-*.qcow2 _kola_temp/ $(am__append_67) + gtk-doc.make fastbuild-*.qcow2 _kola_temp/ target/ Cargo.lock \ + $(am__append_63) OT_INTERNAL_GIO_UNIX_CFLAGS = $(OT_DEP_GIO_UNIX_CFLAGS) OT_INTERNAL_GIO_UNIX_LIBS = $(OT_DEP_GIO_UNIX_LIBS) OT_INTERNAL_SOUP_CFLAGS = $(OT_DEP_SOUP_CFLAGS) @@ -2661,6 +2650,8 @@ libostree_1_la_SOURCES = src/libostree/ostree-async-progress.c \ src/libostree/ostree-checksum-input-stream.h \ src/libostree/ostree-chain-input-stream.c \ src/libostree/ostree-chain-input-stream.h \ + src/libostree/ostree-content-writer.c \ + src/libostree/ostree-content-writer.h \ src/libostree/ostree-lzma-common.c \ src/libostree/ostree-lzma-common.h \ src/libostree/ostree-lzma-compressor.c \ @@ -2725,16 +2716,12 @@ libostree_1_la_SOURCES = src/libostree/ostree-async-progress.c \ src/libostree/ostree-kernel-args.h \ src/libostree/ostree-kernel-args.c $(NULL) $(am__append_16) \ $(am__append_17) $(am__append_18) $(am__append_19) \ - $(am__append_20) $(am__append_21) $(am__append_22) \ - $(am__append_29) $(am__append_30) $(am__append_33) \ - $(am__append_36) src/libostree/ostree-sign.c \ + $(am__append_20) $(am__append_27) $(am__append_28) \ + $(am__append_31) $(am__append_34) src/libostree/ostree-sign.c \ src/libostree/ostree-sign.h src/libostree/ostree-sign-dummy.c \ src/libostree/ostree-sign-dummy.h \ src/libostree/ostree-sign-ed25519.c \ src/libostree/ostree-sign-ed25519.h $(NULL) -libostree_experimental_headers = \ - $(NULL) - symbol_files = $(top_srcdir)/src/libostree/libostree-released.sym # Uncomment this include when adding new development symbols. @@ -2751,17 +2738,17 @@ libostree_1_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/bsdiff \ $(OT_DEP_LZMA_CFLAGS) $(OT_DEP_ZLIB_CFLAGS) \ $(OT_DEP_CRYPTO_CFLAGS) -fvisibility=hidden \ '-D_OSTREE_PUBLIC=__attribute__((visibility("default"))) \ - extern' $(am__append_23) $(am__append_25) $(am__append_27) \ - $(am__append_31) $(am__append_34) $(am__append_37) \ - $(am__append_39) $(am__append_41) + extern' $(am__append_21) $(am__append_23) $(am__append_25) \ + $(am__append_29) $(am__append_32) $(am__append_35) \ + $(am__append_37) $(am__append_39) libostree_1_la_LDFLAGS = -version-number 1:0:0 -Bsymbolic-functions $(addprefix $(wl_versionscript_arg),$(symbol_files)) # Some change between rust-1.21.0-1.fc27 and rust-1.22.1-1.fc27.x86_64 libostree_1_la_LIBADD = libotutil.la libglnx.la libbsdiff.la \ $(OT_INTERNAL_GIO_UNIX_LIBS) $(OT_INTERNAL_GPGME_LIBS) \ $(OT_DEP_LZMA_LIBS) $(OT_DEP_ZLIB_LIBS) $(OT_DEP_CRYPTO_LIBS) \ - $(bupsplitpath) $(am__append_24) $(am__append_26) \ - $(am__append_28) $(am__append_32) $(am__append_35) \ - $(am__append_38) $(am__append_40) $(am__append_42) + $(bupsplitpath) $(am__append_22) $(am__append_24) \ + $(am__append_26) $(am__append_30) $(am__append_33) \ + $(am__append_36) $(am__append_38) $(am__append_40) EXTRA_libostree_1_la_DEPENDENCIES = $(symbol_files) # XXX: work around clang being passed -fstack-clash-protection which it doesn't understand @@ -2769,12 +2756,10 @@ EXTRA_libostree_1_la_DEPENDENCIES = $(symbol_files) INTROSPECTION_SCANNER_ENV = CC=gcc @BUILDOPT_INTROSPECTION_TRUE@OSTree_1_0_gir_EXPORT_PACKAGES = ostree-1 @BUILDOPT_INTROSPECTION_TRUE@OSTree_1_0_gir_INCLUDES = Gio-2.0 -@BUILDOPT_INTROSPECTION_TRUE@OSTree_1_0_gir_CFLAGS = \ -@BUILDOPT_INTROSPECTION_TRUE@ $(libostree_1_la_CFLAGS) \ -@BUILDOPT_INTROSPECTION_TRUE@ $(am__append_43) +@BUILDOPT_INTROSPECTION_TRUE@OSTree_1_0_gir_CFLAGS = $(libostree_1_la_CFLAGS) @BUILDOPT_INTROSPECTION_TRUE@OSTree_1_0_gir_LIBS = libostree-1.la @BUILDOPT_INTROSPECTION_TRUE@OSTree_1_0_gir_SCANNERFLAGS = --warn-all --identifier-prefix=Ostree --symbol-prefix=ostree $(GI_SCANNERFLAGS) -@BUILDOPT_INTROSPECTION_TRUE@OSTree_1_0_gir_FILES = $(libostreeinclude_HEADERS) $(filter-out %-private.h %/ostree-soup-uri.h $(libostree_experimental_headers),$(libostree_1_la_SOURCES)) +@BUILDOPT_INTROSPECTION_TRUE@OSTree_1_0_gir_FILES = $(libostreeinclude_HEADERS) $(filter-out %-private.h %/ostree-soup-uri.h,$(libostree_1_la_SOURCES)) gpgreadme_DATA = src/libostree/README-gpg gpgreadmedir = $(datadir)/ostree/trusted.gpg.d @@ -2800,8 +2785,8 @@ ostree_SOURCES = src/ostree/main.c src/ostree/ot-builtin-admin.c \ src/ostree/ot-builtin-static-delta.c src/ostree/ot-main.h \ src/ostree/ot-main.c src/ostree/ot-dump.h src/ostree/ot-dump.c \ src/ostree/ot-editor.c src/ostree/ot-editor.h \ - src/ostree/parse-datetime.h $(NULL) $(am__append_48) \ - $(am__append_49) src/ostree/ot-admin-builtin-init-fs.c \ + src/ostree/parse-datetime.h $(NULL) $(am__append_45) \ + src/ostree/ot-admin-builtin-init-fs.c \ src/ostree/ot-admin-builtin-diff.c \ src/ostree/ot-admin-builtin-deploy.c \ src/ostree/ot-admin-builtin-finalize-staged.c \ @@ -2829,7 +2814,7 @@ ostree_SOURCES = src/ostree/main.c src/ostree/ot-builtin-admin.c \ src/ostree/ot-remote-builtin-show-url.c \ src/ostree/ot-remote-builtin-refs.c \ src/ostree/ot-remote-builtin-summary.c $(NULL) \ - $(am__append_50) $(am__append_51) $(am__append_52) + $(am__append_46) $(am__append_47) $(am__append_48) nodist_ostree_SOURCES = \ src/ostree/parse-datetime.c \ $(NULL) @@ -2841,11 +2826,11 @@ ostree_bin_shared_cflags = $(AM_CFLAGS) -I$(srcdir)/src/libotutil -I$(srcdir)/sr ostree_bin_shared_ldadd = $(AM_LDFLAGS) libglnx.la libotutil.la libostree-1.la \ $(OT_INTERNAL_GIO_UNIX_LIBS) -ostree_CFLAGS = $(ostree_bin_shared_cflags) $(am__append_54) \ - $(am__append_56) $(am__append_58) +ostree_CFLAGS = $(ostree_bin_shared_cflags) $(am__append_50) \ + $(am__append_52) $(am__append_54) ostree_LDADD = $(ostree_bin_shared_ldadd) libbsdiff.la \ - $(LIBSYSTEMD_LIBS) $(am__append_55) $(am__append_57) \ - $(am__append_59) + $(LIBSYSTEMD_LIBS) $(am__append_51) $(am__append_53) \ + $(am__append_55) @USE_LIBSOUP_TRUE@ostree_trivial_httpd_SOURCES = src/ostree/ostree-trivial-httpd.c @USE_LIBSOUP_TRUE@ostree_trivial_httpd_CFLAGS = $(ostree_bin_shared_cflags) $(OT_INTERNAL_SOUP_CFLAGS) @USE_LIBSOUP_TRUE@ostree_trivial_httpd_LDADD = $(ostree_bin_shared_ldadd) $(OT_INTERNAL_SOUP_LIBS) @@ -2854,8 +2839,8 @@ ostree_prepare_root_SOURCES = \ src/switchroot/ostree-prepare-root.c \ $(NULL) -ostree_prepare_root_CPPFLAGS = $(AM_CPPFLAGS) $(am__append_64) \ - $(am__append_65) +ostree_prepare_root_CPPFLAGS = $(AM_CPPFLAGS) $(am__append_60) \ + $(am__append_61) @BUILDOPT_USE_STATIC_COMPILER_FALSE@ostree_prepare_root_CFLAGS = $(AM_CFLAGS) -Isrc/switchroot ostree_remount_SOURCES = \ src/switchroot/ostree-mount-util.h \ @@ -2864,7 +2849,7 @@ ostree_remount_SOURCES = \ ostree_remount_CPPFLAGS = $(AM_CPPFLAGS) \ $(OT_INTERNAL_GIO_UNIX_CFLAGS) -Isrc/switchroot \ - -I$(srcdir)/libglnx $(am__append_66) + -I$(srcdir)/libglnx $(am__append_62) ostree_remount_LDADD = $(AM_LDFLAGS) $(OT_INTERNAL_GIO_UNIX_LIBS) libglnx.la @BUILDOPT_SYSTEMD_TRUE@ostree_prepare_root_LDADD = $(AM_LDFLAGS) $(LIBSYSTEMD_LIBS) @BUILDOPT_SYSTEMD_AND_LIBMOUNT_TRUE@ostree_system_generator_SOURCES = src/switchroot/ostree-mount-util.h \ @@ -2881,7 +2866,7 @@ ostree_remount_LDADD = $(AM_LDFLAGS) $(OT_INTERNAL_GIO_UNIX_LIBS) libglnx.la @BUILDOPT_FUSE_TRUE@rofiles_fuse_LDADD = libglnx.la $(BUILDOPT_FUSE_LIBS) $(OT_INTERNAL_GIO_UNIX_LIBS) libostree-1.la uninstalled_test_data = tests/ostree-symlink-stamp \ tests/ostree-prepare-root-symlink-stamp \ - tests/ostree-remount-symlink-stamp $(am__append_75) + tests/ostree-remount-symlink-stamp $(am__append_69) dist_uninstalled_test_scripts = tests/test-symbols.sh tests/coccinelle.sh # This logic implements ENABLE_INSTALLED_TESTS_EXCLUSIVE; see below. @@ -2889,10 +2874,10 @@ dist_uninstalled_test_scripts = tests/test-symbols.sh tests/coccinelle.sh # tests *only* run installed, to avoid having to run them twice in CI. # This overrides the glib-tap.mk emphasis on doing both, if we'd # used e.g. `dist_test_scripts`. -dist_test_scripts = $(NULL) $(am__append_86) +dist_test_scripts = $(NULL) $(am__append_80) test_programs = tests/test-bloom tests/test-repo-finder-config \ - tests/test-repo-finder-mount $(NULL) $(am__append_83) \ - $(am__append_87) + tests/test-repo-finder-mount $(NULL) $(am__append_77) \ + $(am__append_81) _installed_or_uninstalled_test_scripts = tests/test-basic.sh \ tests/test-basic-user.sh tests/test-basic-user-only.sh \ tests/test-basic-root.sh tests/test-pull-subpath.sh \ @@ -2948,12 +2933,8 @@ _installed_or_uninstalled_test_scripts = tests/test-basic.sh \ tests/test-pull-collections.sh tests/test-config.sh \ tests/test-signed-commit.sh tests/test-signed-pull.sh \ tests/test-pre-signed-pull.sh \ - tests/test-signed-pull-summary.sh $(NULL) $(am__append_71) \ - $(am__append_72) $(am__append_74) $(am__append_77) \ - $(am__append_78) -experimental_test_scripts = \ - $(NULL) - + tests/test-signed-pull-summary.sh $(NULL) $(am__append_67) \ + $(am__append_68) $(am__append_71) $(am__append_72) test_extra_programs = \ tests/get-byte-order \ tests/repo-finder-mount \ @@ -3029,7 +3010,7 @@ libreaddir_rand_la_LIBADD = \ $(NULL) libreaddir_rand_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version \ - $(am__append_81) + $(am__append_75) _installed_or_uninstalled_test_programs = tests/test-varint \ tests/test-ot-unix-utils tests/test-bsdiff \ tests/test-mutable-tree tests/test-keyfile-utils \ @@ -3037,7 +3018,7 @@ _installed_or_uninstalled_test_programs = tests/test-varint \ tests/test-checksum tests/test-lzma tests/test-rollsum \ tests/test-basic-c tests/test-sysroot-c tests/test-pull-c \ tests/test-repo tests/test-include-ostree-h tests/test-kargs \ - tests/test-rfc2616-dates $(am__append_82) $(am__append_84) + tests/test-rfc2616-dates $(am__append_76) $(am__append_78) common_tests_cflags = $(ostree_bin_shared_cflags) $(OT_INTERNAL_GIO_UNIX_CFLAGS) -I$(srcdir)/libglnx common_tests_ldadd = $(ostree_bin_shared_ldadd) $(OT_INTERNAL_GIO_UNIX_LIBS) libostreetest_la_SOURCES = tests/libostreetest.c tests/test-mock-gio.c tests/test-mock-gio.h @@ -3164,8 +3145,8 @@ tests_test_rfc2616_dates_LDADD = $(TESTS_LDADD) @ENABLE_MAN_TRUE@ ostree-pull.1 ostree-refs.1 ostree-remote.1 \ @ENABLE_MAN_TRUE@ ostree-reset.1 ostree-rev-parse.1 \ @ENABLE_MAN_TRUE@ ostree-show.1 ostree-sign.1 ostree-summary.1 \ -@ENABLE_MAN_TRUE@ ostree-static-delta.1 $(am__append_93) \ -@ENABLE_MAN_TRUE@ $(am__append_95) $(am__append_96) +@ENABLE_MAN_TRUE@ ostree-static-delta.1 $(am__append_87) \ +@ENABLE_MAN_TRUE@ $(am__append_89) $(am__append_90) @ENABLE_MAN_TRUE@man5_files = ostree.repo.5 ostree.repo-config.5 @ENABLE_MAN_TRUE@man1_MANS = $(addprefix man/,$(man1_files)) @ENABLE_MAN_TRUE@man5_MANS = $(addprefix man/,$(man5_files)) @@ -3801,6 +3782,9 @@ src/libostree/libostree_1_la-ostree-checksum-input-stream.lo: \ src/libostree/libostree_1_la-ostree-chain-input-stream.lo: \ src/libostree/$(am__dirstamp) \ src/libostree/$(DEPDIR)/$(am__dirstamp) +src/libostree/libostree_1_la-ostree-content-writer.lo: \ + src/libostree/$(am__dirstamp) \ + src/libostree/$(DEPDIR)/$(am__dirstamp) src/libostree/libostree_1_la-ostree-lzma-common.lo: \ src/libostree/$(am__dirstamp) \ src/libostree/$(DEPDIR)/$(am__dirstamp) @@ -4803,6 +4787,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-chain-input-stream.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-checksum-input-stream.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmdprivate.Plo@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-date-utils.Plo@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-deployment.Plo@am__quote@ # am--include-marker @@ -5138,6 +5123,13 @@ src/libostree/libostree_1_la-ostree-chain-input-stream.lo: src/libostree/ostree- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libostree_1_la_CFLAGS) $(CFLAGS) -c -o src/libostree/libostree_1_la-ostree-chain-input-stream.lo `test -f 'src/libostree/ostree-chain-input-stream.c' || echo '$(srcdir)/'`src/libostree/ostree-chain-input-stream.c +src/libostree/libostree_1_la-ostree-content-writer.lo: src/libostree/ostree-content-writer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libostree_1_la_CFLAGS) $(CFLAGS) -MT src/libostree/libostree_1_la-ostree-content-writer.lo -MD -MP -MF src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Tpo -c -o src/libostree/libostree_1_la-ostree-content-writer.lo `test -f 'src/libostree/ostree-content-writer.c' || echo '$(srcdir)/'`src/libostree/ostree-content-writer.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Tpo src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/libostree/ostree-content-writer.c' object='src/libostree/libostree_1_la-ostree-content-writer.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libostree_1_la_CFLAGS) $(CFLAGS) -c -o src/libostree/libostree_1_la-ostree-content-writer.lo `test -f 'src/libostree/ostree-content-writer.c' || echo '$(srcdir)/'`src/libostree/ostree-content-writer.c + src/libostree/libostree_1_la-ostree-lzma-common.lo: src/libostree/ostree-lzma-common.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libostree_1_la_CFLAGS) $(CFLAGS) -MT src/libostree/libostree_1_la-ostree-lzma-common.lo -MD -MP -MF src/libostree/$(DEPDIR)/libostree_1_la-ostree-lzma-common.Tpo -c -o src/libostree/libostree_1_la-ostree-lzma-common.lo `test -f 'src/libostree/ostree-lzma-common.c' || echo '$(srcdir)/'`src/libostree/ostree-lzma-common.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/libostree/$(DEPDIR)/libostree_1_la-ostree-lzma-common.Tpo src/libostree/$(DEPDIR)/libostree_1_la-ostree-lzma-common.Plo @@ -9083,7 +9075,6 @@ distcleancheck: distclean || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 -@ENABLE_INSTALLED_TESTS_EXCLUSIVE_FALSE@check-local: check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_LTLIBRARIES) \ $(check_SCRIPTS) $(check_DATA) @@ -9199,6 +9190,7 @@ distclean: distclean-recursive -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-chain-input-stream.Plo -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-checksum-input-stream.Plo -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmdprivate.Plo + -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Plo -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-date-utils.Plo -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-deployment.Plo @@ -9477,6 +9469,7 @@ maintainer-clean: maintainer-clean-recursive -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-chain-input-stream.Plo -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-checksum-input-stream.Plo -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmdprivate.Plo + -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Plo -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-date-utils.Plo -rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-deployment.Plo @@ -9827,7 +9820,10 @@ tests/%-symlink-stamp: % Makefile ln -sf "$${real_bin}" tests/$*; \ touch $@ @ENABLE_INSTALLED_TESTS_EXCLUSIVE_TRUE@check-local: +@ENABLE_INSTALLED_TESTS_EXCLUSIVE_TRUE@ echo "NOTE: Run the Rust installed tests (uninstalled) with ./tests/run-installed" @ENABLE_INSTALLED_TESTS_EXCLUSIVE_TRUE@ echo "NOTE: Exclusive installed tests are enabled; to run them, make install, then: gnome-desktop-testing-runner -p 0 libostree/" +@ENABLE_INSTALLED_TESTS_EXCLUSIVE_FALSE@check-local: +@ENABLE_INSTALLED_TESTS_EXCLUSIVE_FALSE@ echo "NOTE: Run the Rust installed tests (uninstalled) with ./tests/run-installed" @USE_LIBSOUP_FALSE@no-soup-for-you-warning: @USE_LIBSOUP_FALSE@ @echo "WARNING: $(PACKAGE) was built without libsoup, which is currently" 1>&2 diff --git a/apidoc/Makefile.am b/apidoc/Makefile.am index 98a84d5f..f8aa5998 100644 --- a/apidoc/Makefile.am +++ b/apidoc/Makefile.am @@ -122,7 +122,13 @@ include $(top_srcdir)/gtk-doc.make EXTRA_DIST += \ version.xml \ ostree-sections.txt \ - ostree-experimental-sections.txt \ + $(NULL) + +# These only get included in the generated .gitignore when building with +# --enable-gtk-doc, so ensure they're always added. +GITIGNOREFILES = \ + ostree-overrides.txt \ + version.xml \ $(NULL) -include $(top_srcdir)/git.mk diff --git a/apidoc/Makefile.in b/apidoc/Makefile.in index 022dabe5..e3958357 100644 --- a/apidoc/Makefile.in +++ b/apidoc/Makefile.in @@ -540,7 +540,7 @@ SETUP_FILES = \ # This includes the standard gtk-doc make rules, copied by gtkdocize. EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) version.xml \ - ostree-sections.txt ostree-experimental-sections.txt $(NULL) + ostree-sections.txt $(NULL) DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \ html-build.stamp pdf-build.stamp \ sgml.stamp html.stamp pdf.stamp @@ -594,6 +594,14 @@ GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references"; GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_@AM_V@) GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_@AM_DEFAULT_V@) GTK_DOC_V_PDF_0 = @echo " DOC Building PDF"; + +# These only get included in the generated .gitignore when building with +# --enable-gtk-doc, so ensure they're always added. +GITIGNOREFILES = \ + ostree-overrides.txt \ + version.xml \ + $(NULL) + all: all-am .SUFFIXES: diff --git a/apidoc/html/index.html b/apidoc/html/index.html index 307015cb..60a23947 100644 --- a/apidoc/html/index.html +++ b/apidoc/html/index.html @@ -14,7 +14,7 @@
OSTree API references |
|---|
for OSTree 2021.1
for OSTree 2021.2
FALSE otherwise
gboolean +ostree_validate_collection_id (+const char *collection_id, +GError **error);
Check whether the given collection_id
+ is valid. Return an error if it is
+invalid or NULL.
Valid collection IDs are reverse DNS names:
+They are composed of 1 or more elements separated by a period (.) character.
+All elements must contain at least one character.
Each element must only contain the ASCII characters [A-Z][a-z][0-9]_ and must not
+begin with a digit.
They must contain at least one . (period) character (and thus at least two elements).
They must not begin with a . (period) character.
They must not exceed 255 characters in length.
(This makes their format identical to D-Bus interface names, for consistency.)
+collection_id |
+A collection ID. |
+[nullable] | +
error |
+Error |
++ |
Since: 2018.6
+guchar *
ostree_checksum_to_bytes (const char *checksum);
diff --git a/apidoc/html/ostree-OstreeRepo.html b/apidoc/html/ostree-OstreeRepo.html
index 420f24ed..192ace2a 100644
--- a/apidoc/html/ostree-OstreeRepo.html
+++ b/apidoc/html/ostree-OstreeRepo.html
@@ -139,6 +139,13 @@
org.exampleos.Main and org.exampleos.Apps. For the complete format of
-collection IDs, see ostree_validate_collection_id().
+collection IDs, see ostree_validate_collection_id().
const gchar *
+ostree_repo_get_collection_id (OstreeRepo *self);
+Get the collection ID of this repository. See collection IDs.
+ + +Since: 2018.6
+const gchar *
ostree_repo_get_bootloader (OstreeRepo *self);
@@ -2223,6 +2330,64 @@ array of remote names.
gboolean +ostree_repo_remote_list_collection_refs + (+OstreeRepo *self, +const char *remote_name, +GHashTable **out_all_refs, +GCancellable *cancellable, +GError **error);
List refs advertised by remote_name
+, including refs which are part of
+collections. If the repository at remote_name
+ has a collection ID set, its
+refs will be returned with that collection ID; otherwise, they will be returned
+with a NULL collection ID in each OstreeCollectionRef key in out_all_refs
+.
+Any refs for other collections stored in the repository will also be returned.
+No filtering is performed.
self |
+Repo |
++ |
remote_name |
+Name of the remote. |
++ |
out_all_refs |
+Mapping from collection–ref to checksum. |
+[out][element-type OstreeCollectionRef utf8][transfer container] | +
cancellable |
+Cancellable |
++ |
error |
+Error |
++ |
Since: 2018.6
+gboolean
ostree_repo_remote_get_url (OstreeRepo *self,
@@ -3136,6 +3301,55 @@ arguments.
void +ostree_repo_transaction_set_collection_ref + (+OstreeRepo *self, +const OstreeCollectionRef *ref, +const char *checksum);
If checksum
+ is not NULL, then record it as the target of local ref named
+ref
+.
Otherwise, if checksum
+ is NULL, then record that the ref should
+be deleted.
The change will not be written out immediately, but when the transaction
+is completed with ostree_repo_commit_transaction(). If the transaction
+is instead aborted with ostree_repo_abort_transaction(), no changes will
+be made to the repository.
Multithreading: Since v2017.15 this function is MT safe.
+self |
+An OstreeRepo |
++ |
ref |
+The collection–ref to write |
++ |
checksum |
+The checksum to point it to. |
+[nullable] | +
Since: 2018.6
+void
ostree_repo_transaction_set_ref (OstreeRepo *self,
@@ -3364,6 +3578,105 @@ write permissions in the repo, where the cache is normally stored.
gboolean +ostree_repo_set_collection_id (+OstreeRepo *self, +const gchar *collection_id, +GError **error);
Set or clear the collection ID of this repository. See collection IDs.
+The update will be made in memory, but must be written out to the repository
+configuration on disk using ostree_repo_write_config().
self |
+an OstreeRepo |
++ |
collection_id |
+new collection ID, or |
+[nullable] | +
error |
+return location for a GError, or |
++ |
Since: 2018.6
+gboolean +ostree_repo_set_collection_ref_immediate + (+OstreeRepo *self, +const OstreeCollectionRef *ref, +const char *checksum, +GCancellable *cancellable, +GError **error);
This is like ostree_repo_transaction_set_collection_ref(), except it may be
+invoked outside of a transaction. This is presently safe for the
+case where we're creating or overwriting an existing ref.
self |
+An OstreeRepo |
++ |
ref |
+The collection–ref to write |
++ |
checksum |
+The checksum to point it to, or |
+[nullable] | +
cancellable |
+GCancellable |
++ |
error |
+GError |
++ |
Since: 2018.6
+gboolean ostree_repo_sign_delta (OstreeRepo *self, @@ -3828,6 +4141,238 @@ be returned asout_csum
OstreeContentWriter * +ostree_repo_write_regfile (+OstreeRepo *self, +const char *expected_checksum, +guint32 uid, +guint32 gid, +guint32 mode, +guint64 content_len, +GVariant *xattrs, +GError **error);
Create an OstreeContentWriter that allows streaming output into
+the repository.
self |
+Repo, |
++ |
expected_checksum |
+Expected checksum (SHA-256 hex string). |
+[allow-none] | +
uid |
+user id |
++ |
gid |
+group id |
++ |
mode |
+Unix file mode |
++ |
content_len |
+Expected content length |
++ |
xattrs |
+Extended attributes (GVariant type |
+[allow-none] | +
error |
+Error |
++ |
Since: 2021.2
+char * +ostree_repo_write_regfile_inline (+OstreeRepo *self, +const char *expected_checksum, +guint32 uid, +guint32 gid, +guint32 mode, +GVariant *xattrs, +const guint8 *buf, +gsize len, +GCancellable *cancellable, +GError **error);
Synchronously create a file object from the provided content. This API +is intended for small files where it is reasonable to buffer the entire +content in memory.
+Unlike , if ostree_repo_write_content()expected_checksum
+ is provided,
+this function will not check for the presence of the object beforehand.
self |
+repo |
++ |
expected_checksum |
+The expected checksum. |
+[allow-none] | +
uid |
+User id |
++ |
gid |
+Group id |
++ |
mode |
+File mode |
++ |
xattrs |
+Extended attributes, GVariant of type (ayay). |
+[allow-none] | +
buf |
+File contents. |
+[array length=len][element-type guint8] | +
cancellable |
+Cancellable |
++ |
error |
+Error |
++ |
Since: 2021.2
+char * +ostree_repo_write_symlink (+OstreeRepo *self, +const char *expected_checksum, +guint32 uid, +guint32 gid, +GVariant *xattrs, +const char *symlink_target, +GCancellable *cancellable, +GError **error);
Synchronously create a symlink object.
+Unlike , if ostree_repo_write_content()expected_checksum
+ is provided,
+this function will not check for the presence of the object beforehand.
self |
+repo |
++ |
expected_checksum |
+The expected checksum. |
+[allow-none] | +
uid |
+User id |
++ |
gid |
+Group id |
++ |
xattrs |
+Extended attributes, GVariant of type (ayay). |
+[allow-none] | +
symlink_target |
+Target of the symbolic link |
++ |
cancellable |
+Cancellable |
++ |
error |
+Error |
++ |
Since: 2021.2
+gboolean ostree_repo_write_metadata_trusted (OstreeRepo *self, @@ -4355,6 +4900,79 @@ remote name) to checksums. Differently from +ostree_repo_list_collection_refs ()
+gboolean +ostree_repo_list_collection_refs (+OstreeRepo *self, +const char *match_collection_id, +GHashTable **out_all_refs, +OstreeRepoListRefsExtFlags flags, +GCancellable *cancellable, +GError **error);List all local, mirrored, and remote refs, mapping them to the commit +checksums they currently point to in
+out_all_refs+. Ifmatch_collection_id+ +is specified, the results will be limited to those with an equal collection +ID.OstreeCollectionRefs are guaranteed to be returned with their collection ID +set to a non-
+NULLvalue; so no refs fromrefs/headswill be listed if no +collection ID is configured for the repository +(ostree_repo_get_collection_id()).If you want to exclude refs from
+refs/remotes, use +OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_REMOTESinflags+. Similarly use +OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_MIRRORSto exclude refs from +refs/mirrors.++ +Parameters
+++
+ + ++ + + + ++ self
+ Repo
+ + ++ match_collection_id
+ If non-
NULL, only list refs from this collection.[nullable] ++ ++ out_all_refs
+ Mapping from collection–ref to checksum.
[out][element-type OstreeCollectionRef utf8][transfer container] ++ ++ flags
+ Options controlling listing behavior
+ + ++ cancellable
+ Cancellable
+ + + ++ error
+ Error
+ Since: 2018.6
+
gboolean ostree_repo_remote_list_refs (OstreeRepo *self, @@ -4402,6 +5020,91 @@ ostree_repo_remote_list_refs (+ostree_repo_resolve_collection_ref ()
+gboolean +ostree_repo_resolve_collection_ref (+OstreeRepo *self, +const OstreeCollectionRef *ref, +gboolean allow_noent, +OstreeRepoResolveRevExtFlags flags, +char **out_rev, +GCancellable *cancellable, +GError **error);Look up the checksum for the given collection–ref, returning it in
+out_rev+. +This will search through the mirrors and remote refs.If
+allow_noent+ isTRUEand the givenref+ cannot be found,TRUEwill be +returned andout_rev+ will be set toNULL. Ifallow_noent+ isFALSEand +the givenref+ cannot be found, aG_IO_ERROR_NOT_FOUNDerror will be +returned.If you want to check only local refs, not remote or mirrored ones, use the +flag
+OSTREE_REPO_RESOLVE_REV_EXT_LOCAL_ONLY. This is analogous to using +ostree_repo_resolve_rev_ext()but for collection-refs.++ +Parameters
+++
+ + ++ + + + ++ self
+ an OstreeRepo
+ + ++ ref
+ a collection–ref to resolve
+ + ++ allow_noent
+
TRUEto not throw an error ifref+doesn’t exist+ + ++ flags
+ options controlling behaviour
+ + ++ out_rev
+ return location for +the checksum corresponding to
ref+, orNULLifallow_noent+isTRUEand +theref+could not be found.[out][transfer full][optional][nullable] ++ ++ cancellable
+ a GCancellable, or
NULL.[nullable] ++ + ++ error
+ return location for a GError, or
NULL+ Since: 2018.6
+
gboolean ostree_repo_load_variant (OstreeRepo *self, @@ -4517,7 +5220,9 @@ ostree_repo_load_variant_if_exists (. If it doesn't exist, -out_variantNULLis returned. +out_variant+ will be set toNULLand the function will still +return TRUE.-Parameters
@@ -4545,7 +5250,7 @@ exists, storing the result in
out_variantout_variant
- Metadata.
[out][transfer full] +[out][nullable][transfer full] @@ -6524,7 +7229,7 @@ repository, returning its result in error
out_indexesSince: 2020.7
+Since: 2020.8
opt_to_commit
Since: 2020.8