New upstream version 2016.15
This commit is contained in:
commit
0ee312bf3e
|
|
@ -46,6 +46,9 @@ gsettings_SCHEMAS =
|
||||||
ostree_bootdir = $(prefix)/lib/ostree
|
ostree_bootdir = $(prefix)/lib/ostree
|
||||||
ostree_boot_PROGRAMS =
|
ostree_boot_PROGRAMS =
|
||||||
|
|
||||||
|
# This initializes some more variables
|
||||||
|
include $(top_srcdir)/buildutil/glib-tap.mk
|
||||||
|
|
||||||
# This is a special facility to chain together hooks easily
|
# This is a special facility to chain together hooks easily
|
||||||
INSTALL_DATA_HOOKS =
|
INSTALL_DATA_HOOKS =
|
||||||
install-data-hook: $(INSTALL_DATA_HOOKS)
|
install-data-hook: $(INSTALL_DATA_HOOKS)
|
||||||
|
|
|
||||||
|
|
@ -34,10 +34,7 @@ libostreeincludedir = $(includedir)/ostree-1
|
||||||
libostreeinclude_HEADERS = $(libostree_public_headers)
|
libostreeinclude_HEADERS = $(libostree_public_headers)
|
||||||
|
|
||||||
ENUM_TYPES = $(NULL)
|
ENUM_TYPES = $(NULL)
|
||||||
|
|
||||||
if USE_LIBSOUP
|
|
||||||
ENUM_TYPES += $(srcdir)/src/libostree/ostree-fetcher.h
|
ENUM_TYPES += $(srcdir)/src/libostree/ostree-fetcher.h
|
||||||
endif
|
|
||||||
|
|
||||||
src/libostree/ostree-enumtypes.h: src/libostree/ostree-enumtypes.h.template $(ENUM_TYPES)
|
src/libostree/ostree-enumtypes.h: src/libostree/ostree-enumtypes.h.template $(ENUM_TYPES)
|
||||||
$(AM_V_GEN) $(GLIB_MKENUMS) \
|
$(AM_V_GEN) $(GLIB_MKENUMS) \
|
||||||
|
|
@ -50,14 +47,11 @@ src/libostree/ostree-enumtypes.c: src/libostree/ostree-enumtypes.c.template $(EN
|
||||||
--fhead "#include \"ostree-enumtypes.h\"" \
|
--fhead "#include \"ostree-enumtypes.h\"" \
|
||||||
$(ENUM_TYPES) > $@.tmp && mv $@.tmp $@
|
$(ENUM_TYPES) > $@.tmp && mv $@.tmp $@
|
||||||
|
|
||||||
if USE_LIBSOUP
|
|
||||||
ENUM_GENERATED = \
|
ENUM_GENERATED = \
|
||||||
src/libostree/ostree-enumtypes.h \
|
src/libostree/ostree-enumtypes.h \
|
||||||
src/libostree/ostree-enumtypes.c \
|
src/libostree/ostree-enumtypes.c \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
BUILT_SOURCES += $(ENUM_GENERATED)
|
BUILT_SOURCES += $(ENUM_GENERATED)
|
||||||
endif
|
|
||||||
|
|
||||||
CLEANFILES += $(BUILT_SOURCES)
|
CLEANFILES += $(BUILT_SOURCES)
|
||||||
|
|
||||||
|
|
@ -134,6 +128,7 @@ libostree_1_la_SOURCES = \
|
||||||
if USE_LIBARCHIVE
|
if USE_LIBARCHIVE
|
||||||
libostree_1_la_SOURCES += src/libostree/ostree-libarchive-input-stream.h \
|
libostree_1_la_SOURCES += src/libostree/ostree-libarchive-input-stream.h \
|
||||||
src/libostree/ostree-libarchive-input-stream.c \
|
src/libostree/ostree-libarchive-input-stream.c \
|
||||||
|
src/libostree/ostree-libarchive-private.h \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
endif
|
endif
|
||||||
if HAVE_LIBSOUP_CLIENT_CERTS
|
if HAVE_LIBSOUP_CLIENT_CERTS
|
||||||
|
|
|
||||||
|
|
@ -80,17 +80,22 @@ ostree_SOURCES += \
|
||||||
ostree_SOURCES += \
|
ostree_SOURCES += \
|
||||||
src/ostree/ot-remote-builtins.h \
|
src/ostree/ot-remote-builtins.h \
|
||||||
src/ostree/ot-remote-builtin-add.c \
|
src/ostree/ot-remote-builtin-add.c \
|
||||||
src/ostree/ot-remote-builtin-add-cookie.c \
|
|
||||||
src/ostree/ot-remote-builtin-delete.c \
|
src/ostree/ot-remote-builtin-delete.c \
|
||||||
src/ostree/ot-remote-builtin-delete-cookie.c \
|
|
||||||
src/ostree/ot-remote-builtin-gpg-import.c \
|
src/ostree/ot-remote-builtin-gpg-import.c \
|
||||||
src/ostree/ot-remote-builtin-list.c \
|
src/ostree/ot-remote-builtin-list.c \
|
||||||
src/ostree/ot-remote-builtin-list-cookies.c \
|
|
||||||
src/ostree/ot-remote-builtin-show-url.c \
|
src/ostree/ot-remote-builtin-show-url.c \
|
||||||
src/ostree/ot-remote-builtin-refs.c \
|
src/ostree/ot-remote-builtin-refs.c \
|
||||||
src/ostree/ot-remote-builtin-summary.c \
|
src/ostree/ot-remote-builtin-summary.c \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
if USE_LIBSOUP
|
||||||
|
ostree_SOURCES += \
|
||||||
|
src/ostree/ot-remote-builtin-add-cookie.c \
|
||||||
|
src/ostree/ot-remote-builtin-delete-cookie.c \
|
||||||
|
src/ostree/ot-remote-builtin-list-cookies.c \
|
||||||
|
$(NULL)
|
||||||
|
endif
|
||||||
|
|
||||||
src/ostree/parse-datetime.c: src/ostree/parse-datetime.y Makefile
|
src/ostree/parse-datetime.c: src/ostree/parse-datetime.y Makefile
|
||||||
$(AM_V_GEN) $(YACC) $< -o $@
|
$(AM_V_GEN) $(YACC) $< -o $@
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,10 @@
|
||||||
|
|
||||||
if BUILDOPT_SYSTEMD
|
if BUILDOPT_SYSTEMD
|
||||||
ostree_boot_PROGRAMS += ostree-remount
|
ostree_boot_PROGRAMS += ostree-remount
|
||||||
|
else
|
||||||
|
# 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
|
||||||
|
check_PROGRAMS += ostree-remount
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ostree_prepare_root_SOURCES = \
|
ostree_prepare_root_SOURCES = \
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,6 @@
|
||||||
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
# Boston, MA 02111-1307, USA.
|
# Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
include $(top_srcdir)/buildutil/glib-tap.mk
|
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
buildutil/tap-driver.sh \
|
buildutil/tap-driver.sh \
|
||||||
buildutil/tap-test \
|
buildutil/tap-test \
|
||||||
|
|
@ -30,10 +28,14 @@ EXTRA_DIST += \
|
||||||
# include the builddir in $PATH so we find our just-built ostree
|
# include the builddir in $PATH so we find our just-built ostree
|
||||||
# binary.
|
# binary.
|
||||||
TESTS_ENVIRONMENT += OT_TESTS_DEBUG=1 \
|
TESTS_ENVIRONMENT += OT_TESTS_DEBUG=1 \
|
||||||
GI_TYPELIB_PATH=$$(cd $(top_builddir) && pwd) \
|
G_DEBUG=fatal-warnings \
|
||||||
LD_LIBRARY_PATH=$$(cd $(top_builddir)/.libs && pwd) \
|
GI_TYPELIB_PATH=$$(cd $(top_builddir) && pwd)$${GI_TYPELIB_PATH:+:$$GI_TYPELIB_PATH} \
|
||||||
|
LD_LIBRARY_PATH=$$(cd $(top_builddir)/.libs && pwd)$${LD_LIBRARY_PATH:+:$${LD_LIBRARY_PATH}} \
|
||||||
PATH=$$(cd $(top_builddir)/tests && pwd):$${PATH} \
|
PATH=$$(cd $(top_builddir)/tests && pwd):$${PATH} \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
if BUILDOPT_ASAN
|
||||||
|
TESTS_ENVIRONMENT += OT_SKIP_READDIR_RAND=1 G_SLICE=always-malloc
|
||||||
|
endif
|
||||||
|
|
||||||
uninstalled_test_data = tests/ostree-symlink-stamp tests/ostree-prepare-root-symlink-stamp \
|
uninstalled_test_data = tests/ostree-symlink-stamp tests/ostree-prepare-root-symlink-stamp \
|
||||||
tests/ostree-remount-symlink-stamp tests/rofiles-fuse-symlink-stamp
|
tests/ostree-remount-symlink-stamp tests/rofiles-fuse-symlink-stamp
|
||||||
|
|
@ -45,7 +47,6 @@ dist_test_scripts = \
|
||||||
tests/test-pull-subpath.sh \
|
tests/test-pull-subpath.sh \
|
||||||
tests/test-archivez.sh \
|
tests/test-archivez.sh \
|
||||||
tests/test-remote-add.sh \
|
tests/test-remote-add.sh \
|
||||||
tests/test-remote-cookies.sh \
|
|
||||||
tests/test-remote-headers.sh \
|
tests/test-remote-headers.sh \
|
||||||
tests/test-remote-gpg-import.sh \
|
tests/test-remote-gpg-import.sh \
|
||||||
tests/test-commit-sign.sh \
|
tests/test-commit-sign.sh \
|
||||||
|
|
@ -55,7 +56,6 @@ dist_test_scripts = \
|
||||||
tests/test-parent.sh \
|
tests/test-parent.sh \
|
||||||
tests/test-pull-archive-z.sh \
|
tests/test-pull-archive-z.sh \
|
||||||
tests/test-pull-commit-only.sh \
|
tests/test-pull-commit-only.sh \
|
||||||
tests/test-pull-corruption.sh \
|
|
||||||
tests/test-pull-depth.sh \
|
tests/test-pull-depth.sh \
|
||||||
tests/test-pull-mirror-summary.sh \
|
tests/test-pull-mirror-summary.sh \
|
||||||
tests/test-pull-large-metadata.sh \
|
tests/test-pull-large-metadata.sh \
|
||||||
|
|
@ -102,17 +102,20 @@ else
|
||||||
EXTRA_DIST += tests/test-rofiles-fuse.sh
|
EXTRA_DIST += tests/test-rofiles-fuse.sh
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# This one uses corrupt-repo-ref.js
|
if USE_LIBSOUP
|
||||||
js_tests = tests/test-corruption.sh
|
dist_test_scripts += tests/test-remote-cookies.sh
|
||||||
|
endif
|
||||||
|
|
||||||
|
# These call into gjs scripts
|
||||||
|
js_tests = tests/test-corruption.sh tests/test-pull-corruption.sh
|
||||||
if BUILDOPT_GJS
|
if BUILDOPT_GJS
|
||||||
dist_test_scripts += tests/test-corruption.sh
|
dist_test_scripts += $(js_tests)
|
||||||
else
|
else
|
||||||
EXTRA_DIST += $(js_tests)
|
EXTRA_DIST += $(js_tests)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dist_installed_test_data = tests/archive-test.sh \
|
dist_installed_test_data = tests/archive-test.sh \
|
||||||
tests/pull-test.sh \
|
tests/pull-test.sh \
|
||||||
tests/libtest.sh \
|
|
||||||
tests/admin-test.sh \
|
tests/admin-test.sh \
|
||||||
tests/basic-test.sh \
|
tests/basic-test.sh \
|
||||||
tests/test-basic-user.sh \
|
tests/test-basic-user.sh \
|
||||||
|
|
@ -121,6 +124,8 @@ dist_installed_test_data = tests/archive-test.sh \
|
||||||
tests/pre-endian-deltas-repo-little.tar.xz \
|
tests/pre-endian-deltas-repo-little.tar.xz \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
EXTRA_DIST += tests/libtest.sh
|
||||||
|
|
||||||
dist_test_extra_scripts = tests/bootloader-entries-crosscheck.py \
|
dist_test_extra_scripts = tests/bootloader-entries-crosscheck.py \
|
||||||
tests/ostree-grub-generator
|
tests/ostree-grub-generator
|
||||||
|
|
||||||
|
|
@ -276,10 +281,15 @@ tests/%-symlink-stamp: % Makefile
|
||||||
# non-recursive Automake, so we change our code to canonically look
|
# non-recursive Automake, so we change our code to canonically look
|
||||||
# for tests/ which is just a symlink when installed.
|
# for tests/ which is just a symlink when installed.
|
||||||
if ENABLE_INSTALLED_TESTS
|
if ENABLE_INSTALLED_TESTS
|
||||||
install-test-data-file-path-hack:
|
install-installed-tests-extra:
|
||||||
if test -L $(DESTDIR)$(installed_testdir)/tests; then \
|
if test -L $(DESTDIR)$(installed_testdir)/tests; then \
|
||||||
rm $(DESTDIR)$(installed_testdir)/tests; \
|
rm $(DESTDIR)$(installed_testdir)/tests; \
|
||||||
fi
|
fi
|
||||||
ln -s . $(DESTDIR)$(installed_testdir)/tests
|
ln -s . $(DESTDIR)$(installed_testdir)/tests
|
||||||
INSTALL_DATA_HOOKS += install-test-data-file-path-hack
|
if BUILDOPT_ASAN
|
||||||
|
sed -e 's,^BUILT_WITH_ASAN=.*,BUILT_WITH_ASAN=1,' < $(srcdir)/tests/libtest.sh > $(DESTDIR)$(installed_testdir)/tests/libtest.sh
|
||||||
|
else
|
||||||
|
install -m 0644 $(srcdir)/tests/libtest.sh $(DESTDIR)$(installed_testdir)/tests/libtest.sh
|
||||||
|
endif
|
||||||
|
INSTALL_DATA_HOOKS += install-installed-tests-extra
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
559
Makefile.in
559
Makefile.in
|
|
@ -48,6 +48,8 @@
|
||||||
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
# Boston, MA 02111-1307, USA.
|
# Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
# GLIB - Library of useful C routines
|
||||||
|
|
||||||
# Copyright (C) 2015 Colin Walters <walters@verbum.org>
|
# Copyright (C) 2015 Colin Walters <walters@verbum.org>
|
||||||
#
|
#
|
||||||
# This library is free software; you can redistribute it and/or
|
# This library is free software; you can redistribute it and/or
|
||||||
|
|
@ -219,8 +221,6 @@
|
||||||
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
# Boston, MA 02111-1307, USA.
|
# Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
# GLIB - Library of useful C routines
|
|
||||||
|
|
||||||
# Makefile for boot module
|
# Makefile for boot module
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
|
# Copyright (C) 2013 Colin Walters <walters@verbum.org>
|
||||||
|
|
@ -340,69 +340,24 @@ host_triplet = @host@
|
||||||
bin_PROGRAMS = ostree$(EXEEXT) $(am__EXEEXT_1)
|
bin_PROGRAMS = ostree$(EXEEXT) $(am__EXEEXT_1)
|
||||||
sbin_PROGRAMS =
|
sbin_PROGRAMS =
|
||||||
libexec_PROGRAMS =
|
libexec_PROGRAMS =
|
||||||
noinst_PROGRAMS = $(am__EXEEXT_7) tests/test-rollsum-cli$(EXEEXT)
|
noinst_PROGRAMS = $(am__EXEEXT_8) tests/test-rollsum-cli$(EXEEXT)
|
||||||
ostree_boot_PROGRAMS = $(am__EXEEXT_8) $(am__EXEEXT_9)
|
ostree_boot_PROGRAMS = $(am__EXEEXT_9) $(am__EXEEXT_10)
|
||||||
@ENABLE_GTK_DOC_TRUE@am__append_1 = apidoc
|
TESTS = $(am__EXEEXT_3) $(am__EXEEXT_12) \
|
||||||
@USE_LIBSOUP_TRUE@am__append_2 = $(srcdir)/src/libostree/ostree-fetcher.h
|
|
||||||
@USE_LIBSOUP_TRUE@am__append_3 = $(ENUM_GENERATED)
|
|
||||||
@USE_LIBARCHIVE_TRUE@am__append_4 = src/libostree/ostree-libarchive-input-stream.h \
|
|
||||||
@USE_LIBARCHIVE_TRUE@ src/libostree/ostree-libarchive-input-stream.c \
|
|
||||||
@USE_LIBARCHIVE_TRUE@ $(NULL)
|
|
||||||
|
|
||||||
@HAVE_LIBSOUP_CLIENT_CERTS_TRUE@am__append_5 = \
|
|
||||||
@HAVE_LIBSOUP_CLIENT_CERTS_TRUE@ src/libostree/ostree-tls-cert-interaction.c \
|
|
||||||
@HAVE_LIBSOUP_CLIENT_CERTS_TRUE@ src/libostree/ostree-tls-cert-interaction.h \
|
|
||||||
@HAVE_LIBSOUP_CLIENT_CERTS_TRUE@ $(NULL)
|
|
||||||
|
|
||||||
@USE_LIBARCHIVE_TRUE@am__append_6 = $(OT_DEP_LIBARCHIVE_CFLAGS)
|
|
||||||
@USE_LIBARCHIVE_TRUE@am__append_7 = $(OT_DEP_LIBARCHIVE_LIBS)
|
|
||||||
@BUILDOPT_LIBSYSTEMD_TRUE@am__append_8 = $(LIBSYSTEMD_CFLAGS)
|
|
||||||
@BUILDOPT_LIBSYSTEMD_TRUE@am__append_9 = $(LIBSYSTEMD_LIBS)
|
|
||||||
@USE_LIBSOUP_TRUE@am__append_10 = \
|
|
||||||
@USE_LIBSOUP_TRUE@ src/libostree/ostree-fetcher.h \
|
|
||||||
@USE_LIBSOUP_TRUE@ src/libostree/ostree-fetcher.c \
|
|
||||||
@USE_LIBSOUP_TRUE@ src/libostree/ostree-metalink.h \
|
|
||||||
@USE_LIBSOUP_TRUE@ src/libostree/ostree-metalink.c \
|
|
||||||
@USE_LIBSOUP_TRUE@ $(NULL)
|
|
||||||
|
|
||||||
@USE_LIBSOUP_TRUE@am__append_11 = $(OT_INTERNAL_SOUP_CFLAGS)
|
|
||||||
@USE_LIBSOUP_TRUE@am__append_12 = $(OT_INTERNAL_SOUP_LIBS)
|
|
||||||
@USE_LIBMOUNT_TRUE@am__append_13 = $(OT_DEP_LIBMOUNT_CFLAGS)
|
|
||||||
@USE_LIBMOUNT_TRUE@am__append_14 = $(OT_DEP_LIBMOUNT_LIBS)
|
|
||||||
@USE_SELINUX_TRUE@am__append_15 = $(OT_DEP_SELINUX_CFLAGS)
|
|
||||||
@USE_SELINUX_TRUE@am__append_16 = $(OT_DEP_SELINUX_LIBS)
|
|
||||||
@BUILDOPT_INTROSPECTION_TRUE@am__append_17 = OSTree-1.0.gir
|
|
||||||
@BUILDOPT_INTROSPECTION_TRUE@am__append_18 = OSTree-1.0.gir
|
|
||||||
@BUILDOPT_INTROSPECTION_TRUE@am__append_19 = OSTree-1.0.typelib
|
|
||||||
@BUILDOPT_INTROSPECTION_TRUE@am__append_20 = $(gir_DATA) $(typelib_DATA)
|
|
||||||
@USE_LIBSOUP_TRUE@am__append_21 = \
|
|
||||||
@USE_LIBSOUP_TRUE@ src/ostree/ot-builtin-pull.c \
|
|
||||||
@USE_LIBSOUP_TRUE@ src/ostree/ot-builtin-trivial-httpd.c \
|
|
||||||
@USE_LIBSOUP_TRUE@ $(NULL)
|
|
||||||
|
|
||||||
@USE_LIBSOUP_TRUE@am__append_22 = $(OT_INTERNAL_SOUP_CFLAGS)
|
|
||||||
@USE_LIBSOUP_TRUE@am__append_23 = $(OT_INTERNAL_SOUP_LIBS)
|
|
||||||
@USE_LIBARCHIVE_TRUE@am__append_24 = $(OT_DEP_LIBARCHIVE_CFLAGS)
|
|
||||||
@USE_LIBARCHIVE_TRUE@am__append_25 = $(OT_DEP_LIBARCHIVE_LIBS)
|
|
||||||
@BUILDOPT_SYSTEMD_TRUE@am__append_26 = ostree-remount
|
|
||||||
@BUILDOPT_USE_STATIC_COMPILER_FALSE@am__append_27 = ostree-prepare-root
|
|
||||||
@BUILDOPT_FUSE_TRUE@am__append_28 = rofiles-fuse
|
|
||||||
TESTS = $(am__EXEEXT_3) $(am__EXEEXT_11) \
|
|
||||||
$(dist_uninstalled_test_scripts)
|
$(dist_uninstalled_test_scripts)
|
||||||
installed_test_PROGRAMS = $(am__EXEEXT_6)
|
installed_test_PROGRAMS = $(am__EXEEXT_7)
|
||||||
check_PROGRAMS = $(am__EXEEXT_5)
|
check_PROGRAMS = $(am__EXEEXT_5) $(am__EXEEXT_6)
|
||||||
@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_29 = $(all_test_ltlibs)
|
@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_1 = $(all_test_ltlibs)
|
||||||
@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_30 = $(all_test_programs)
|
@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_2 = $(all_test_programs)
|
||||||
@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_31 = $(all_test_scripts)
|
@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_3 = $(all_test_scripts)
|
||||||
@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_32 = $(all_test_data)
|
@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_4 = $(all_test_data)
|
||||||
@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_33 = $(all_test_ltlibs)
|
@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_5 = $(all_test_ltlibs)
|
||||||
@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_34 = $(all_test_programs)
|
@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_6 = $(all_test_programs)
|
||||||
@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_35 = $(all_test_scripts)
|
@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_7 = $(all_test_scripts)
|
||||||
@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_36 = $(all_test_data)
|
@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_8 = $(all_test_data)
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@am__append_37 = $(test_programs) $(installed_test_programs) \
|
@ENABLE_INSTALLED_TESTS_TRUE@am__append_9 = $(test_programs) $(installed_test_programs) \
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(test_extra_programs) $(installed_test_extra_programs)
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(test_extra_programs) $(installed_test_extra_programs)
|
||||||
|
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@am__append_38 = $(test_scripts) \
|
@ENABLE_INSTALLED_TESTS_TRUE@am__append_10 = $(test_scripts) \
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(installed_test_scripts) \
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(installed_test_scripts) \
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(test_extra_scripts) \
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(test_extra_scripts) \
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(test_installed_extra_scripts) \
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(test_installed_extra_scripts) \
|
||||||
|
|
@ -410,29 +365,81 @@ check_PROGRAMS = $(am__EXEEXT_5)
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_extra_scripts) \
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_extra_scripts) \
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_scripts) \
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_scripts) \
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_extra_scripts)
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_extra_scripts)
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@am__append_39 = $(test_data) \
|
@ENABLE_INSTALLED_TESTS_TRUE@am__append_11 = $(test_data) \
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(installed_test_data) \
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(installed_test_data) \
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_data) \
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_data) \
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_data)
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_data)
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@am__append_40 = $(test_ltlibraries) $(installed_test_ltlibraries)
|
@ENABLE_INSTALLED_TESTS_TRUE@am__append_12 = $(test_ltlibraries) $(installed_test_ltlibraries)
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@am__append_41 = $(installed_test_meta_DATA)
|
@ENABLE_INSTALLED_TESTS_TRUE@am__append_13 = $(installed_test_meta_DATA)
|
||||||
|
@ENABLE_GTK_DOC_TRUE@am__append_14 = apidoc
|
||||||
|
@USE_LIBARCHIVE_TRUE@am__append_15 = src/libostree/ostree-libarchive-input-stream.h \
|
||||||
|
@USE_LIBARCHIVE_TRUE@ src/libostree/ostree-libarchive-input-stream.c \
|
||||||
|
@USE_LIBARCHIVE_TRUE@ src/libostree/ostree-libarchive-private.h \
|
||||||
|
@USE_LIBARCHIVE_TRUE@ $(NULL)
|
||||||
|
|
||||||
|
@HAVE_LIBSOUP_CLIENT_CERTS_TRUE@am__append_16 = \
|
||||||
|
@HAVE_LIBSOUP_CLIENT_CERTS_TRUE@ src/libostree/ostree-tls-cert-interaction.c \
|
||||||
|
@HAVE_LIBSOUP_CLIENT_CERTS_TRUE@ src/libostree/ostree-tls-cert-interaction.h \
|
||||||
|
@HAVE_LIBSOUP_CLIENT_CERTS_TRUE@ $(NULL)
|
||||||
|
|
||||||
|
@USE_LIBARCHIVE_TRUE@am__append_17 = $(OT_DEP_LIBARCHIVE_CFLAGS)
|
||||||
|
@USE_LIBARCHIVE_TRUE@am__append_18 = $(OT_DEP_LIBARCHIVE_LIBS)
|
||||||
|
@BUILDOPT_LIBSYSTEMD_TRUE@am__append_19 = $(LIBSYSTEMD_CFLAGS)
|
||||||
|
@BUILDOPT_LIBSYSTEMD_TRUE@am__append_20 = $(LIBSYSTEMD_LIBS)
|
||||||
|
@USE_LIBSOUP_TRUE@am__append_21 = \
|
||||||
|
@USE_LIBSOUP_TRUE@ src/libostree/ostree-fetcher.h \
|
||||||
|
@USE_LIBSOUP_TRUE@ src/libostree/ostree-fetcher.c \
|
||||||
|
@USE_LIBSOUP_TRUE@ src/libostree/ostree-metalink.h \
|
||||||
|
@USE_LIBSOUP_TRUE@ src/libostree/ostree-metalink.c \
|
||||||
|
@USE_LIBSOUP_TRUE@ $(NULL)
|
||||||
|
|
||||||
|
@USE_LIBSOUP_TRUE@am__append_22 = $(OT_INTERNAL_SOUP_CFLAGS)
|
||||||
|
@USE_LIBSOUP_TRUE@am__append_23 = $(OT_INTERNAL_SOUP_LIBS)
|
||||||
|
@USE_LIBMOUNT_TRUE@am__append_24 = $(OT_DEP_LIBMOUNT_CFLAGS)
|
||||||
|
@USE_LIBMOUNT_TRUE@am__append_25 = $(OT_DEP_LIBMOUNT_LIBS)
|
||||||
|
@USE_SELINUX_TRUE@am__append_26 = $(OT_DEP_SELINUX_CFLAGS)
|
||||||
|
@USE_SELINUX_TRUE@am__append_27 = $(OT_DEP_SELINUX_LIBS)
|
||||||
|
@BUILDOPT_INTROSPECTION_TRUE@am__append_28 = OSTree-1.0.gir
|
||||||
|
@BUILDOPT_INTROSPECTION_TRUE@am__append_29 = OSTree-1.0.gir
|
||||||
|
@BUILDOPT_INTROSPECTION_TRUE@am__append_30 = OSTree-1.0.typelib
|
||||||
|
@BUILDOPT_INTROSPECTION_TRUE@am__append_31 = $(gir_DATA) $(typelib_DATA)
|
||||||
|
@USE_LIBSOUP_TRUE@am__append_32 = \
|
||||||
|
@USE_LIBSOUP_TRUE@ src/ostree/ot-remote-builtin-add-cookie.c \
|
||||||
|
@USE_LIBSOUP_TRUE@ src/ostree/ot-remote-builtin-delete-cookie.c \
|
||||||
|
@USE_LIBSOUP_TRUE@ src/ostree/ot-remote-builtin-list-cookies.c \
|
||||||
|
@USE_LIBSOUP_TRUE@ $(NULL) src/ostree/ot-builtin-pull.c \
|
||||||
|
@USE_LIBSOUP_TRUE@ src/ostree/ot-builtin-trivial-httpd.c \
|
||||||
|
@USE_LIBSOUP_TRUE@ $(NULL)
|
||||||
|
@USE_LIBSOUP_TRUE@am__append_33 = $(OT_INTERNAL_SOUP_CFLAGS)
|
||||||
|
@USE_LIBSOUP_TRUE@am__append_34 = $(OT_INTERNAL_SOUP_LIBS)
|
||||||
|
@USE_LIBARCHIVE_TRUE@am__append_35 = $(OT_DEP_LIBARCHIVE_CFLAGS)
|
||||||
|
@USE_LIBARCHIVE_TRUE@am__append_36 = $(OT_DEP_LIBARCHIVE_LIBS)
|
||||||
|
@BUILDOPT_SYSTEMD_TRUE@am__append_37 = 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_38 = ostree-remount
|
||||||
|
@BUILDOPT_USE_STATIC_COMPILER_FALSE@am__append_39 = ostree-prepare-root
|
||||||
|
@BUILDOPT_FUSE_TRUE@am__append_40 = rofiles-fuse
|
||||||
|
@BUILDOPT_ASAN_TRUE@am__append_41 = OT_SKIP_READDIR_RAND=1 G_SLICE=always-malloc
|
||||||
@BUILDOPT_FUSE_TRUE@am__append_42 = tests/test-rofiles-fuse.sh
|
@BUILDOPT_FUSE_TRUE@am__append_42 = tests/test-rofiles-fuse.sh
|
||||||
@BUILDOPT_FUSE_FALSE@am__append_43 = tests/test-rofiles-fuse.sh
|
@BUILDOPT_FUSE_FALSE@am__append_43 = tests/test-rofiles-fuse.sh
|
||||||
@BUILDOPT_GJS_TRUE@am__append_44 = tests/test-corruption.sh
|
@USE_LIBSOUP_TRUE@am__append_44 = tests/test-remote-cookies.sh
|
||||||
@BUILDOPT_GJS_FALSE@am__append_45 = $(js_tests) $(js_installed_tests)
|
@BUILDOPT_GJS_TRUE@am__append_45 = $(js_tests)
|
||||||
@ENABLE_INSTALLED_TESTS_FALSE@am__append_46 = -rpath $(abs_builddir)
|
@BUILDOPT_GJS_FALSE@am__append_46 = $(js_tests)
|
||||||
@USE_LIBARCHIVE_TRUE@am__append_47 = tests/test-libarchive-import
|
@BUILDOPT_GJS_FALSE@am__append_47 = $(js_installed_tests)
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@am__append_48 = install-test-data-file-path-hack
|
@ENABLE_INSTALLED_TESTS_FALSE@am__append_48 = -rpath $(abs_builddir)
|
||||||
|
@USE_LIBARCHIVE_TRUE@am__append_49 = tests/test-libarchive-import
|
||||||
|
@ENABLE_INSTALLED_TESTS_TRUE@am__append_50 = install-installed-tests-extra
|
||||||
|
|
||||||
# Allow the distcheck install under $prefix test to pass
|
# Allow the distcheck install under $prefix test to pass
|
||||||
@BUILDOPT_SYSTEMD_TRUE@am__append_49 = --with-systemdsystemunitdir='$${libdir}/systemd/system'
|
@BUILDOPT_SYSTEMD_TRUE@am__append_51 = --with-systemdsystemunitdir='$${libdir}/systemd/system'
|
||||||
|
|
||||||
# We're using the system grub2-mkconfig generator
|
# We're using the system grub2-mkconfig generator
|
||||||
@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@am__append_50 = src/boot/grub2/grub2-15_ostree
|
@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@am__append_52 = src/boot/grub2/grub2-15_ostree
|
||||||
@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@am__append_51 = install-grub2-config-hook
|
@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@am__append_53 = install-grub2-config-hook
|
||||||
@BUILDOPT_FUSE_TRUE@@ENABLE_MAN_TRUE@am__append_52 = rofiles-fuse.1
|
@BUILDOPT_FUSE_TRUE@@ENABLE_MAN_TRUE@am__append_54 = rofiles-fuse.1
|
||||||
@ENABLE_MAN_TRUE@am__append_53 = $(man1_MANS) $(man5_MANS) $(man1_MANS:.1=.xml) $(man5_MANS:.5=.xml)
|
@ENABLE_MAN_TRUE@am__append_55 = $(man1_MANS) $(man5_MANS) $(man1_MANS:.1=.xml) $(man5_MANS:.5=.xml)
|
||||||
@ENABLE_MAN_TRUE@am__append_54 = \
|
@ENABLE_MAN_TRUE@am__append_56 = \
|
||||||
@ENABLE_MAN_TRUE@ $(man1_MANS) \
|
@ENABLE_MAN_TRUE@ $(man1_MANS) \
|
||||||
@ENABLE_MAN_TRUE@ $(man5_MANS) \
|
@ENABLE_MAN_TRUE@ $(man5_MANS) \
|
||||||
@ENABLE_MAN_TRUE@ $(NULL)
|
@ENABLE_MAN_TRUE@ $(NULL)
|
||||||
|
|
@ -617,13 +624,14 @@ am__libostree_1_la_SOURCES_DIST = src/libostree/ostree-enumtypes.h \
|
||||||
src/libostree/ostree-autocleanups.h \
|
src/libostree/ostree-autocleanups.h \
|
||||||
src/libostree/ostree-libarchive-input-stream.h \
|
src/libostree/ostree-libarchive-input-stream.h \
|
||||||
src/libostree/ostree-libarchive-input-stream.c \
|
src/libostree/ostree-libarchive-input-stream.c \
|
||||||
|
src/libostree/ostree-libarchive-private.h \
|
||||||
src/libostree/ostree-tls-cert-interaction.c \
|
src/libostree/ostree-tls-cert-interaction.c \
|
||||||
src/libostree/ostree-tls-cert-interaction.h \
|
src/libostree/ostree-tls-cert-interaction.h \
|
||||||
src/libostree/ostree-fetcher.h src/libostree/ostree-fetcher.c \
|
src/libostree/ostree-fetcher.h src/libostree/ostree-fetcher.c \
|
||||||
src/libostree/ostree-metalink.h \
|
src/libostree/ostree-metalink.h \
|
||||||
src/libostree/ostree-metalink.c
|
src/libostree/ostree-metalink.c
|
||||||
@USE_LIBSOUP_TRUE@am__objects_2 = src/libostree/libostree_1_la-ostree-enumtypes.lo \
|
am__objects_2 = src/libostree/libostree_1_la-ostree-enumtypes.lo \
|
||||||
@USE_LIBSOUP_TRUE@ $(am__objects_1)
|
$(am__objects_1)
|
||||||
@USE_LIBARCHIVE_TRUE@am__objects_3 = src/libostree/libostree_1_la-ostree-libarchive-input-stream.lo \
|
@USE_LIBARCHIVE_TRUE@am__objects_3 = src/libostree/libostree_1_la-ostree-libarchive-input-stream.lo \
|
||||||
@USE_LIBARCHIVE_TRUE@ $(am__objects_1)
|
@USE_LIBARCHIVE_TRUE@ $(am__objects_1)
|
||||||
@HAVE_LIBSOUP_CLIENT_CERTS_TRUE@am__objects_4 = src/libostree/libostree_1_la-ostree-tls-cert-interaction.lo \
|
@HAVE_LIBSOUP_CLIENT_CERTS_TRUE@am__objects_4 = src/libostree/libostree_1_la-ostree-tls-cert-interaction.lo \
|
||||||
|
|
@ -746,10 +754,11 @@ am__EXEEXT_3 = tests/test-varint$(EXEEXT) \
|
||||||
$(am__EXEEXT_2)
|
$(am__EXEEXT_2)
|
||||||
am__EXEEXT_4 = $(am__EXEEXT_3)
|
am__EXEEXT_4 = $(am__EXEEXT_3)
|
||||||
@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__EXEEXT_5 = $(am__EXEEXT_4)
|
@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__EXEEXT_5 = $(am__EXEEXT_4)
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@am__EXEEXT_6 = $(am__EXEEXT_3)
|
@BUILDOPT_SYSTEMD_FALSE@am__EXEEXT_6 = ostree-remount$(EXEEXT)
|
||||||
@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__EXEEXT_7 = $(am__EXEEXT_4)
|
@ENABLE_INSTALLED_TESTS_TRUE@am__EXEEXT_7 = $(am__EXEEXT_3)
|
||||||
@BUILDOPT_SYSTEMD_TRUE@am__EXEEXT_8 = ostree-remount$(EXEEXT)
|
@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__EXEEXT_8 = $(am__EXEEXT_4)
|
||||||
@BUILDOPT_USE_STATIC_COMPILER_FALSE@am__EXEEXT_9 = ostree-prepare-root$(EXEEXT)
|
@BUILDOPT_SYSTEMD_TRUE@am__EXEEXT_9 = ostree-remount$(EXEEXT)
|
||||||
|
@BUILDOPT_USE_STATIC_COMPILER_FALSE@am__EXEEXT_10 = ostree-prepare-root$(EXEEXT)
|
||||||
PROGRAMS = $(bin_PROGRAMS) $(installed_test_PROGRAMS) \
|
PROGRAMS = $(bin_PROGRAMS) $(installed_test_PROGRAMS) \
|
||||||
$(libexec_PROGRAMS) $(noinst_PROGRAMS) $(ostree_boot_PROGRAMS) \
|
$(libexec_PROGRAMS) $(noinst_PROGRAMS) $(ostree_boot_PROGRAMS) \
|
||||||
$(sbin_PROGRAMS)
|
$(sbin_PROGRAMS)
|
||||||
|
|
@ -792,18 +801,21 @@ am__ostree_SOURCES_DIST = src/ostree/main.c \
|
||||||
src/ostree/ot-admin-functions.c \
|
src/ostree/ot-admin-functions.c \
|
||||||
src/ostree/ot-remote-builtins.h \
|
src/ostree/ot-remote-builtins.h \
|
||||||
src/ostree/ot-remote-builtin-add.c \
|
src/ostree/ot-remote-builtin-add.c \
|
||||||
src/ostree/ot-remote-builtin-add-cookie.c \
|
|
||||||
src/ostree/ot-remote-builtin-delete.c \
|
src/ostree/ot-remote-builtin-delete.c \
|
||||||
src/ostree/ot-remote-builtin-delete-cookie.c \
|
|
||||||
src/ostree/ot-remote-builtin-gpg-import.c \
|
src/ostree/ot-remote-builtin-gpg-import.c \
|
||||||
src/ostree/ot-remote-builtin-list.c \
|
src/ostree/ot-remote-builtin-list.c \
|
||||||
src/ostree/ot-remote-builtin-list-cookies.c \
|
|
||||||
src/ostree/ot-remote-builtin-show-url.c \
|
src/ostree/ot-remote-builtin-show-url.c \
|
||||||
src/ostree/ot-remote-builtin-refs.c \
|
src/ostree/ot-remote-builtin-refs.c \
|
||||||
src/ostree/ot-remote-builtin-summary.c \
|
src/ostree/ot-remote-builtin-summary.c \
|
||||||
|
src/ostree/ot-remote-builtin-add-cookie.c \
|
||||||
|
src/ostree/ot-remote-builtin-delete-cookie.c \
|
||||||
|
src/ostree/ot-remote-builtin-list-cookies.c \
|
||||||
src/ostree/ot-builtin-pull.c \
|
src/ostree/ot-builtin-pull.c \
|
||||||
src/ostree/ot-builtin-trivial-httpd.c
|
src/ostree/ot-builtin-trivial-httpd.c
|
||||||
@USE_LIBSOUP_TRUE@am__objects_6 = \
|
@USE_LIBSOUP_TRUE@am__objects_6 = src/ostree/ostree-ot-remote-builtin-add-cookie.$(OBJEXT) \
|
||||||
|
@USE_LIBSOUP_TRUE@ src/ostree/ostree-ot-remote-builtin-delete-cookie.$(OBJEXT) \
|
||||||
|
@USE_LIBSOUP_TRUE@ src/ostree/ostree-ot-remote-builtin-list-cookies.$(OBJEXT) \
|
||||||
|
@USE_LIBSOUP_TRUE@ $(am__objects_1) \
|
||||||
@USE_LIBSOUP_TRUE@ src/ostree/ostree-ot-builtin-pull.$(OBJEXT) \
|
@USE_LIBSOUP_TRUE@ src/ostree/ostree-ot-builtin-pull.$(OBJEXT) \
|
||||||
@USE_LIBSOUP_TRUE@ src/ostree/ostree-ot-builtin-trivial-httpd.$(OBJEXT) \
|
@USE_LIBSOUP_TRUE@ src/ostree/ostree-ot-builtin-trivial-httpd.$(OBJEXT) \
|
||||||
@USE_LIBSOUP_TRUE@ $(am__objects_1)
|
@USE_LIBSOUP_TRUE@ $(am__objects_1)
|
||||||
|
|
@ -852,12 +864,9 @@ am_ostree_OBJECTS = src/ostree/ostree-main.$(OBJEXT) \
|
||||||
src/ostree/ostree-ot-admin-functions.$(OBJEXT) \
|
src/ostree/ostree-ot-admin-functions.$(OBJEXT) \
|
||||||
$(am__objects_1) \
|
$(am__objects_1) \
|
||||||
src/ostree/ostree-ot-remote-builtin-add.$(OBJEXT) \
|
src/ostree/ostree-ot-remote-builtin-add.$(OBJEXT) \
|
||||||
src/ostree/ostree-ot-remote-builtin-add-cookie.$(OBJEXT) \
|
|
||||||
src/ostree/ostree-ot-remote-builtin-delete.$(OBJEXT) \
|
src/ostree/ostree-ot-remote-builtin-delete.$(OBJEXT) \
|
||||||
src/ostree/ostree-ot-remote-builtin-delete-cookie.$(OBJEXT) \
|
|
||||||
src/ostree/ostree-ot-remote-builtin-gpg-import.$(OBJEXT) \
|
src/ostree/ostree-ot-remote-builtin-gpg-import.$(OBJEXT) \
|
||||||
src/ostree/ostree-ot-remote-builtin-list.$(OBJEXT) \
|
src/ostree/ostree-ot-remote-builtin-list.$(OBJEXT) \
|
||||||
src/ostree/ostree-ot-remote-builtin-list-cookies.$(OBJEXT) \
|
|
||||||
src/ostree/ostree-ot-remote-builtin-show-url.$(OBJEXT) \
|
src/ostree/ostree-ot-remote-builtin-show-url.$(OBJEXT) \
|
||||||
src/ostree/ostree-ot-remote-builtin-refs.$(OBJEXT) \
|
src/ostree/ostree-ot-remote-builtin-refs.$(OBJEXT) \
|
||||||
src/ostree/ostree-ot-remote-builtin-summary.$(OBJEXT) \
|
src/ostree/ostree-ot-remote-builtin-summary.$(OBJEXT) \
|
||||||
|
|
@ -1324,15 +1333,14 @@ am__set_TESTS_bases = \
|
||||||
bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
|
bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
|
||||||
bases=`echo $$bases`
|
bases=`echo $$bases`
|
||||||
RECHECK_LOGS = $(TEST_LOGS)
|
RECHECK_LOGS = $(TEST_LOGS)
|
||||||
am__EXEEXT_10 =
|
am__EXEEXT_11 =
|
||||||
am__EXEEXT_11 = tests/test-basic.sh tests/test-pull-subpath.sh \
|
am__EXEEXT_12 = tests/test-basic.sh tests/test-pull-subpath.sh \
|
||||||
tests/test-archivez.sh tests/test-remote-add.sh \
|
tests/test-archivez.sh tests/test-remote-add.sh \
|
||||||
tests/test-remote-cookies.sh tests/test-remote-headers.sh \
|
tests/test-remote-headers.sh tests/test-remote-gpg-import.sh \
|
||||||
tests/test-remote-gpg-import.sh tests/test-commit-sign.sh \
|
tests/test-commit-sign.sh tests/test-export.sh \
|
||||||
tests/test-export.sh tests/test-help.sh \
|
tests/test-help.sh tests/test-libarchive.sh \
|
||||||
tests/test-libarchive.sh tests/test-parent.sh \
|
tests/test-parent.sh tests/test-pull-archive-z.sh \
|
||||||
tests/test-pull-archive-z.sh tests/test-pull-commit-only.sh \
|
tests/test-pull-commit-only.sh tests/test-pull-depth.sh \
|
||||||
tests/test-pull-corruption.sh tests/test-pull-depth.sh \
|
|
||||||
tests/test-pull-mirror-summary.sh \
|
tests/test-pull-mirror-summary.sh \
|
||||||
tests/test-pull-large-metadata.sh tests/test-pull-metalink.sh \
|
tests/test-pull-large-metadata.sh tests/test-pull-metalink.sh \
|
||||||
tests/test-pull-summary-sigs.sh tests/test-pull-resume.sh \
|
tests/test-pull-summary-sigs.sh tests/test-pull-resume.sh \
|
||||||
|
|
@ -1357,8 +1365,8 @@ am__EXEEXT_11 = tests/test-basic.sh tests/test-pull-subpath.sh \
|
||||||
tests/test-auto-summary.sh tests/test-prune.sh \
|
tests/test-auto-summary.sh tests/test-prune.sh \
|
||||||
tests/test-refs.sh tests/test-demo-buildsystem.sh \
|
tests/test-refs.sh tests/test-demo-buildsystem.sh \
|
||||||
tests/test-switchroot.sh tests/test-pull-contenturl.sh \
|
tests/test-switchroot.sh tests/test-pull-contenturl.sh \
|
||||||
tests/test-pull-mirrorlist.sh $(am__EXEEXT_10) \
|
tests/test-pull-mirrorlist.sh $(am__EXEEXT_11) \
|
||||||
$(am__append_42) $(am__append_44)
|
$(am__append_42) $(am__append_44) $(am__append_45)
|
||||||
TEST_SUITE_LOG = test-suite.log
|
TEST_SUITE_LOG = test-suite.log
|
||||||
TEST_EXTENSIONS = @EXEEXT@ .test
|
TEST_EXTENSIONS = @EXEEXT@ .test
|
||||||
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
|
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
|
||||||
|
|
@ -1634,60 +1642,112 @@ AM_CPPFLAGS = -DDATADIR='"$(datadir)"' -DLIBEXECDIR='"$(libexecdir)"' \
|
||||||
-DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_2_48
|
-DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_2_48
|
||||||
AM_CFLAGS = -std=gnu99 $(WARN_CFLAGS)
|
AM_CFLAGS = -std=gnu99 $(WARN_CFLAGS)
|
||||||
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-man \
|
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-man \
|
||||||
--disable-maintainer-mode $(NULL) $(am__append_49)
|
--disable-maintainer-mode $(NULL) $(am__append_51)
|
||||||
SUBDIRS = . $(am__append_1)
|
SUBDIRS = . $(am__append_14)
|
||||||
NULL =
|
NULL =
|
||||||
BUILT_SOURCES = $(am__append_3)
|
BUILT_SOURCES = $(ENUM_GENERATED)
|
||||||
MANPAGES =
|
MANPAGES =
|
||||||
CLEANFILES = $(BUILT_SOURCES) $(am__append_20) \
|
CLEANFILES = $(am__append_13) $(BUILT_SOURCES) $(am__append_31) \
|
||||||
src/ostree/parse-datetime.c $(am__append_41) \
|
src/ostree/parse-datetime.c tests/libreaddir-rand.so \
|
||||||
tests/libreaddir-rand.so tests/ostree-symlink-stamp \
|
tests/ostree-symlink-stamp \
|
||||||
tests/ostree-prepare-root-symlink-stamp \
|
tests/ostree-prepare-root-symlink-stamp \
|
||||||
tests/ostree-remount-symlink-stamp \
|
tests/ostree-remount-symlink-stamp \
|
||||||
tests/rofiles-fuse-symlink-stamp tests/ostree \
|
tests/rofiles-fuse-symlink-stamp tests/ostree \
|
||||||
tests/ostree-prepare-root tests/ostree-remount \
|
tests/ostree-prepare-root tests/ostree-remount \
|
||||||
tests/rofiles-fuse $(am__append_54)
|
tests/rofiles-fuse $(am__append_56)
|
||||||
EXTRA_DIST = autogen.sh COPYING README.md libglnx/README.md \
|
EXTRA_DIST = $(all_dist_test_scripts) $(all_dist_test_data) autogen.sh \
|
||||||
libglnx/COPYING libglnx/libglnx.m4 $(NULL) \
|
COPYING README.md libglnx/README.md libglnx/COPYING \
|
||||||
libglnx/Makefile-libglnx.am bsdiff/bsdiff.h bsdiff/bspatch.h \
|
libglnx/libglnx.m4 $(NULL) libglnx/Makefile-libglnx.am \
|
||||||
bsdiff/LICENSE bsdiff/README.md bsdiff/Makefile-bsdiff.am \
|
bsdiff/bsdiff.h bsdiff/bspatch.h bsdiff/LICENSE \
|
||||||
|
bsdiff/README.md bsdiff/Makefile-bsdiff.am \
|
||||||
src/libostree/libostree.sym src/libostree/README-gpg \
|
src/libostree/libostree.sym src/libostree/README-gpg \
|
||||||
src/libostree/bupsplit.h \
|
src/libostree/bupsplit.h \
|
||||||
src/libostree/ostree-enumtypes.h.template \
|
src/libostree/ostree-enumtypes.h.template \
|
||||||
src/libostree/ostree-enumtypes.c.template \
|
src/libostree/ostree-enumtypes.c.template \
|
||||||
src/libostree/ostree-deployment-private.h \
|
src/libostree/ostree-deployment-private.h \
|
||||||
src/libostree/ostree-repo-deprecated.h \
|
src/libostree/ostree-repo-deprecated.h \
|
||||||
src/ostree/parse-datetime.y $(all_dist_test_scripts) \
|
src/ostree/parse-datetime.y buildutil/tap-driver.sh \
|
||||||
$(all_dist_test_data) buildutil/tap-driver.sh \
|
|
||||||
buildutil/tap-test tests/glib.supp tests/ostree.supp $(NULL) \
|
buildutil/tap-test tests/glib.supp tests/ostree.supp $(NULL) \
|
||||||
$(am__append_43) $(am__append_45) tests/libostreetest.h \
|
$(am__append_43) $(am__append_46) tests/libtest.sh \
|
||||||
tests/libtest.sh tests/gpg-verify-data/README.md $(NULL) \
|
$(am__append_47) tests/libostreetest.h tests/libtest.sh \
|
||||||
|
tests/gpg-verify-data/README.md $(NULL) \
|
||||||
src/boot/dracut/module-setup.sh src/boot/dracut/ostree.conf \
|
src/boot/dracut/module-setup.sh src/boot/dracut/ostree.conf \
|
||||||
src/boot/mkinitcpio/ostree \
|
src/boot/mkinitcpio/ostree \
|
||||||
src/boot/ostree-prepare-root.service \
|
src/boot/ostree-prepare-root.service \
|
||||||
src/boot/ostree-remount.service src/boot/grub2/grub2-15_ostree \
|
src/boot/ostree-remount.service src/boot/grub2/grub2-15_ostree \
|
||||||
src/boot/grub2/ostree-grub-generator $(NULL) $(am__append_53)
|
src/boot/grub2/ostree-grub-generator $(NULL) $(am__append_55)
|
||||||
bin_SCRIPTS =
|
bin_SCRIPTS =
|
||||||
lib_LTLIBRARIES = libostree-1.la
|
lib_LTLIBRARIES = libostree-1.la
|
||||||
pkglibexec_SCRIPTS = $(am__append_50)
|
pkglibexec_SCRIPTS = $(am__append_52)
|
||||||
noinst_LTLIBRARIES = libglnx.la libbsdiff.la libotutil.la \
|
noinst_LTLIBRARIES = $(am__append_1) libglnx.la libbsdiff.la \
|
||||||
libostree-kernel-args.la libbupsplit.la $(am__append_29) \
|
libotutil.la libostree-kernel-args.la libbupsplit.la \
|
||||||
libostreetest.la
|
libostreetest.la
|
||||||
privlibdir = $(pkglibdir)
|
privlibdir = $(pkglibdir)
|
||||||
privlib_LTLIBRARIES =
|
privlib_LTLIBRARIES =
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = src/libostree/ostree-1.pc
|
pkgconfig_DATA = src/libostree/ostree-1.pc
|
||||||
INTROSPECTION_GIRS = $(am__append_17)
|
INTROSPECTION_GIRS = $(am__append_28)
|
||||||
girdir = $(datadir)/gir-1.0
|
girdir = $(datadir)/gir-1.0
|
||||||
gir_DATA = $(am__append_18)
|
gir_DATA = $(am__append_29)
|
||||||
typelibdir = $(libdir)/girepository-1.0
|
typelibdir = $(libdir)/girepository-1.0
|
||||||
typelib_DATA = $(am__append_19)
|
typelib_DATA = $(am__append_30)
|
||||||
gsettings_SCHEMAS =
|
gsettings_SCHEMAS =
|
||||||
ostree_bootdir = $(prefix)/lib/ostree
|
ostree_bootdir = $(prefix)/lib/ostree
|
||||||
|
|
||||||
|
# We should probably consider flipping the default for DEBUG. Also,
|
||||||
|
# include the builddir in $PATH so we find our just-built ostree
|
||||||
|
# binary.
|
||||||
|
TESTS_ENVIRONMENT = G_TEST_SRCDIR="$(abs_srcdir)" \
|
||||||
|
G_TEST_BUILDDIR="$(abs_builddir)" UNINSTALLEDTESTS=1 \
|
||||||
|
G_DEBUG=gc-friendly MALLOC_CHECK_=2 \
|
||||||
|
MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) OT_TESTS_DEBUG=1 \
|
||||||
|
G_DEBUG=fatal-warnings GI_TYPELIB_PATH=$$(cd $(top_builddir) \
|
||||||
|
&& pwd)$${GI_TYPELIB_PATH:+:$$GI_TYPELIB_PATH} \
|
||||||
|
LD_LIBRARY_PATH=$$(cd $(top_builddir)/.libs && \
|
||||||
|
pwd)$${LD_LIBRARY_PATH:+:$${LD_LIBRARY_PATH}} PATH=$$(cd \
|
||||||
|
$(top_builddir)/tests && pwd):$${PATH} $(NULL) \
|
||||||
|
$(am__append_41)
|
||||||
|
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)
|
||||||
|
installed_test_SCRIPTS = $(am__append_10)
|
||||||
|
installed_test_DATA = $(am__append_11)
|
||||||
|
nobase_installed_test_DATA =
|
||||||
|
noinst_SCRIPTS = $(am__append_3)
|
||||||
|
noinst_DATA = $(am__append_4)
|
||||||
|
check_LTLIBRARIES = $(am__append_5)
|
||||||
|
check_SCRIPTS = $(am__append_7)
|
||||||
|
check_DATA = $(am__append_8)
|
||||||
|
|
||||||
|
# Note: build even the installed-only targets during 'make check' to ensure that they still work.
|
||||||
|
# We need to do a bit of trickery here and manage disting via EXTRA_DIST instead of using dist_ prefixes to
|
||||||
|
# prevent automake from mistreating gmake functions like $(wildcard ...) and $(addprefix ...) as if they were
|
||||||
|
# filenames, including removing duplicate instances of the opening part before the space, eg. '$(addprefix'.
|
||||||
|
all_test_programs = $(test_programs) $(uninstalled_test_programs) $(installed_test_programs) \
|
||||||
|
$(test_extra_programs) $(uninstalled_test_extra_programs) $(installed_test_extra_programs)
|
||||||
|
|
||||||
|
all_test_scripts = $(test_scripts) $(uninstalled_test_scripts) \
|
||||||
|
$(installed_test_scripts) $(test_extra_scripts) \
|
||||||
|
$(uninstalled_test_extra_scripts) \
|
||||||
|
$(installed_test_extra_scripts) $(all_dist_test_scripts)
|
||||||
|
all_dist_test_scripts = $(dist_test_scripts) $(dist_uninstalled_test_scripts) $(dist_installed_test_scripts) \
|
||||||
|
$(dist_test_extra_scripts) $(dist_uninstalled_test_extra_scripts) $(dist_installed_test_extra_scripts)
|
||||||
|
|
||||||
|
all_test_data = $(test_data) $(uninstalled_test_data) \
|
||||||
|
$(installed_test_data) $(all_dist_test_data)
|
||||||
|
all_dist_test_data = $(dist_test_data) $(dist_uninstalled_test_data) $(dist_installed_test_data)
|
||||||
|
all_test_ltlibs = $(test_ltlibraries) $(uninstalled_test_ltlibraries) $(installed_test_ltlibraries)
|
||||||
|
@ENABLE_INSTALLED_TESTS_TRUE@installed_testcases = $(test_programs) $(installed_test_programs) \
|
||||||
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(test_scripts) $(installed_test_scripts) \
|
||||||
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_scripts) $(dist_installed_test_scripts)
|
||||||
|
|
||||||
|
@ENABLE_INSTALLED_TESTS_TRUE@installed_test_meta_DATA = $(installed_testcases:=.test)
|
||||||
|
|
||||||
|
# This initializes some more variables
|
||||||
|
|
||||||
# This is a special facility to chain together hooks easily
|
# This is a special facility to chain together hooks easily
|
||||||
INSTALL_DATA_HOOKS = install-mkdir-remotes-d-hook $(am__append_48) \
|
INSTALL_DATA_HOOKS = install-mkdir-remotes-d-hook $(am__append_50) \
|
||||||
$(am__append_51)
|
$(am__append_53)
|
||||||
ALL_LOCAL_RULES = tests/libreaddir-rand.so
|
ALL_LOCAL_RULES = tests/libreaddir-rand.so
|
||||||
shortened_sysconfdir = $$(echo "$(sysconfdir)" | sed -e 's|^$(prefix)||' -e 's|^/||')
|
shortened_sysconfdir = $$(echo "$(sysconfdir)" | sed -e 's|^$(prefix)||' -e 's|^/||')
|
||||||
ACLOCAL_AMFLAGS = -I buildutil -I libglnx ${ACLOCAL_FLAGS}
|
ACLOCAL_AMFLAGS = -I buildutil -I libglnx ${ACLOCAL_FLAGS}
|
||||||
|
|
@ -1802,11 +1862,11 @@ libostree_kernel_args_la_CFLAGS = -I$(srcdir)/libglnx $(OT_INTERNAL_GIO_UNIX_CFL
|
||||||
libostree_kernel_args_la_LIBADD = $(OT_INTERNAL_GIO_UNIX_LIBS)
|
libostree_kernel_args_la_LIBADD = $(OT_INTERNAL_GIO_UNIX_LIBS)
|
||||||
libostreeincludedir = $(includedir)/ostree-1
|
libostreeincludedir = $(includedir)/ostree-1
|
||||||
libostreeinclude_HEADERS = $(libostree_public_headers)
|
libostreeinclude_HEADERS = $(libostree_public_headers)
|
||||||
ENUM_TYPES = $(NULL) $(am__append_2)
|
ENUM_TYPES = $(NULL) $(srcdir)/src/libostree/ostree-fetcher.h
|
||||||
@USE_LIBSOUP_TRUE@ENUM_GENERATED = \
|
ENUM_GENERATED = \
|
||||||
@USE_LIBSOUP_TRUE@ src/libostree/ostree-enumtypes.h \
|
src/libostree/ostree-enumtypes.h \
|
||||||
@USE_LIBSOUP_TRUE@ src/libostree/ostree-enumtypes.c \
|
src/libostree/ostree-enumtypes.c \
|
||||||
@USE_LIBSOUP_TRUE@ $(NULL)
|
$(NULL)
|
||||||
|
|
||||||
libbupsplit_la_SOURCES = \
|
libbupsplit_la_SOURCES = \
|
||||||
src/libostree/bupsplit.h \
|
src/libostree/bupsplit.h \
|
||||||
|
|
@ -1872,8 +1932,8 @@ libostree_1_la_SOURCES = $(ENUM_GENERATED) \
|
||||||
src/libostree/ostree-gpg-verifier.h \
|
src/libostree/ostree-gpg-verifier.h \
|
||||||
src/libostree/ostree-gpg-verify-result.c \
|
src/libostree/ostree-gpg-verify-result.c \
|
||||||
src/libostree/ostree-gpg-verify-result-private.h \
|
src/libostree/ostree-gpg-verify-result-private.h \
|
||||||
src/libostree/ostree-autocleanups.h $(NULL) $(am__append_4) \
|
src/libostree/ostree-autocleanups.h $(NULL) $(am__append_15) \
|
||||||
$(am__append_5) $(am__append_10)
|
$(am__append_16) $(am__append_21)
|
||||||
libostree_1_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/bsdiff \
|
libostree_1_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/bsdiff \
|
||||||
-I$(srcdir)/libglnx -I$(srcdir)/src/libotutil \
|
-I$(srcdir)/libglnx -I$(srcdir)/src/libotutil \
|
||||||
-I$(srcdir)/src/libostree -I$(builddir)/src/libostree \
|
-I$(srcdir)/src/libostree -I$(builddir)/src/libostree \
|
||||||
|
|
@ -1881,15 +1941,15 @@ libostree_1_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/bsdiff \
|
||||||
$(OT_DEP_LZMA_CFLAGS) $(OT_DEP_ZLIB_CFLAGS) \
|
$(OT_DEP_LZMA_CFLAGS) $(OT_DEP_ZLIB_CFLAGS) \
|
||||||
-fvisibility=hidden \
|
-fvisibility=hidden \
|
||||||
'-D_OSTREE_PUBLIC=__attribute__((visibility("default"))) \
|
'-D_OSTREE_PUBLIC=__attribute__((visibility("default"))) \
|
||||||
extern' $(am__append_6) $(am__append_8) $(am__append_11) \
|
extern' $(am__append_17) $(am__append_19) $(am__append_22) \
|
||||||
$(am__append_13) $(am__append_15)
|
$(am__append_24) $(am__append_26)
|
||||||
libostree_1_la_LDFLAGS = -version-number 1:0:0 -Bsymbolic-functions -Wl,--version-script=$(top_srcdir)/src/libostree/libostree.sym
|
libostree_1_la_LDFLAGS = -version-number 1:0:0 -Bsymbolic-functions -Wl,--version-script=$(top_srcdir)/src/libostree/libostree.sym
|
||||||
libostree_1_la_LIBADD = libotutil.la libbupsplit.la libglnx.la \
|
libostree_1_la_LIBADD = libotutil.la libbupsplit.la libglnx.la \
|
||||||
libbsdiff.la libostree-kernel-args.la \
|
libbsdiff.la libostree-kernel-args.la \
|
||||||
$(OT_INTERNAL_GIO_UNIX_LIBS) $(OT_INTERNAL_GPGME_LIBS) \
|
$(OT_INTERNAL_GIO_UNIX_LIBS) $(OT_INTERNAL_GPGME_LIBS) \
|
||||||
$(OT_DEP_LZMA_LIBS) $(OT_DEP_ZLIB_LIBS) $(am__append_7) \
|
$(OT_DEP_LZMA_LIBS) $(OT_DEP_ZLIB_LIBS) $(am__append_18) \
|
||||||
$(am__append_9) $(am__append_12) $(am__append_14) \
|
$(am__append_20) $(am__append_23) $(am__append_25) \
|
||||||
$(am__append_16)
|
$(am__append_27)
|
||||||
EXTRA_libostree_1_la_DEPENDENCIES = $(top_srcdir)/src/libostree/libostree.sym
|
EXTRA_libostree_1_la_DEPENDENCIES = $(top_srcdir)/src/libostree/libostree.sym
|
||||||
@BUILDOPT_INTROSPECTION_TRUE@OSTree_1_0_gir_EXPORT_PACKAGES = ostree-1
|
@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_INCLUDES = Gio-2.0
|
||||||
|
|
@ -1942,25 +2002,22 @@ ostree_SOURCES = src/ostree/main.c src/ostree/ot-builtin-admin.c \
|
||||||
src/ostree/ot-admin-functions.c $(NULL) \
|
src/ostree/ot-admin-functions.c $(NULL) \
|
||||||
src/ostree/ot-remote-builtins.h \
|
src/ostree/ot-remote-builtins.h \
|
||||||
src/ostree/ot-remote-builtin-add.c \
|
src/ostree/ot-remote-builtin-add.c \
|
||||||
src/ostree/ot-remote-builtin-add-cookie.c \
|
|
||||||
src/ostree/ot-remote-builtin-delete.c \
|
src/ostree/ot-remote-builtin-delete.c \
|
||||||
src/ostree/ot-remote-builtin-delete-cookie.c \
|
|
||||||
src/ostree/ot-remote-builtin-gpg-import.c \
|
src/ostree/ot-remote-builtin-gpg-import.c \
|
||||||
src/ostree/ot-remote-builtin-list.c \
|
src/ostree/ot-remote-builtin-list.c \
|
||||||
src/ostree/ot-remote-builtin-list-cookies.c \
|
|
||||||
src/ostree/ot-remote-builtin-show-url.c \
|
src/ostree/ot-remote-builtin-show-url.c \
|
||||||
src/ostree/ot-remote-builtin-refs.c \
|
src/ostree/ot-remote-builtin-refs.c \
|
||||||
src/ostree/ot-remote-builtin-summary.c $(NULL) \
|
src/ostree/ot-remote-builtin-summary.c $(NULL) \
|
||||||
$(am__append_21)
|
$(am__append_32)
|
||||||
ostree_bin_shared_cflags = $(AM_CFLAGS) -I$(srcdir)/src/libotutil -I$(srcdir)/src/libostree -I$(srcdir)/src/ostree \
|
ostree_bin_shared_cflags = $(AM_CFLAGS) -I$(srcdir)/src/libotutil -I$(srcdir)/src/libostree -I$(srcdir)/src/ostree \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ostree_bin_shared_ldadd = libglnx.la libbsdiff.la libotutil.la libostree-kernel-args.la libostree-1.la
|
ostree_bin_shared_ldadd = libglnx.la libbsdiff.la libotutil.la libostree-kernel-args.la libostree-1.la
|
||||||
ostree_CFLAGS = $(ostree_bin_shared_cflags) \
|
ostree_CFLAGS = $(ostree_bin_shared_cflags) \
|
||||||
$(OT_INTERNAL_GIO_UNIX_CFLAGS) -I$(srcdir)/libglnx \
|
$(OT_INTERNAL_GIO_UNIX_CFLAGS) -I$(srcdir)/libglnx \
|
||||||
$(am__append_22) $(am__append_24)
|
$(am__append_33) $(am__append_35)
|
||||||
ostree_LDADD = $(ostree_bin_shared_ldadd) $(OT_INTERNAL_GIO_UNIX_LIBS) \
|
ostree_LDADD = $(ostree_bin_shared_ldadd) $(OT_INTERNAL_GIO_UNIX_LIBS) \
|
||||||
$(LIBSYSTEMD_LIBS) $(am__append_23) $(am__append_25)
|
$(LIBSYSTEMD_LIBS) $(am__append_34) $(am__append_36)
|
||||||
ostree_prepare_root_SOURCES = \
|
ostree_prepare_root_SOURCES = \
|
||||||
src/switchroot/ostree-mount-util.h \
|
src/switchroot/ostree-mount-util.h \
|
||||||
src/switchroot/ostree-prepare-root.c \
|
src/switchroot/ostree-prepare-root.c \
|
||||||
|
|
@ -1990,64 +2047,17 @@ ostree_remount_CFLAGS = $(AM_CFLAGS) -Isrc/switchroot
|
||||||
@BUILDOPT_FUSE_TRUE@rofiles_fuse_SOURCES = src/rofiles-fuse/main.c
|
@BUILDOPT_FUSE_TRUE@rofiles_fuse_SOURCES = src/rofiles-fuse/main.c
|
||||||
@BUILDOPT_FUSE_TRUE@rofiles_fuse_CFLAGS = $(AM_CFLAGS) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 $(BUILDOPT_FUSE_CFLAGS) $(OT_INTERNAL_GIO_UNIX_CFLAGS) -I$(srcdir)/libglnx $(NULL)
|
@BUILDOPT_FUSE_TRUE@rofiles_fuse_CFLAGS = $(AM_CFLAGS) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 $(BUILDOPT_FUSE_CFLAGS) $(OT_INTERNAL_GIO_UNIX_CFLAGS) -I$(srcdir)/libglnx $(NULL)
|
||||||
@BUILDOPT_FUSE_TRUE@rofiles_fuse_LDADD = libglnx.la $(BUILDOPT_FUSE_LIBS) $(OT_INTERNAL_GIO_UNIX_LIBS)
|
@BUILDOPT_FUSE_TRUE@rofiles_fuse_LDADD = libglnx.la $(BUILDOPT_FUSE_LIBS) $(OT_INTERNAL_GIO_UNIX_LIBS)
|
||||||
|
|
||||||
# We should probably consider flipping the default for DEBUG. Also,
|
|
||||||
# include the builddir in $PATH so we find our just-built ostree
|
|
||||||
# binary.
|
|
||||||
TESTS_ENVIRONMENT = G_TEST_SRCDIR="$(abs_srcdir)" \
|
|
||||||
G_TEST_BUILDDIR="$(abs_builddir)" UNINSTALLEDTESTS=1 \
|
|
||||||
G_DEBUG=gc-friendly MALLOC_CHECK_=2 \
|
|
||||||
MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) OT_TESTS_DEBUG=1 \
|
|
||||||
GI_TYPELIB_PATH=$$(cd $(top_builddir) && pwd) \
|
|
||||||
LD_LIBRARY_PATH=$$(cd $(top_builddir)/.libs && pwd) PATH=$$(cd \
|
|
||||||
$(top_builddir)/tests && pwd):$${PATH} $(NULL)
|
|
||||||
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_40)
|
|
||||||
installed_test_SCRIPTS = $(am__append_38)
|
|
||||||
installed_test_DATA = $(am__append_39)
|
|
||||||
nobase_installed_test_DATA =
|
|
||||||
noinst_SCRIPTS = $(am__append_31)
|
|
||||||
noinst_DATA = $(am__append_32)
|
|
||||||
check_LTLIBRARIES = $(am__append_33)
|
|
||||||
check_SCRIPTS = $(am__append_35)
|
|
||||||
check_DATA = $(am__append_36)
|
|
||||||
|
|
||||||
# Note: build even the installed-only targets during 'make check' to ensure that they still work.
|
|
||||||
# We need to do a bit of trickery here and manage disting via EXTRA_DIST instead of using dist_ prefixes to
|
|
||||||
# prevent automake from mistreating gmake functions like $(wildcard ...) and $(addprefix ...) as if they were
|
|
||||||
# filenames, including removing duplicate instances of the opening part before the space, eg. '$(addprefix'.
|
|
||||||
all_test_programs = $(test_programs) $(uninstalled_test_programs) $(installed_test_programs) \
|
|
||||||
$(test_extra_programs) $(uninstalled_test_extra_programs) $(installed_test_extra_programs)
|
|
||||||
|
|
||||||
all_test_scripts = $(test_scripts) $(uninstalled_test_scripts) \
|
|
||||||
$(installed_test_scripts) $(test_extra_scripts) \
|
|
||||||
$(uninstalled_test_extra_scripts) \
|
|
||||||
$(installed_test_extra_scripts) $(all_dist_test_scripts)
|
|
||||||
all_dist_test_scripts = $(dist_test_scripts) $(dist_uninstalled_test_scripts) $(dist_installed_test_scripts) \
|
|
||||||
$(dist_test_extra_scripts) $(dist_uninstalled_test_extra_scripts) $(dist_installed_test_extra_scripts)
|
|
||||||
|
|
||||||
all_test_data = $(test_data) $(uninstalled_test_data) \
|
|
||||||
$(installed_test_data) $(all_dist_test_data)
|
|
||||||
all_dist_test_data = $(dist_test_data) $(dist_uninstalled_test_data) $(dist_installed_test_data)
|
|
||||||
all_test_ltlibs = $(test_ltlibraries) $(uninstalled_test_ltlibraries) $(installed_test_ltlibraries)
|
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@installed_testcases = $(test_programs) $(installed_test_programs) \
|
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(test_scripts) $(installed_test_scripts) \
|
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_scripts) $(dist_installed_test_scripts)
|
|
||||||
|
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@installed_test_meta_DATA = $(installed_testcases:=.test)
|
|
||||||
uninstalled_test_data = tests/ostree-symlink-stamp tests/ostree-prepare-root-symlink-stamp \
|
uninstalled_test_data = tests/ostree-symlink-stamp tests/ostree-prepare-root-symlink-stamp \
|
||||||
tests/ostree-remount-symlink-stamp tests/rofiles-fuse-symlink-stamp
|
tests/ostree-remount-symlink-stamp tests/rofiles-fuse-symlink-stamp
|
||||||
|
|
||||||
dist_uninstalled_test_scripts = tests/test-symbols.sh
|
dist_uninstalled_test_scripts = tests/test-symbols.sh
|
||||||
dist_test_scripts = tests/test-basic.sh tests/test-pull-subpath.sh \
|
dist_test_scripts = tests/test-basic.sh tests/test-pull-subpath.sh \
|
||||||
tests/test-archivez.sh tests/test-remote-add.sh \
|
tests/test-archivez.sh tests/test-remote-add.sh \
|
||||||
tests/test-remote-cookies.sh tests/test-remote-headers.sh \
|
tests/test-remote-headers.sh tests/test-remote-gpg-import.sh \
|
||||||
tests/test-remote-gpg-import.sh tests/test-commit-sign.sh \
|
tests/test-commit-sign.sh tests/test-export.sh \
|
||||||
tests/test-export.sh tests/test-help.sh \
|
tests/test-help.sh tests/test-libarchive.sh \
|
||||||
tests/test-libarchive.sh tests/test-parent.sh \
|
tests/test-parent.sh tests/test-pull-archive-z.sh \
|
||||||
tests/test-pull-archive-z.sh tests/test-pull-commit-only.sh \
|
tests/test-pull-commit-only.sh tests/test-pull-depth.sh \
|
||||||
tests/test-pull-corruption.sh tests/test-pull-depth.sh \
|
|
||||||
tests/test-pull-mirror-summary.sh \
|
tests/test-pull-mirror-summary.sh \
|
||||||
tests/test-pull-large-metadata.sh tests/test-pull-metalink.sh \
|
tests/test-pull-large-metadata.sh tests/test-pull-metalink.sh \
|
||||||
tests/test-pull-summary-sigs.sh tests/test-pull-resume.sh \
|
tests/test-pull-summary-sigs.sh tests/test-pull-resume.sh \
|
||||||
|
|
@ -2073,13 +2083,12 @@ dist_test_scripts = tests/test-basic.sh tests/test-pull-subpath.sh \
|
||||||
tests/test-refs.sh tests/test-demo-buildsystem.sh \
|
tests/test-refs.sh tests/test-demo-buildsystem.sh \
|
||||||
tests/test-switchroot.sh tests/test-pull-contenturl.sh \
|
tests/test-switchroot.sh tests/test-pull-contenturl.sh \
|
||||||
tests/test-pull-mirrorlist.sh $(NULL) $(am__append_42) \
|
tests/test-pull-mirrorlist.sh $(NULL) $(am__append_42) \
|
||||||
$(am__append_44)
|
$(am__append_44) $(am__append_45)
|
||||||
|
|
||||||
# This one uses corrupt-repo-ref.js
|
# These call into gjs scripts
|
||||||
js_tests = tests/test-corruption.sh
|
js_tests = tests/test-corruption.sh tests/test-pull-corruption.sh
|
||||||
dist_installed_test_data = tests/archive-test.sh \
|
dist_installed_test_data = tests/archive-test.sh \
|
||||||
tests/pull-test.sh \
|
tests/pull-test.sh \
|
||||||
tests/libtest.sh \
|
|
||||||
tests/admin-test.sh \
|
tests/admin-test.sh \
|
||||||
tests/basic-test.sh \
|
tests/basic-test.sh \
|
||||||
tests/test-basic-user.sh \
|
tests/test-basic-user.sh \
|
||||||
|
|
@ -2124,14 +2133,14 @@ libreaddir_rand_la_LIBADD = \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
libreaddir_rand_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version \
|
libreaddir_rand_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version \
|
||||||
$(am__append_46)
|
$(am__append_48)
|
||||||
test_programs = tests/test-varint tests/test-ot-unix-utils \
|
test_programs = tests/test-varint tests/test-ot-unix-utils \
|
||||||
tests/test-bsdiff tests/test-mutable-tree \
|
tests/test-bsdiff tests/test-mutable-tree \
|
||||||
tests/test-keyfile-utils tests/test-ot-opt-utils \
|
tests/test-keyfile-utils tests/test-ot-opt-utils \
|
||||||
tests/test-ot-tool-util tests/test-gpg-verify-result \
|
tests/test-ot-tool-util tests/test-gpg-verify-result \
|
||||||
tests/test-checksum tests/test-lzma tests/test-rollsum \
|
tests/test-checksum tests/test-lzma tests/test-rollsum \
|
||||||
tests/test-basic-c tests/test-sysroot-c tests/test-pull-c \
|
tests/test-basic-c tests/test-sysroot-c tests/test-pull-c \
|
||||||
$(am__append_47)
|
$(am__append_49)
|
||||||
common_tests_cflags = $(ostree_bin_shared_cflags) $(OT_INTERNAL_GIO_UNIX_CFLAGS) -I$(srcdir)/libglnx
|
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)
|
common_tests_ldadd = $(ostree_bin_shared_ldadd) $(OT_INTERNAL_GIO_UNIX_LIBS)
|
||||||
libostreetest_la_SOURCES = tests/libostreetest.c
|
libostreetest_la_SOURCES = tests/libostreetest.c
|
||||||
|
|
@ -2215,7 +2224,7 @@ tests_test_gpg_verify_result_LDADD = $(TESTS_LDADD) $(OT_INTERNAL_GPGME_LIBS)
|
||||||
@ENABLE_MAN_TRUE@ ostree-reset.1 ostree-rev-parse.1 \
|
@ENABLE_MAN_TRUE@ ostree-reset.1 ostree-rev-parse.1 \
|
||||||
@ENABLE_MAN_TRUE@ ostree-show.1 ostree-summary.1 \
|
@ENABLE_MAN_TRUE@ ostree-show.1 ostree-summary.1 \
|
||||||
@ENABLE_MAN_TRUE@ ostree-static-delta.1 ostree-trivial-httpd.1 \
|
@ENABLE_MAN_TRUE@ ostree-static-delta.1 ostree-trivial-httpd.1 \
|
||||||
@ENABLE_MAN_TRUE@ $(am__append_52)
|
@ENABLE_MAN_TRUE@ $(am__append_54)
|
||||||
@ENABLE_MAN_TRUE@man5_files = ostree.repo.5 ostree.repo-config.5
|
@ENABLE_MAN_TRUE@man5_files = ostree.repo.5 ostree.repo-config.5
|
||||||
@ENABLE_MAN_TRUE@man1_MANS = $(addprefix man/,$(man1_files))
|
@ENABLE_MAN_TRUE@man1_MANS = $(addprefix man/,$(man1_files))
|
||||||
@ENABLE_MAN_TRUE@man5_MANS = $(addprefix man/,$(man5_files))
|
@ENABLE_MAN_TRUE@man5_MANS = $(addprefix man/,$(man5_files))
|
||||||
|
|
@ -2238,7 +2247,7 @@ all: $(BUILT_SOURCES) config.h
|
||||||
.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
|
.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
|
||||||
am--refresh: Makefile
|
am--refresh: Makefile
|
||||||
@:
|
@:
|
||||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/Makefile-decls.am $(srcdir)/libglnx/Makefile-libglnx.am.inc $(srcdir)/bsdiff/Makefile-bsdiff.am.inc $(srcdir)/Makefile-otutil.am $(srcdir)/Makefile-libostree.am $(srcdir)/Makefile-libostree-defines.am $(srcdir)/Makefile-ostree.am $(srcdir)/Makefile-switchroot.am $(srcdir)/src/rofiles-fuse/Makefile-inc.am $(srcdir)/Makefile-tests.am $(top_srcdir)/buildutil/glib-tap.mk $(srcdir)/Makefile-boot.am $(srcdir)/Makefile-man.am $(am__configure_deps)
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/Makefile-decls.am $(top_srcdir)/buildutil/glib-tap.mk $(srcdir)/libglnx/Makefile-libglnx.am.inc $(srcdir)/bsdiff/Makefile-bsdiff.am.inc $(srcdir)/Makefile-otutil.am $(srcdir)/Makefile-libostree.am $(srcdir)/Makefile-libostree-defines.am $(srcdir)/Makefile-ostree.am $(srcdir)/Makefile-switchroot.am $(srcdir)/src/rofiles-fuse/Makefile-inc.am $(srcdir)/Makefile-tests.am $(srcdir)/Makefile-boot.am $(srcdir)/Makefile-man.am $(am__configure_deps)
|
||||||
@for dep in $?; do \
|
@for dep in $?; do \
|
||||||
case '$(am__configure_deps)' in \
|
case '$(am__configure_deps)' in \
|
||||||
*$$dep*) \
|
*$$dep*) \
|
||||||
|
|
@ -2260,7 +2269,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||||
esac;
|
esac;
|
||||||
$(srcdir)/Makefile-decls.am $(srcdir)/libglnx/Makefile-libglnx.am.inc $(srcdir)/bsdiff/Makefile-bsdiff.am.inc $(srcdir)/Makefile-otutil.am $(srcdir)/Makefile-libostree.am $(srcdir)/Makefile-libostree-defines.am $(srcdir)/Makefile-ostree.am $(srcdir)/Makefile-switchroot.am $(srcdir)/src/rofiles-fuse/Makefile-inc.am $(srcdir)/Makefile-tests.am $(top_srcdir)/buildutil/glib-tap.mk $(srcdir)/Makefile-boot.am $(srcdir)/Makefile-man.am $(am__empty):
|
$(srcdir)/Makefile-decls.am $(top_srcdir)/buildutil/glib-tap.mk $(srcdir)/libglnx/Makefile-libglnx.am.inc $(srcdir)/bsdiff/Makefile-bsdiff.am.inc $(srcdir)/Makefile-otutil.am $(srcdir)/Makefile-libostree.am $(srcdir)/Makefile-libostree-defines.am $(srcdir)/Makefile-ostree.am $(srcdir)/Makefile-switchroot.am $(srcdir)/src/rofiles-fuse/Makefile-inc.am $(srcdir)/Makefile-tests.am $(srcdir)/Makefile-boot.am $(srcdir)/Makefile-man.am $(am__empty):
|
||||||
|
|
||||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
$(SHELL) ./config.status --recheck
|
$(SHELL) ./config.status --recheck
|
||||||
|
|
@ -3068,24 +3077,15 @@ src/ostree/ostree-ot-admin-functions.$(OBJEXT): \
|
||||||
src/ostree/ostree-ot-remote-builtin-add.$(OBJEXT): \
|
src/ostree/ostree-ot-remote-builtin-add.$(OBJEXT): \
|
||||||
src/ostree/$(am__dirstamp) \
|
src/ostree/$(am__dirstamp) \
|
||||||
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
||||||
src/ostree/ostree-ot-remote-builtin-add-cookie.$(OBJEXT): \
|
|
||||||
src/ostree/$(am__dirstamp) \
|
|
||||||
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
|
||||||
src/ostree/ostree-ot-remote-builtin-delete.$(OBJEXT): \
|
src/ostree/ostree-ot-remote-builtin-delete.$(OBJEXT): \
|
||||||
src/ostree/$(am__dirstamp) \
|
src/ostree/$(am__dirstamp) \
|
||||||
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
||||||
src/ostree/ostree-ot-remote-builtin-delete-cookie.$(OBJEXT): \
|
|
||||||
src/ostree/$(am__dirstamp) \
|
|
||||||
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
|
||||||
src/ostree/ostree-ot-remote-builtin-gpg-import.$(OBJEXT): \
|
src/ostree/ostree-ot-remote-builtin-gpg-import.$(OBJEXT): \
|
||||||
src/ostree/$(am__dirstamp) \
|
src/ostree/$(am__dirstamp) \
|
||||||
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
||||||
src/ostree/ostree-ot-remote-builtin-list.$(OBJEXT): \
|
src/ostree/ostree-ot-remote-builtin-list.$(OBJEXT): \
|
||||||
src/ostree/$(am__dirstamp) \
|
src/ostree/$(am__dirstamp) \
|
||||||
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
||||||
src/ostree/ostree-ot-remote-builtin-list-cookies.$(OBJEXT): \
|
|
||||||
src/ostree/$(am__dirstamp) \
|
|
||||||
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
|
||||||
src/ostree/ostree-ot-remote-builtin-show-url.$(OBJEXT): \
|
src/ostree/ostree-ot-remote-builtin-show-url.$(OBJEXT): \
|
||||||
src/ostree/$(am__dirstamp) \
|
src/ostree/$(am__dirstamp) \
|
||||||
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
||||||
|
|
@ -3095,6 +3095,15 @@ src/ostree/ostree-ot-remote-builtin-refs.$(OBJEXT): \
|
||||||
src/ostree/ostree-ot-remote-builtin-summary.$(OBJEXT): \
|
src/ostree/ostree-ot-remote-builtin-summary.$(OBJEXT): \
|
||||||
src/ostree/$(am__dirstamp) \
|
src/ostree/$(am__dirstamp) \
|
||||||
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
||||||
|
src/ostree/ostree-ot-remote-builtin-add-cookie.$(OBJEXT): \
|
||||||
|
src/ostree/$(am__dirstamp) \
|
||||||
|
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
||||||
|
src/ostree/ostree-ot-remote-builtin-delete-cookie.$(OBJEXT): \
|
||||||
|
src/ostree/$(am__dirstamp) \
|
||||||
|
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
||||||
|
src/ostree/ostree-ot-remote-builtin-list-cookies.$(OBJEXT): \
|
||||||
|
src/ostree/$(am__dirstamp) \
|
||||||
|
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
||||||
src/ostree/ostree-ot-builtin-pull.$(OBJEXT): \
|
src/ostree/ostree-ot-builtin-pull.$(OBJEXT): \
|
||||||
src/ostree/$(am__dirstamp) \
|
src/ostree/$(am__dirstamp) \
|
||||||
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
src/ostree/$(DEPDIR)/$(am__dirstamp)
|
||||||
|
|
@ -4784,20 +4793,6 @@ src/ostree/ostree-ot-remote-builtin-add.obj: src/ostree/ot-remote-builtin-add.c
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-add.obj `if test -f 'src/ostree/ot-remote-builtin-add.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-add.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-add.c'; fi`
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-add.obj `if test -f 'src/ostree/ot-remote-builtin-add.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-add.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-add.c'; fi`
|
||||||
|
|
||||||
src/ostree/ostree-ot-remote-builtin-add-cookie.o: src/ostree/ot-remote-builtin-add-cookie.c
|
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-add-cookie.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-add-cookie.Tpo -c -o src/ostree/ostree-ot-remote-builtin-add-cookie.o `test -f 'src/ostree/ot-remote-builtin-add-cookie.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-add-cookie.c
|
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-add-cookie.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-add-cookie.Po
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ostree/ot-remote-builtin-add-cookie.c' object='src/ostree/ostree-ot-remote-builtin-add-cookie.o' libtool=no @AMDEPBACKSLASH@
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
||||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-add-cookie.o `test -f 'src/ostree/ot-remote-builtin-add-cookie.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-add-cookie.c
|
|
||||||
|
|
||||||
src/ostree/ostree-ot-remote-builtin-add-cookie.obj: src/ostree/ot-remote-builtin-add-cookie.c
|
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-add-cookie.obj -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-add-cookie.Tpo -c -o src/ostree/ostree-ot-remote-builtin-add-cookie.obj `if test -f 'src/ostree/ot-remote-builtin-add-cookie.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-add-cookie.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-add-cookie.c'; fi`
|
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-add-cookie.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-add-cookie.Po
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ostree/ot-remote-builtin-add-cookie.c' object='src/ostree/ostree-ot-remote-builtin-add-cookie.obj' libtool=no @AMDEPBACKSLASH@
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
||||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-add-cookie.obj `if test -f 'src/ostree/ot-remote-builtin-add-cookie.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-add-cookie.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-add-cookie.c'; fi`
|
|
||||||
|
|
||||||
src/ostree/ostree-ot-remote-builtin-delete.o: src/ostree/ot-remote-builtin-delete.c
|
src/ostree/ostree-ot-remote-builtin-delete.o: src/ostree/ot-remote-builtin-delete.c
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-delete.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete.Tpo -c -o src/ostree/ostree-ot-remote-builtin-delete.o `test -f 'src/ostree/ot-remote-builtin-delete.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-delete.c
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-delete.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete.Tpo -c -o src/ostree/ostree-ot-remote-builtin-delete.o `test -f 'src/ostree/ot-remote-builtin-delete.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-delete.c
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete.Po
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete.Po
|
||||||
|
|
@ -4812,20 +4807,6 @@ src/ostree/ostree-ot-remote-builtin-delete.obj: src/ostree/ot-remote-builtin-del
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-delete.obj `if test -f 'src/ostree/ot-remote-builtin-delete.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-delete.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-delete.c'; fi`
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-delete.obj `if test -f 'src/ostree/ot-remote-builtin-delete.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-delete.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-delete.c'; fi`
|
||||||
|
|
||||||
src/ostree/ostree-ot-remote-builtin-delete-cookie.o: src/ostree/ot-remote-builtin-delete-cookie.c
|
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-delete-cookie.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete-cookie.Tpo -c -o src/ostree/ostree-ot-remote-builtin-delete-cookie.o `test -f 'src/ostree/ot-remote-builtin-delete-cookie.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-delete-cookie.c
|
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete-cookie.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete-cookie.Po
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ostree/ot-remote-builtin-delete-cookie.c' object='src/ostree/ostree-ot-remote-builtin-delete-cookie.o' libtool=no @AMDEPBACKSLASH@
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
||||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-delete-cookie.o `test -f 'src/ostree/ot-remote-builtin-delete-cookie.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-delete-cookie.c
|
|
||||||
|
|
||||||
src/ostree/ostree-ot-remote-builtin-delete-cookie.obj: src/ostree/ot-remote-builtin-delete-cookie.c
|
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-delete-cookie.obj -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete-cookie.Tpo -c -o src/ostree/ostree-ot-remote-builtin-delete-cookie.obj `if test -f 'src/ostree/ot-remote-builtin-delete-cookie.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-delete-cookie.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-delete-cookie.c'; fi`
|
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete-cookie.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete-cookie.Po
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ostree/ot-remote-builtin-delete-cookie.c' object='src/ostree/ostree-ot-remote-builtin-delete-cookie.obj' libtool=no @AMDEPBACKSLASH@
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
||||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-delete-cookie.obj `if test -f 'src/ostree/ot-remote-builtin-delete-cookie.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-delete-cookie.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-delete-cookie.c'; fi`
|
|
||||||
|
|
||||||
src/ostree/ostree-ot-remote-builtin-gpg-import.o: src/ostree/ot-remote-builtin-gpg-import.c
|
src/ostree/ostree-ot-remote-builtin-gpg-import.o: src/ostree/ot-remote-builtin-gpg-import.c
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-gpg-import.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-gpg-import.Tpo -c -o src/ostree/ostree-ot-remote-builtin-gpg-import.o `test -f 'src/ostree/ot-remote-builtin-gpg-import.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-gpg-import.c
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-gpg-import.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-gpg-import.Tpo -c -o src/ostree/ostree-ot-remote-builtin-gpg-import.o `test -f 'src/ostree/ot-remote-builtin-gpg-import.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-gpg-import.c
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-gpg-import.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-gpg-import.Po
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-gpg-import.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-gpg-import.Po
|
||||||
|
|
@ -4854,20 +4835,6 @@ src/ostree/ostree-ot-remote-builtin-list.obj: src/ostree/ot-remote-builtin-list.
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-list.obj `if test -f 'src/ostree/ot-remote-builtin-list.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-list.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-list.c'; fi`
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-list.obj `if test -f 'src/ostree/ot-remote-builtin-list.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-list.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-list.c'; fi`
|
||||||
|
|
||||||
src/ostree/ostree-ot-remote-builtin-list-cookies.o: src/ostree/ot-remote-builtin-list-cookies.c
|
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-list-cookies.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-list-cookies.Tpo -c -o src/ostree/ostree-ot-remote-builtin-list-cookies.o `test -f 'src/ostree/ot-remote-builtin-list-cookies.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-list-cookies.c
|
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-list-cookies.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-list-cookies.Po
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ostree/ot-remote-builtin-list-cookies.c' object='src/ostree/ostree-ot-remote-builtin-list-cookies.o' libtool=no @AMDEPBACKSLASH@
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
||||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-list-cookies.o `test -f 'src/ostree/ot-remote-builtin-list-cookies.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-list-cookies.c
|
|
||||||
|
|
||||||
src/ostree/ostree-ot-remote-builtin-list-cookies.obj: src/ostree/ot-remote-builtin-list-cookies.c
|
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-list-cookies.obj -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-list-cookies.Tpo -c -o src/ostree/ostree-ot-remote-builtin-list-cookies.obj `if test -f 'src/ostree/ot-remote-builtin-list-cookies.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-list-cookies.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-list-cookies.c'; fi`
|
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-list-cookies.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-list-cookies.Po
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ostree/ot-remote-builtin-list-cookies.c' object='src/ostree/ostree-ot-remote-builtin-list-cookies.obj' libtool=no @AMDEPBACKSLASH@
|
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
||||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-list-cookies.obj `if test -f 'src/ostree/ot-remote-builtin-list-cookies.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-list-cookies.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-list-cookies.c'; fi`
|
|
||||||
|
|
||||||
src/ostree/ostree-ot-remote-builtin-show-url.o: src/ostree/ot-remote-builtin-show-url.c
|
src/ostree/ostree-ot-remote-builtin-show-url.o: src/ostree/ot-remote-builtin-show-url.c
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-show-url.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-show-url.Tpo -c -o src/ostree/ostree-ot-remote-builtin-show-url.o `test -f 'src/ostree/ot-remote-builtin-show-url.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-show-url.c
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-show-url.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-show-url.Tpo -c -o src/ostree/ostree-ot-remote-builtin-show-url.o `test -f 'src/ostree/ot-remote-builtin-show-url.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-show-url.c
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-show-url.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-show-url.Po
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-show-url.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-show-url.Po
|
||||||
|
|
@ -4910,6 +4877,48 @@ src/ostree/ostree-ot-remote-builtin-summary.obj: src/ostree/ot-remote-builtin-su
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-summary.obj `if test -f 'src/ostree/ot-remote-builtin-summary.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-summary.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-summary.c'; fi`
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-summary.obj `if test -f 'src/ostree/ot-remote-builtin-summary.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-summary.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-summary.c'; fi`
|
||||||
|
|
||||||
|
src/ostree/ostree-ot-remote-builtin-add-cookie.o: src/ostree/ot-remote-builtin-add-cookie.c
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-add-cookie.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-add-cookie.Tpo -c -o src/ostree/ostree-ot-remote-builtin-add-cookie.o `test -f 'src/ostree/ot-remote-builtin-add-cookie.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-add-cookie.c
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-add-cookie.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-add-cookie.Po
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ostree/ot-remote-builtin-add-cookie.c' object='src/ostree/ostree-ot-remote-builtin-add-cookie.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-add-cookie.o `test -f 'src/ostree/ot-remote-builtin-add-cookie.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-add-cookie.c
|
||||||
|
|
||||||
|
src/ostree/ostree-ot-remote-builtin-add-cookie.obj: src/ostree/ot-remote-builtin-add-cookie.c
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-add-cookie.obj -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-add-cookie.Tpo -c -o src/ostree/ostree-ot-remote-builtin-add-cookie.obj `if test -f 'src/ostree/ot-remote-builtin-add-cookie.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-add-cookie.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-add-cookie.c'; fi`
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-add-cookie.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-add-cookie.Po
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ostree/ot-remote-builtin-add-cookie.c' object='src/ostree/ostree-ot-remote-builtin-add-cookie.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-add-cookie.obj `if test -f 'src/ostree/ot-remote-builtin-add-cookie.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-add-cookie.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-add-cookie.c'; fi`
|
||||||
|
|
||||||
|
src/ostree/ostree-ot-remote-builtin-delete-cookie.o: src/ostree/ot-remote-builtin-delete-cookie.c
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-delete-cookie.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete-cookie.Tpo -c -o src/ostree/ostree-ot-remote-builtin-delete-cookie.o `test -f 'src/ostree/ot-remote-builtin-delete-cookie.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-delete-cookie.c
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete-cookie.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete-cookie.Po
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ostree/ot-remote-builtin-delete-cookie.c' object='src/ostree/ostree-ot-remote-builtin-delete-cookie.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-delete-cookie.o `test -f 'src/ostree/ot-remote-builtin-delete-cookie.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-delete-cookie.c
|
||||||
|
|
||||||
|
src/ostree/ostree-ot-remote-builtin-delete-cookie.obj: src/ostree/ot-remote-builtin-delete-cookie.c
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-delete-cookie.obj -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete-cookie.Tpo -c -o src/ostree/ostree-ot-remote-builtin-delete-cookie.obj `if test -f 'src/ostree/ot-remote-builtin-delete-cookie.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-delete-cookie.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-delete-cookie.c'; fi`
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete-cookie.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-delete-cookie.Po
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ostree/ot-remote-builtin-delete-cookie.c' object='src/ostree/ostree-ot-remote-builtin-delete-cookie.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-delete-cookie.obj `if test -f 'src/ostree/ot-remote-builtin-delete-cookie.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-delete-cookie.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-delete-cookie.c'; fi`
|
||||||
|
|
||||||
|
src/ostree/ostree-ot-remote-builtin-list-cookies.o: src/ostree/ot-remote-builtin-list-cookies.c
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-list-cookies.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-list-cookies.Tpo -c -o src/ostree/ostree-ot-remote-builtin-list-cookies.o `test -f 'src/ostree/ot-remote-builtin-list-cookies.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-list-cookies.c
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-list-cookies.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-list-cookies.Po
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ostree/ot-remote-builtin-list-cookies.c' object='src/ostree/ostree-ot-remote-builtin-list-cookies.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-list-cookies.o `test -f 'src/ostree/ot-remote-builtin-list-cookies.c' || echo '$(srcdir)/'`src/ostree/ot-remote-builtin-list-cookies.c
|
||||||
|
|
||||||
|
src/ostree/ostree-ot-remote-builtin-list-cookies.obj: src/ostree/ot-remote-builtin-list-cookies.c
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-remote-builtin-list-cookies.obj -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-list-cookies.Tpo -c -o src/ostree/ostree-ot-remote-builtin-list-cookies.obj `if test -f 'src/ostree/ot-remote-builtin-list-cookies.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-list-cookies.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-list-cookies.c'; fi`
|
||||||
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-list-cookies.Tpo src/ostree/$(DEPDIR)/ostree-ot-remote-builtin-list-cookies.Po
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ostree/ot-remote-builtin-list-cookies.c' object='src/ostree/ostree-ot-remote-builtin-list-cookies.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -c -o src/ostree/ostree-ot-remote-builtin-list-cookies.obj `if test -f 'src/ostree/ot-remote-builtin-list-cookies.c'; then $(CYGPATH_W) 'src/ostree/ot-remote-builtin-list-cookies.c'; else $(CYGPATH_W) '$(srcdir)/src/ostree/ot-remote-builtin-list-cookies.c'; fi`
|
||||||
|
|
||||||
src/ostree/ostree-ot-builtin-pull.o: src/ostree/ot-builtin-pull.c
|
src/ostree/ostree-ot-builtin-pull.o: src/ostree/ot-builtin-pull.c
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-builtin-pull.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-builtin-pull.Tpo -c -o src/ostree/ostree-ot-builtin-pull.o `test -f 'src/ostree/ot-builtin-pull.c' || echo '$(srcdir)/'`src/ostree/ot-builtin-pull.c
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ostree_CFLAGS) $(CFLAGS) -MT src/ostree/ostree-ot-builtin-pull.o -MD -MP -MF src/ostree/$(DEPDIR)/ostree-ot-builtin-pull.Tpo -c -o src/ostree/ostree-ot-builtin-pull.o `test -f 'src/ostree/ot-builtin-pull.c' || echo '$(srcdir)/'`src/ostree/ot-builtin-pull.c
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-builtin-pull.Tpo src/ostree/$(DEPDIR)/ostree-ot-builtin-pull.Po
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/ostree/$(DEPDIR)/ostree-ot-builtin-pull.Tpo src/ostree/$(DEPDIR)/ostree-ot-builtin-pull.Po
|
||||||
|
|
@ -6075,13 +6084,6 @@ tests/test-remote-add.sh.log: tests/test-remote-add.sh
|
||||||
--log-file $$b.log --trs-file $$b.trs \
|
--log-file $$b.log --trs-file $$b.trs \
|
||||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
||||||
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||||
tests/test-remote-cookies.sh.log: tests/test-remote-cookies.sh
|
|
||||||
@p='tests/test-remote-cookies.sh'; \
|
|
||||||
b='tests/test-remote-cookies.sh'; \
|
|
||||||
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
||||||
--log-file $$b.log --trs-file $$b.trs \
|
|
||||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
||||||
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
||||||
tests/test-remote-headers.sh.log: tests/test-remote-headers.sh
|
tests/test-remote-headers.sh.log: tests/test-remote-headers.sh
|
||||||
@p='tests/test-remote-headers.sh'; \
|
@p='tests/test-remote-headers.sh'; \
|
||||||
b='tests/test-remote-headers.sh'; \
|
b='tests/test-remote-headers.sh'; \
|
||||||
|
|
@ -6145,13 +6147,6 @@ tests/test-pull-commit-only.sh.log: tests/test-pull-commit-only.sh
|
||||||
--log-file $$b.log --trs-file $$b.trs \
|
--log-file $$b.log --trs-file $$b.trs \
|
||||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
||||||
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||||
tests/test-pull-corruption.sh.log: tests/test-pull-corruption.sh
|
|
||||||
@p='tests/test-pull-corruption.sh'; \
|
|
||||||
b='tests/test-pull-corruption.sh'; \
|
|
||||||
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
||||||
--log-file $$b.log --trs-file $$b.trs \
|
|
||||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
||||||
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
||||||
tests/test-pull-depth.sh.log: tests/test-pull-depth.sh
|
tests/test-pull-depth.sh.log: tests/test-pull-depth.sh
|
||||||
@p='tests/test-pull-depth.sh'; \
|
@p='tests/test-pull-depth.sh'; \
|
||||||
b='tests/test-pull-depth.sh'; \
|
b='tests/test-pull-depth.sh'; \
|
||||||
|
|
@ -6425,6 +6420,13 @@ tests/test-rofiles-fuse.sh.log: tests/test-rofiles-fuse.sh
|
||||||
--log-file $$b.log --trs-file $$b.trs \
|
--log-file $$b.log --trs-file $$b.trs \
|
||||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
||||||
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||||
|
tests/test-remote-cookies.sh.log: tests/test-remote-cookies.sh
|
||||||
|
@p='tests/test-remote-cookies.sh'; \
|
||||||
|
b='tests/test-remote-cookies.sh'; \
|
||||||
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
||||||
|
--log-file $$b.log --trs-file $$b.trs \
|
||||||
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
||||||
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||||
tests/test-corruption.sh.log: tests/test-corruption.sh
|
tests/test-corruption.sh.log: tests/test-corruption.sh
|
||||||
@p='tests/test-corruption.sh'; \
|
@p='tests/test-corruption.sh'; \
|
||||||
b='tests/test-corruption.sh'; \
|
b='tests/test-corruption.sh'; \
|
||||||
|
|
@ -6432,6 +6434,13 @@ tests/test-corruption.sh.log: tests/test-corruption.sh
|
||||||
--log-file $$b.log --trs-file $$b.trs \
|
--log-file $$b.log --trs-file $$b.trs \
|
||||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
||||||
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||||
|
tests/test-pull-corruption.sh.log: tests/test-pull-corruption.sh
|
||||||
|
@p='tests/test-pull-corruption.sh'; \
|
||||||
|
b='tests/test-pull-corruption.sh'; \
|
||||||
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
||||||
|
--log-file $$b.log --trs-file $$b.trs \
|
||||||
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
||||||
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||||
tests/test-symbols.sh.log: tests/test-symbols.sh
|
tests/test-symbols.sh.log: tests/test-symbols.sh
|
||||||
@p='tests/test-symbols.sh'; \
|
@p='tests/test-symbols.sh'; \
|
||||||
b='tests/test-symbols.sh'; \
|
b='tests/test-symbols.sh'; \
|
||||||
|
|
@ -6883,6 +6892,12 @@ uninstall-man: uninstall-man1 uninstall-man5
|
||||||
|
|
||||||
.PRECIOUS: Makefile
|
.PRECIOUS: Makefile
|
||||||
|
|
||||||
|
|
||||||
|
@ENABLE_INSTALLED_TESTS_TRUE@%.test: %$(EXEEXT) Makefile
|
||||||
|
@ENABLE_INSTALLED_TESTS_TRUE@ $(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||||
|
@ENABLE_INSTALLED_TESTS_TRUE@ echo 'Type=session' >> $@.tmp; \
|
||||||
|
@ENABLE_INSTALLED_TESTS_TRUE@ echo 'Exec=env G_TEST_SRCDIR=$(installed_testdir) G_TEST_BUILDDIR=$(installed_testdir) $(installed_testdir)/$(notdir $<)' >> $@.tmp; \
|
||||||
|
@ENABLE_INSTALLED_TESTS_TRUE@ mv $@.tmp $@)
|
||||||
install-data-hook: $(INSTALL_DATA_HOOKS)
|
install-data-hook: $(INSTALL_DATA_HOOKS)
|
||||||
all-local: $(ALL_LOCAL_RULES)
|
all-local: $(ALL_LOCAL_RULES)
|
||||||
|
|
||||||
|
|
@ -6910,12 +6925,6 @@ src/ostree/parse-datetime.c: src/ostree/parse-datetime.y Makefile
|
||||||
@BUILDOPT_USE_STATIC_COMPILER_TRUE@ostree-prepare-root : $(ostree_prepare_root_SOURCES)
|
@BUILDOPT_USE_STATIC_COMPILER_TRUE@ostree-prepare-root : $(ostree_prepare_root_SOURCES)
|
||||||
@BUILDOPT_USE_STATIC_COMPILER_TRUE@ $(STATIC_COMPILER) -o $@ -static $(ostree_prepare_root_SOURCES) $(AM_CPPFLAGS) $(AM_CFLAGS) $(DEFAULT_INCLUDES)
|
@BUILDOPT_USE_STATIC_COMPILER_TRUE@ $(STATIC_COMPILER) -o $@ -static $(ostree_prepare_root_SOURCES) $(AM_CPPFLAGS) $(AM_CFLAGS) $(DEFAULT_INCLUDES)
|
||||||
|
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@%.test: %$(EXEEXT) Makefile
|
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ $(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ echo 'Type=session' >> $@.tmp; \
|
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ echo 'Exec=env G_TEST_SRCDIR=$(installed_testdir) G_TEST_BUILDDIR=$(installed_testdir) $(installed_testdir)/$(notdir $<)' >> $@.tmp; \
|
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ mv $@.tmp $@)
|
|
||||||
|
|
||||||
tests/libreaddir-rand.so: Makefile
|
tests/libreaddir-rand.so: Makefile
|
||||||
$(AM_V_GEN) ln -fns ../.libs/libreaddir-rand.so tests
|
$(AM_V_GEN) ln -fns ../.libs/libreaddir-rand.so tests
|
||||||
|
|
||||||
|
|
@ -6933,11 +6942,13 @@ tests/%-symlink-stamp: % Makefile
|
||||||
# Unfortunately the glib test data APIs don't actually handle
|
# Unfortunately the glib test data APIs don't actually handle
|
||||||
# non-recursive Automake, so we change our code to canonically look
|
# non-recursive Automake, so we change our code to canonically look
|
||||||
# for tests/ which is just a symlink when installed.
|
# for tests/ which is just a symlink when installed.
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@install-test-data-file-path-hack:
|
@ENABLE_INSTALLED_TESTS_TRUE@install-installed-tests-extra:
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ if test -L $(DESTDIR)$(installed_testdir)/tests; then \
|
@ENABLE_INSTALLED_TESTS_TRUE@ if test -L $(DESTDIR)$(installed_testdir)/tests; then \
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ rm $(DESTDIR)$(installed_testdir)/tests; \
|
@ENABLE_INSTALLED_TESTS_TRUE@ rm $(DESTDIR)$(installed_testdir)/tests; \
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ fi
|
@ENABLE_INSTALLED_TESTS_TRUE@ fi
|
||||||
@ENABLE_INSTALLED_TESTS_TRUE@ ln -s . $(DESTDIR)$(installed_testdir)/tests
|
@ENABLE_INSTALLED_TESTS_TRUE@ ln -s . $(DESTDIR)$(installed_testdir)/tests
|
||||||
|
@BUILDOPT_ASAN_TRUE@@ENABLE_INSTALLED_TESTS_TRUE@ sed -e 's,^BUILT_WITH_ASAN=.*,BUILT_WITH_ASAN=1,' < $(srcdir)/tests/libtest.sh > $(DESTDIR)$(installed_testdir)/tests/libtest.sh
|
||||||
|
@BUILDOPT_ASAN_FALSE@@ENABLE_INSTALLED_TESTS_TRUE@ install -m 0644 $(srcdir)/tests/libtest.sh $(DESTDIR)$(installed_testdir)/tests/libtest.sh
|
||||||
@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@install-grub2-config-hook:
|
@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@install-grub2-config-hook:
|
||||||
@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@ mkdir -p $(DESTDIR)$(grub2configdir)
|
@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@ mkdir -p $(DESTDIR)$(grub2configdir)
|
||||||
@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@ ln -sf $(pkglibexecdir)/grub2-15_ostree $(DESTDIR)$(grub2configdir)/15_ostree
|
@BUILDOPT_BUILTIN_GRUB2_MKCONFIG_FALSE@ ln -sf $(pkglibexecdir)/grub2-15_ostree $(DESTDIR)$(grub2configdir)/15_ostree
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<div class="titlepage">
|
<div class="titlepage">
|
||||||
<div>
|
<div>
|
||||||
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">OSTree API references</p></th></tr></table></div>
|
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">OSTree API references</p></th></tr></table></div>
|
||||||
<div><p class="releaseinfo">for OSTree 2016.13</p></div>
|
<div><p class="releaseinfo">for OSTree 2016.14</p></div>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1913,14 +1913,15 @@ with <a class="link" href="ostree-Core-repository-independent-functions.html#OST
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>out_summary</p></td>
|
<td class="parameter_name"><p>out_summary</p></td>
|
||||||
<td class="parameter_description"><p> return location for raw summary data, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
<td class="parameter_description"><p> return location for raw summary data, or
|
||||||
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/nullable"><span class="acronym">nullable</span></a>]</span></td>
|
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||||
|
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/optional"><span class="acronym">optional</span></a>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>out_signatures</p></td>
|
<td class="parameter_name"><p>out_signatures</p></td>
|
||||||
<td class="parameter_description"><p> return location for raw summary signature
|
<td class="parameter_description"><p> return location for raw summary
|
||||||
data, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
signature data, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||||
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/nullable"><span class="acronym">nullable</span></a>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/optional"><span class="acronym">optional</span></a>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>cancellable</p></td>
|
<td class="parameter_name"><p>cancellable</p></td>
|
||||||
|
|
@ -1981,14 +1982,15 @@ The following are currently defined:</p>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>out_summary</p></td>
|
<td class="parameter_name"><p>out_summary</p></td>
|
||||||
<td class="parameter_description"><p> return location for raw summary data, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
<td class="parameter_description"><p> return location for raw summary data, or
|
||||||
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/nullable"><span class="acronym">nullable</span></a>]</span></td>
|
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||||
|
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/optional"><span class="acronym">optional</span></a>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>out_signatures</p></td>
|
<td class="parameter_name"><p>out_signatures</p></td>
|
||||||
<td class="parameter_description"><p> return location for raw summary signature
|
<td class="parameter_description"><p> return location for raw summary
|
||||||
data, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
signature data, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||||
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/nullable"><span class="acronym">nullable</span></a>]</span></td>
|
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/optional"><span class="acronym">optional</span></a>]</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>cancellable</p></td>
|
<td class="parameter_name"><p>cancellable</p></td>
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
2016.13
|
2016.14
|
||||||
|
|
@ -19,6 +19,10 @@ function skip_cleanup() {
|
||||||
echo "Skipping cleanup of ${tempdir}"
|
echo "Skipping cleanup of ${tempdir}"
|
||||||
}
|
}
|
||||||
cd ${tempdir}
|
cd ${tempdir}
|
||||||
|
timeout \
|
||||||
|
--kill-after=60 \
|
||||||
|
--signal=ABRT \
|
||||||
|
$(( 600 * ${TEST_TIMEOUT_FACTOR:-1} )) \
|
||||||
${srcd}/${bn} -k --tap
|
${srcd}/${bn} -k --tap
|
||||||
rc=$?
|
rc=$?
|
||||||
case "${TEST_SKIP_CLEANUP:-}" in
|
case "${TEST_SKIP_CLEANUP:-}" in
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.69 for ostree 2016.14.
|
# Generated by GNU Autoconf 2.69 for ostree 2016.15.
|
||||||
#
|
#
|
||||||
# Report bugs to <walters@verbum.org>.
|
# Report bugs to <walters@verbum.org>.
|
||||||
#
|
#
|
||||||
|
|
@ -590,8 +590,8 @@ MAKEFLAGS=
|
||||||
# Identity of this package.
|
# Identity of this package.
|
||||||
PACKAGE_NAME='ostree'
|
PACKAGE_NAME='ostree'
|
||||||
PACKAGE_TARNAME='ostree'
|
PACKAGE_TARNAME='ostree'
|
||||||
PACKAGE_VERSION='2016.14'
|
PACKAGE_VERSION='2016.15'
|
||||||
PACKAGE_STRING='ostree 2016.14'
|
PACKAGE_STRING='ostree 2016.15'
|
||||||
PACKAGE_BUGREPORT='walters@verbum.org'
|
PACKAGE_BUGREPORT='walters@verbum.org'
|
||||||
PACKAGE_URL=''
|
PACKAGE_URL=''
|
||||||
|
|
||||||
|
|
@ -770,6 +770,8 @@ build_vendor
|
||||||
build_cpu
|
build_cpu
|
||||||
build
|
build
|
||||||
LIBTOOL
|
LIBTOOL
|
||||||
|
BUILDOPT_ASAN_FALSE
|
||||||
|
BUILDOPT_ASAN_TRUE
|
||||||
WARN_CFLAGS
|
WARN_CFLAGS
|
||||||
YFLAGS
|
YFLAGS
|
||||||
YACC
|
YACC
|
||||||
|
|
@ -1480,7 +1482,7 @@ if test "$ac_init_help" = "long"; then
|
||||||
# Omit some internal or obsolete options to make the list less imposing.
|
# Omit some internal or obsolete options to make the list less imposing.
|
||||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||||
cat <<_ACEOF
|
cat <<_ACEOF
|
||||||
\`configure' configures ostree 2016.14 to adapt to many kinds of systems.
|
\`configure' configures ostree 2016.15 to adapt to many kinds of systems.
|
||||||
|
|
||||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||||
|
|
||||||
|
|
@ -1550,7 +1552,7 @@ fi
|
||||||
|
|
||||||
if test -n "$ac_init_help"; then
|
if test -n "$ac_init_help"; then
|
||||||
case $ac_init_help in
|
case $ac_init_help in
|
||||||
short | recursive ) echo "Configuration of ostree 2016.14:";;
|
short | recursive ) echo "Configuration of ostree 2016.15:";;
|
||||||
esac
|
esac
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
|
|
||||||
|
|
@ -1759,7 +1761,7 @@ fi
|
||||||
test -n "$ac_init_help" && exit $ac_status
|
test -n "$ac_init_help" && exit $ac_status
|
||||||
if $ac_init_version; then
|
if $ac_init_version; then
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
ostree configure 2016.14
|
ostree configure 2016.15
|
||||||
generated by GNU Autoconf 2.69
|
generated by GNU Autoconf 2.69
|
||||||
|
|
||||||
Copyright (C) 2012 Free Software Foundation, Inc.
|
Copyright (C) 2012 Free Software Foundation, Inc.
|
||||||
|
|
@ -2174,7 +2176,7 @@ cat >config.log <<_ACEOF
|
||||||
This file contains any messages produced by compilers while
|
This file contains any messages produced by compilers while
|
||||||
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
|
||||||
It was created by ostree $as_me 2016.14, which was
|
It was created by ostree $as_me 2016.15, which was
|
||||||
generated by GNU Autoconf 2.69. Invocation command line was
|
generated by GNU Autoconf 2.69. Invocation command line was
|
||||||
|
|
||||||
$ $0 $@
|
$ $0 $@
|
||||||
|
|
@ -3041,7 +3043,7 @@ fi
|
||||||
|
|
||||||
# Define the identity of the package.
|
# Define the identity of the package.
|
||||||
PACKAGE='ostree'
|
PACKAGE='ostree'
|
||||||
VERSION='2016.14'
|
VERSION='2016.15'
|
||||||
|
|
||||||
|
|
||||||
# Some tools Automake needs.
|
# Some tools Automake needs.
|
||||||
|
|
@ -5787,6 +5789,9 @@ test -n "$YACC" || YACC="yacc"
|
||||||
-Werror=return-type \
|
-Werror=return-type \
|
||||||
-Werror=overflow \
|
-Werror=overflow \
|
||||||
-Werror=int-conversion \
|
-Werror=int-conversion \
|
||||||
|
-Werror=parenthesis \
|
||||||
|
-Werror=incompatible-pointer-types \
|
||||||
|
-Werror=misleading-indentation \
|
||||||
-Werror=missing-include-dirs -Werror=aggregate-return \
|
-Werror=missing-include-dirs -Werror=aggregate-return \
|
||||||
-Werror=declaration-after-statement \
|
-Werror=declaration-after-statement \
|
||||||
; do
|
; do
|
||||||
|
|
@ -5823,6 +5828,25 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fsanitize=address in CFLAGS" >&5
|
||||||
|
$as_echo_n "checking for -fsanitize=address in CFLAGS... " >&6; }
|
||||||
|
if echo $CFLAGS | grep -q -e -fsanitize=address; then
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
|
$as_echo "yes" >&6; }
|
||||||
|
using_asan=yes
|
||||||
|
else
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
$as_echo "no" >&6; }
|
||||||
|
fi
|
||||||
|
if test x$using_asan = xyes; then
|
||||||
|
BUILDOPT_ASAN_TRUE=
|
||||||
|
BUILDOPT_ASAN_FALSE='#'
|
||||||
|
else
|
||||||
|
BUILDOPT_ASAN_TRUE='#'
|
||||||
|
BUILDOPT_ASAN_FALSE=
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Initialize libtool
|
# Initialize libtool
|
||||||
|
|
||||||
case `pwd` in
|
case `pwd` in
|
||||||
|
|
@ -14096,7 +14120,7 @@ rm -f core conftest.err conftest.$ac_objext \
|
||||||
GOBJECT_QUERY=""
|
GOBJECT_QUERY=""
|
||||||
GLIB_MKENUMS=""
|
GLIB_MKENUMS=""
|
||||||
GLIB_COMPILE_RESOURCES=""
|
GLIB_COMPILE_RESOURCES=""
|
||||||
:
|
as_fn_error $? "GLib not found" "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -16392,7 +16416,7 @@ fi
|
||||||
STATIC_COMPILER=$with_static_compiler
|
STATIC_COMPILER=$with_static_compiler
|
||||||
|
|
||||||
|
|
||||||
if test "x$found_introspection" = xyes; then :
|
if test "x$found_introspection" = xyes && test x$using_asan != xyes; then :
|
||||||
|
|
||||||
# Extract the first word of "gjs", so it can be a program name with args.
|
# Extract the first word of "gjs", so it can be a program name with args.
|
||||||
set dummy gjs; ac_word=$2
|
set dummy gjs; ac_word=$2
|
||||||
|
|
@ -16595,6 +16619,10 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
||||||
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
||||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
|
if test -z "${BUILDOPT_ASAN_TRUE}" && test -z "${BUILDOPT_ASAN_FALSE}"; then
|
||||||
|
as_fn_error $? "conditional \"BUILDOPT_ASAN\" was never defined.
|
||||||
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||||
|
fi
|
||||||
if test -z "${ENABLE_INSTALLED_TESTS_TRUE}" && test -z "${ENABLE_INSTALLED_TESTS_FALSE}"; then
|
if test -z "${ENABLE_INSTALLED_TESTS_TRUE}" && test -z "${ENABLE_INSTALLED_TESTS_FALSE}"; then
|
||||||
as_fn_error $? "conditional \"ENABLE_INSTALLED_TESTS\" was never defined.
|
as_fn_error $? "conditional \"ENABLE_INSTALLED_TESTS\" was never defined.
|
||||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||||
|
|
@ -17092,7 +17120,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
||||||
# report actual input values of CONFIG_FILES etc. instead of their
|
# report actual input values of CONFIG_FILES etc. instead of their
|
||||||
# values after options handling.
|
# values after options handling.
|
||||||
ac_log="
|
ac_log="
|
||||||
This file was extended by ostree $as_me 2016.14, which was
|
This file was extended by ostree $as_me 2016.15, which was
|
||||||
generated by GNU Autoconf 2.69. Invocation command line was
|
generated by GNU Autoconf 2.69. Invocation command line was
|
||||||
|
|
||||||
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
|
|
@ -17158,7 +17186,7 @@ _ACEOF
|
||||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
||||||
ac_cs_version="\\
|
ac_cs_version="\\
|
||||||
ostree config.status 2016.14
|
ostree config.status 2016.15
|
||||||
configured by $0, generated by GNU Autoconf 2.69,
|
configured by $0, generated by GNU Autoconf 2.69,
|
||||||
with options \\"\$ac_cs_config\\"
|
with options \\"\$ac_cs_config\\"
|
||||||
|
|
||||||
|
|
|
||||||
21
configure.ac
21
configure.ac
|
|
@ -1,6 +1,6 @@
|
||||||
AC_PREREQ([2.63])
|
AC_PREREQ([2.63])
|
||||||
dnl If incrementing the version here, remember to update libostree.sym too
|
dnl If incrementing the version here, remember to update libostree.sym too
|
||||||
AC_INIT([ostree], [2016.14], [walters@verbum.org])
|
AC_INIT([ostree], [2016.15], [walters@verbum.org])
|
||||||
AC_CONFIG_HEADER([config.h])
|
AC_CONFIG_HEADER([config.h])
|
||||||
AC_CONFIG_MACRO_DIR([buildutil])
|
AC_CONFIG_MACRO_DIR([buildutil])
|
||||||
AC_CONFIG_AUX_DIR([build-aux])
|
AC_CONFIG_AUX_DIR([build-aux])
|
||||||
|
|
@ -29,11 +29,23 @@ CC_CHECK_FLAGS_APPEND([WARN_CFLAGS], [CFLAGS], [\
|
||||||
-Werror=return-type \
|
-Werror=return-type \
|
||||||
-Werror=overflow \
|
-Werror=overflow \
|
||||||
-Werror=int-conversion \
|
-Werror=int-conversion \
|
||||||
|
-Werror=parenthesis \
|
||||||
|
-Werror=incompatible-pointer-types \
|
||||||
|
-Werror=misleading-indentation \
|
||||||
-Werror=missing-include-dirs -Werror=aggregate-return \
|
-Werror=missing-include-dirs -Werror=aggregate-return \
|
||||||
-Werror=declaration-after-statement \
|
-Werror=declaration-after-statement \
|
||||||
])
|
])
|
||||||
AC_SUBST(WARN_CFLAGS)
|
AC_SUBST(WARN_CFLAGS)
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([for -fsanitize=address in CFLAGS])
|
||||||
|
if echo $CFLAGS | grep -q -e -fsanitize=address; then
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
using_asan=yes
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
fi
|
||||||
|
AM_CONDITIONAL(BUILDOPT_ASAN, [test x$using_asan = xyes])
|
||||||
|
|
||||||
# Initialize libtool
|
# Initialize libtool
|
||||||
LT_PREREQ([2.2.4])
|
LT_PREREQ([2.2.4])
|
||||||
LT_INIT([disable-static])
|
LT_INIT([disable-static])
|
||||||
|
|
@ -50,7 +62,7 @@ AS_IF([test "$YACC" != "bison -y"], [AC_MSG_ERROR([bison not found but required]
|
||||||
|
|
||||||
PKG_PROG_PKG_CONFIG
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
AM_PATH_GLIB_2_0
|
AM_PATH_GLIB_2_0(,,AC_MSG_ERROR([GLib not found]))
|
||||||
|
|
||||||
dnl When bumping the gio-unix-2.0 dependency (or glib-2.0 in general),
|
dnl When bumping the gio-unix-2.0 dependency (or glib-2.0 in general),
|
||||||
dnl remember to bump GLIB_VERSION_MIN_REQUIRED and
|
dnl remember to bump GLIB_VERSION_MIN_REQUIRED and
|
||||||
|
|
@ -302,8 +314,9 @@ AC_ARG_WITH(static-compiler,
|
||||||
AM_CONDITIONAL(BUILDOPT_USE_STATIC_COMPILER, test x$with_static_compiler != xno)
|
AM_CONDITIONAL(BUILDOPT_USE_STATIC_COMPILER, test x$with_static_compiler != xno)
|
||||||
AC_SUBST(STATIC_COMPILER, $with_static_compiler)
|
AC_SUBST(STATIC_COMPILER, $with_static_compiler)
|
||||||
|
|
||||||
dnl for tests
|
dnl for tests (but we can't use asan with gjs or any introspection,
|
||||||
AS_IF([test "x$found_introspection" = xyes], [
|
dnl see https://github.com/google/sanitizers/wiki/AddressSanitizerAsDso for more info)
|
||||||
|
AS_IF([test "x$found_introspection" = xyes && test x$using_asan != xyes], [
|
||||||
AC_PATH_PROG(GJS, [gjs])
|
AC_PATH_PROG(GJS, [gjs])
|
||||||
if test -n "$GJS"; then
|
if test -n "$GJS"; then
|
||||||
have_gjs=yes
|
have_gjs=yes
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin cleanup
|
.\" Title: ostree admin cleanup
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin cleanup
|
.\" Manual: ostree admin cleanup
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin config-diff
|
.\" Title: ostree admin config-diff
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin config-diff
|
.\" Manual: ostree admin config-diff
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin deploy
|
.\" Title: ostree admin deploy
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin deploy
|
.\" Manual: ostree admin deploy
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin init-fs
|
.\" Title: ostree admin init-fs
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin init-fs
|
.\" Manual: ostree admin init-fs
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin instutil
|
.\" Title: ostree admin instutil
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin instutil
|
.\" Manual: ostree admin instutil
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin os-init
|
.\" Title: ostree admin os-init
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin os-init
|
.\" Manual: ostree admin os-init
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin set-origin
|
.\" Title: ostree admin set-origin
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin set-origin
|
.\" Manual: ostree admin set-origin
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin status
|
.\" Title: ostree admin status
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin status
|
.\" Manual: ostree admin status
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin switch
|
.\" Title: ostree admin switch
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin switch
|
.\" Manual: ostree admin switch
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin undeploy
|
.\" Title: ostree admin undeploy
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin undeploy
|
.\" Manual: ostree admin undeploy
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin unlock
|
.\" Title: ostree admin unlock
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin unlock
|
.\" Manual: ostree admin unlock
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin upgrade
|
.\" Title: ostree admin upgrade
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin upgrade
|
.\" Manual: ostree admin upgrade
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree admin
|
.\" Title: ostree admin
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree admin
|
.\" Manual: ostree admin
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree cat
|
.\" Title: ostree cat
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree cat
|
.\" Manual: ostree cat
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree checkout
|
.\" Title: ostree checkout
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree checkout
|
.\" Manual: ostree checkout
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree checksum
|
.\" Title: ostree checksum
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree checksum
|
.\" Manual: ostree checksum
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree commit
|
.\" Title: ostree commit
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree commit
|
.\" Manual: ostree commit
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree config
|
.\" Title: ostree config
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree config
|
.\" Manual: ostree config
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree diff
|
.\" Title: ostree diff
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree diff
|
.\" Manual: ostree diff
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree export
|
.\" Title: ostree export
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree export
|
.\" Manual: ostree export
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree fsck
|
.\" Title: ostree fsck
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree fsck
|
.\" Manual: ostree fsck
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree gpg-sign
|
.\" Title: ostree gpg-sign
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree gpg-sign
|
.\" Manual: ostree gpg-sign
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree init
|
.\" Title: ostree init
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree init
|
.\" Manual: ostree init
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
@ -39,5 +39,5 @@ Creates a new empty repository\&.
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-mode\fR="MODE"
|
\fB\-\-mode\fR="MODE"
|
||||||
.RS 4
|
.RS 4
|
||||||
Initialize repository in given mode (bare, archive\-z2)\&. Default is "bare"\&.
|
Initialize repository in given mode (bare, bare\-user, archive\-z2)\&. Default is "bare"\&.
|
||||||
.RE
|
.RE
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ Boston, MA 02111-1307, USA.
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>--mode</option>="MODE"</term>
|
<term><option>--mode</option>="MODE"</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Initialize repository in given mode (bare, archive-z2). Default is "bare".
|
Initialize repository in given mode (bare, bare-user, archive-z2). Default is "bare".
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree log
|
.\" Title: ostree log
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree log
|
.\" Manual: ostree log
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree ls
|
.\" Title: ostree ls
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree ls
|
.\" Manual: ostree ls
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree prune
|
.\" Title: ostree prune
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree prune
|
.\" Manual: ostree prune
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree pull-local
|
.\" Title: ostree pull-local
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree pull-local
|
.\" Manual: ostree pull-local
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree pull
|
.\" Title: ostree pull
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree pull
|
.\" Manual: ostree pull
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree refs
|
.\" Title: ostree refs
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree refs
|
.\" Manual: ostree refs
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree remote
|
.\" Title: ostree remote
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree remote
|
.\" Manual: ostree remote
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree reset
|
.\" Title: ostree reset
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree reset
|
.\" Manual: ostree reset
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree rev-parse
|
.\" Title: ostree rev-parse
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree rev-parse
|
.\" Manual: ostree rev-parse
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree show
|
.\" Title: ostree show
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree show
|
.\" Manual: ostree show
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree static-delta
|
.\" Title: ostree static-delta
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree static-delta
|
.\" Manual: ostree static-delta
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree summary
|
.\" Title: ostree summary
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree summary
|
.\" Manual: ostree summary
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree trivial-httpd
|
.\" Title: ostree trivial-httpd
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree trivial-httpd
|
.\" Manual: ostree trivial-httpd
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree
|
.\" Title: ostree
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree
|
.\" Manual: ostree
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree.repo-config
|
.\" Title: ostree.repo-config
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree.repo-config
|
.\" Manual: ostree.repo-config
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
@ -47,7 +47,8 @@ Repository\-global options\&. The following entries are defined:
|
||||||
\fImode\fR
|
\fImode\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
One of
|
One of
|
||||||
bare
|
bare,
|
||||||
|
bare\-user
|
||||||
or
|
or
|
||||||
archive\-z2\&.
|
archive\-z2\&.
|
||||||
.RE
|
.RE
|
||||||
|
|
@ -125,6 +126,11 @@ Path to file containing client\-side certificate key, to present when making req
|
||||||
.RS 4
|
.RS 4
|
||||||
Path to file containing trusted anchors instead of the system CA database\&.
|
Path to file containing trusted anchors instead of the system CA database\&.
|
||||||
.RE
|
.RE
|
||||||
|
.PP
|
||||||
|
\fIunconfigured\-state\fR
|
||||||
|
.RS 4
|
||||||
|
If set, pulls from this remote will fail with the configured text\&. This is intended for OS vendors which have a subscription process to access content\&.
|
||||||
|
.RE
|
||||||
.SH "/ETC/OSTREE/REMOTES\&.D"
|
.SH "/ETC/OSTREE/REMOTES\&.D"
|
||||||
.PP
|
.PP
|
||||||
In addition to the
|
In addition to the
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ Boston, MA 02111-1307, USA.
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>mode</varname></term>
|
<term><varname>mode</varname></term>
|
||||||
<listitem><para>One of <literal>bare</literal> or <literal>archive-z2</literal>. </para></listitem>
|
<listitem><para>One of <literal>bare</literal>, <literal>bare-user</literal> or <literal>archive-z2</literal>. </para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
|
@ -179,6 +179,11 @@ Boston, MA 02111-1307, USA.
|
||||||
<term><varname>tls-ca-path</varname></term>
|
<term><varname>tls-ca-path</varname></term>
|
||||||
<listitem><para>Path to file containing trusted anchors instead of the system CA database.</para></listitem>
|
<listitem><para>Path to file containing trusted anchors instead of the system CA database.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><varname>unconfigured-state</varname></term>
|
||||||
|
<listitem><para>If set, pulls from this remote will fail with the configured text. This is intended for OS vendors which have a subscription process to access content.</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: ostree.repo
|
.\" Title: ostree.repo
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: ostree.repo
|
.\" Manual: ostree.repo
|
||||||
.\" Source: OSTree
|
.\" Source: OSTree
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
@ -33,8 +33,11 @@ ostree.repo \- OSTree repository configuration and layout
|
||||||
.PP
|
.PP
|
||||||
An OSTree repository is structurally similar to a git repository; it is a content\-addressed object store containing filesystem trees\&. However, unlike git, ostree is designed to store operating system binaries\&. It records the Unix uid and gid, permissions, as well as extended attributes\&.
|
An OSTree repository is structurally similar to a git repository; it is a content\-addressed object store containing filesystem trees\&. However, unlike git, ostree is designed to store operating system binaries\&. It records the Unix uid and gid, permissions, as well as extended attributes\&.
|
||||||
.PP
|
.PP
|
||||||
A repository can be in one of two modes;
|
A repository can be in one of three modes;
|
||||||
bare, which is designed as a hard link source for operating system checkouts, and
|
bare, which is designed as a hard link source for operating system checkouts,
|
||||||
|
bare\-user, which is like
|
||||||
|
bare
|
||||||
|
but works on systems that run as non\-root as well as non\-root containers, and
|
||||||
archive\-z2, which is designed for static HTTP servers\&.
|
archive\-z2, which is designed for static HTTP servers\&.
|
||||||
.PP
|
.PP
|
||||||
There is a system repository located at
|
There is a system repository located at
|
||||||
|
|
|
||||||
|
|
@ -60,9 +60,12 @@
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
A repository can be in one of two modes;
|
A repository can be in one of three modes;
|
||||||
<literal>bare</literal>, which is designed as a hard
|
<literal>bare</literal>, which is designed as a hard
|
||||||
link source for operating system checkouts, and
|
link source for operating system checkouts,
|
||||||
|
<literal>bare-user</literal>, which is like
|
||||||
|
<literal>bare</literal> but works on systems that
|
||||||
|
run as non-root as well as non-root containers, and
|
||||||
<literal>archive-z2</literal>, which is designed for
|
<literal>archive-z2</literal>, which is designed for
|
||||||
static HTTP servers.
|
static HTTP servers.
|
||||||
</para>
|
</para>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.\" Title: rofiles-fuse
|
.\" Title: rofiles-fuse
|
||||||
.\" Author: Colin Walters <walters@verbum.org>
|
.\" Author: Colin Walters <walters@verbum.org>
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/23/2016
|
.\" Date: 12/12/2016
|
||||||
.\" Manual: rofiles-fuse
|
.\" Manual: rofiles-fuse
|
||||||
.\" Source: rofiles-fuse
|
.\" Source: rofiles-fuse
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
|
|
|
||||||
|
|
@ -364,6 +364,8 @@ global:
|
||||||
ostree_repo_verify_commit_for_remote;
|
ostree_repo_verify_commit_for_remote;
|
||||||
} LIBOSTREE_2016.8;
|
} LIBOSTREE_2016.8;
|
||||||
|
|
||||||
|
/* No new symbols in 2016.15 */
|
||||||
|
|
||||||
/* NOTE NOTE NOTE
|
/* NOTE NOTE NOTE
|
||||||
* Versions above here are released. Only add symbols below this line.
|
* Versions above here are released. Only add symbols below this line.
|
||||||
* NOTE NOTE NOTE
|
* NOTE NOTE NOTE
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ struct _OstreeBootconfigParser
|
||||||
GObject parent_instance;
|
GObject parent_instance;
|
||||||
|
|
||||||
gboolean parsed;
|
gboolean parsed;
|
||||||
char *separators;
|
const char *separators;
|
||||||
|
|
||||||
GHashTable *options;
|
GHashTable *options;
|
||||||
GPtrArray *lines;
|
GPtrArray *lines;
|
||||||
|
|
@ -193,7 +193,7 @@ ostree_bootconfig_parser_write_at (OstreeBootconfigParser *self,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
write_key (self, buf, key, value);
|
write_key (self, buf, key, value);
|
||||||
g_hash_table_insert (written_overrides, (gpointer)key, (gpointer)key);
|
g_hash_table_add (written_overrides, (gpointer)key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -235,7 +235,6 @@ ostree_bootconfig_parser_finalize (GObject *object)
|
||||||
|
|
||||||
g_hash_table_unref (self->options);
|
g_hash_table_unref (self->options);
|
||||||
g_ptr_array_unref (self->lines);
|
g_ptr_array_unref (self->lines);
|
||||||
g_free (self->separators);
|
|
||||||
|
|
||||||
G_OBJECT_CLASS (ostree_bootconfig_parser_parent_class)->finalize (object);
|
G_OBJECT_CLASS (ostree_bootconfig_parser_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
@ -261,6 +260,6 @@ ostree_bootconfig_parser_new (void)
|
||||||
OstreeBootconfigParser *self = NULL;
|
OstreeBootconfigParser *self = NULL;
|
||||||
|
|
||||||
self = g_object_new (OSTREE_TYPE_BOOTCONFIG_PARSER, NULL);
|
self = g_object_new (OSTREE_TYPE_BOOTCONFIG_PARSER, NULL);
|
||||||
self->separators = g_strdup (" \t");
|
self->separators = " \t";
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,6 @@ OstreeDeployment *
|
||||||
ostree_deployment_clone (OstreeDeployment *self)
|
ostree_deployment_clone (OstreeDeployment *self)
|
||||||
{
|
{
|
||||||
glnx_unref_object OstreeBootconfigParser *new_bootconfig = NULL;
|
glnx_unref_object OstreeBootconfigParser *new_bootconfig = NULL;
|
||||||
GKeyFile *new_origin = NULL;
|
|
||||||
OstreeDeployment *ret = ostree_deployment_new (self->index, self->osname, self->csum,
|
OstreeDeployment *ret = ostree_deployment_new (self->index, self->osname, self->csum,
|
||||||
self->deployserial,
|
self->deployserial,
|
||||||
self->bootcsum, self->bootserial);
|
self->bootcsum, self->bootserial);
|
||||||
|
|
@ -143,6 +142,7 @@ ostree_deployment_clone (OstreeDeployment *self)
|
||||||
|
|
||||||
if (self->origin)
|
if (self->origin)
|
||||||
{
|
{
|
||||||
|
g_autoptr(GKeyFile) new_origin = NULL;
|
||||||
g_autofree char *data = NULL;
|
g_autofree char *data = NULL;
|
||||||
gsize len;
|
gsize len;
|
||||||
gboolean success;
|
gboolean success;
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,13 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _GNU_SOURCE
|
||||||
|
#define _GNU_SOURCE
|
||||||
|
#endif
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "ostree-enumtypes.h"
|
#include "ostree-enumtypes.h"
|
||||||
|
|
||||||
/* enumerations from "./src/libostree/ostree-fetcher.h" */
|
/* enumerations from "./src/libostree/ostree-fetcher.h" */
|
||||||
#include "./src/libostree/ostree-fetcher.h"
|
#include "./src/libostree/ostree-fetcher.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,15 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _GNU_SOURCE
|
||||||
|
#define _GNU_SOURCE
|
||||||
|
#endif
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
/*** END file-header ***/
|
/*** END file-header ***/
|
||||||
|
|
||||||
/*** BEGIN file-production ***/
|
/*** BEGIN file-production ***/
|
||||||
|
|
||||||
/* enumerations from "@filename@" */
|
/* enumerations from "@filename@" */
|
||||||
#include "@filename@"
|
#include "@filename@"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,10 @@
|
||||||
|
|
||||||
#include <gio/gfiledescriptorbased.h>
|
#include <gio/gfiledescriptorbased.h>
|
||||||
#include <gio/gunixoutputstream.h>
|
#include <gio/gunixoutputstream.h>
|
||||||
|
#define LIBSOUP_USE_UNSTABLE_REQUEST_API
|
||||||
|
#include <libsoup/soup.h>
|
||||||
|
#include <libsoup/soup-requester.h>
|
||||||
|
#include <libsoup/soup-request-http.h>
|
||||||
|
|
||||||
#include "libglnx.h"
|
#include "libglnx.h"
|
||||||
#include "ostree-fetcher.h"
|
#include "ostree-fetcher.h"
|
||||||
|
|
@ -418,25 +422,20 @@ static void
|
||||||
create_pending_soup_request (OstreeFetcherPendingURI *pending,
|
create_pending_soup_request (OstreeFetcherPendingURI *pending,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
g_autofree char *uristr = NULL;
|
OstreeFetcherURI *next_mirror = NULL;
|
||||||
SoupURI *next_mirror = NULL;
|
g_autoptr(OstreeFetcherURI) uri = NULL;
|
||||||
SoupURI *uri = NULL;
|
|
||||||
|
|
||||||
g_assert (pending->mirrorlist);
|
g_assert (pending->mirrorlist);
|
||||||
g_assert (pending->mirrorlist_idx < pending->mirrorlist->len);
|
g_assert (pending->mirrorlist_idx < pending->mirrorlist->len);
|
||||||
|
|
||||||
next_mirror = g_ptr_array_index (pending->mirrorlist,
|
next_mirror = g_ptr_array_index (pending->mirrorlist, pending->mirrorlist_idx);
|
||||||
pending->mirrorlist_idx);
|
if (pending->filename)
|
||||||
uristr = g_build_filename (soup_uri_get_path (next_mirror),
|
uri = _ostree_fetcher_uri_new_subpath (next_mirror, pending->filename);
|
||||||
pending->filename /* may be NULL */, NULL);
|
|
||||||
uri = soup_uri_copy (next_mirror);
|
|
||||||
soup_uri_set_path (uri, uristr);
|
|
||||||
|
|
||||||
g_clear_object (&pending->request);
|
g_clear_object (&pending->request);
|
||||||
|
|
||||||
pending->request = soup_session_request_uri (pending->thread_closure->session,
|
pending->request = soup_session_request_uri (pending->thread_closure->session,
|
||||||
uri, error);
|
(SoupURI*)(uri ? uri : next_mirror), error);
|
||||||
soup_uri_free (uri);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
@ -1404,7 +1403,7 @@ _ostree_fetcher_mirrored_request_to_membuf (OstreeFetcher *fetcher,
|
||||||
/* Helper for callers who just want to fetch single one-off URIs */
|
/* Helper for callers who just want to fetch single one-off URIs */
|
||||||
gboolean
|
gboolean
|
||||||
_ostree_fetcher_request_uri_to_membuf (OstreeFetcher *fetcher,
|
_ostree_fetcher_request_uri_to_membuf (OstreeFetcher *fetcher,
|
||||||
SoupURI *uri,
|
OstreeFetcherURI *uri,
|
||||||
gboolean add_nul,
|
gboolean add_nul,
|
||||||
gboolean allow_noent,
|
gboolean allow_noent,
|
||||||
GBytes **out_contents,
|
GBytes **out_contents,
|
||||||
|
|
@ -1419,3 +1418,84 @@ _ostree_fetcher_request_uri_to_membuf (OstreeFetcher *fetcher,
|
||||||
out_contents, max_size,
|
out_contents, max_size,
|
||||||
cancellable, error);
|
cancellable, error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
_ostree_fetcher_uri_free (OstreeFetcherURI *uri)
|
||||||
|
{
|
||||||
|
if (uri)
|
||||||
|
soup_uri_free ((SoupURI*)uri);
|
||||||
|
}
|
||||||
|
|
||||||
|
OstreeFetcherURI *
|
||||||
|
_ostree_fetcher_uri_parse (const char *str,
|
||||||
|
GError **error)
|
||||||
|
{
|
||||||
|
SoupURI *soupuri = soup_uri_new (str);
|
||||||
|
if (soupuri == NULL)
|
||||||
|
{
|
||||||
|
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||||
|
"Failed to parse uri: %s", str);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
return (OstreeFetcherURI*)soupuri;
|
||||||
|
}
|
||||||
|
|
||||||
|
static OstreeFetcherURI *
|
||||||
|
_ostree_fetcher_uri_new_path_internal (OstreeFetcherURI *uri,
|
||||||
|
gboolean extend,
|
||||||
|
const char *path)
|
||||||
|
{
|
||||||
|
SoupURI *newuri = soup_uri_copy ((SoupURI*)uri);
|
||||||
|
if (path)
|
||||||
|
{
|
||||||
|
if (extend)
|
||||||
|
{
|
||||||
|
const char *origpath = soup_uri_get_path ((SoupURI*)uri);
|
||||||
|
g_autofree char *newpath = g_build_filename (origpath, path, NULL);
|
||||||
|
soup_uri_set_path (newuri, newpath);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
soup_uri_set_path (newuri, path);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return (OstreeFetcherURI*)newuri;
|
||||||
|
}
|
||||||
|
|
||||||
|
OstreeFetcherURI *
|
||||||
|
_ostree_fetcher_uri_new_path (OstreeFetcherURI *uri,
|
||||||
|
const char *path)
|
||||||
|
{
|
||||||
|
return _ostree_fetcher_uri_new_path_internal (uri, FALSE, path);
|
||||||
|
}
|
||||||
|
|
||||||
|
OstreeFetcherURI *
|
||||||
|
_ostree_fetcher_uri_new_subpath (OstreeFetcherURI *uri,
|
||||||
|
const char *subpath)
|
||||||
|
{
|
||||||
|
return _ostree_fetcher_uri_new_path_internal (uri, TRUE, subpath);
|
||||||
|
}
|
||||||
|
|
||||||
|
OstreeFetcherURI *
|
||||||
|
_ostree_fetcher_uri_clone (OstreeFetcherURI *uri)
|
||||||
|
{
|
||||||
|
return _ostree_fetcher_uri_new_subpath (uri, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
char *
|
||||||
|
_ostree_fetcher_uri_get_scheme (OstreeFetcherURI *uri)
|
||||||
|
{
|
||||||
|
return g_strdup (soup_uri_get_scheme ((SoupURI*)uri));
|
||||||
|
}
|
||||||
|
|
||||||
|
char *
|
||||||
|
_ostree_fetcher_uri_get_path (OstreeFetcherURI *uri)
|
||||||
|
{
|
||||||
|
return g_strdup (soup_uri_get_path ((SoupURI*)uri));
|
||||||
|
}
|
||||||
|
|
||||||
|
char *
|
||||||
|
_ostree_fetcher_uri_to_string (OstreeFetcherURI *uri)
|
||||||
|
{
|
||||||
|
return soup_uri_to_string ((SoupURI*)uri, FALSE);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,7 @@
|
||||||
|
|
||||||
#ifndef __GI_SCANNER__
|
#ifndef __GI_SCANNER__
|
||||||
|
|
||||||
#define LIBSOUP_USE_UNSTABLE_REQUEST_API
|
#include "libglnx.h"
|
||||||
#include <libsoup/soup.h>
|
|
||||||
#include <libsoup/soup-requester.h>
|
|
||||||
#include <libsoup/soup-request-http.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
@ -39,6 +36,8 @@ G_BEGIN_DECLS
|
||||||
/* Lower values have higher priority */
|
/* Lower values have higher priority */
|
||||||
#define OSTREE_FETCHER_DEFAULT_PRIORITY 0
|
#define OSTREE_FETCHER_DEFAULT_PRIORITY 0
|
||||||
|
|
||||||
|
typedef struct OstreeFetcherURI OstreeFetcherURI;
|
||||||
|
|
||||||
typedef struct OstreeFetcherClass OstreeFetcherClass;
|
typedef struct OstreeFetcherClass OstreeFetcherClass;
|
||||||
typedef struct OstreeFetcher OstreeFetcher;
|
typedef struct OstreeFetcher OstreeFetcher;
|
||||||
|
|
||||||
|
|
@ -52,6 +51,34 @@ typedef enum {
|
||||||
OSTREE_FETCHER_FLAGS_TLS_PERMISSIVE = (1 << 0)
|
OSTREE_FETCHER_FLAGS_TLS_PERMISSIVE = (1 << 0)
|
||||||
} OstreeFetcherConfigFlags;
|
} OstreeFetcherConfigFlags;
|
||||||
|
|
||||||
|
void
|
||||||
|
_ostree_fetcher_uri_free (OstreeFetcherURI *uri);
|
||||||
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(OstreeFetcherURI, _ostree_fetcher_uri_free)
|
||||||
|
|
||||||
|
OstreeFetcherURI *
|
||||||
|
_ostree_fetcher_uri_parse (const char *str,
|
||||||
|
GError **error);
|
||||||
|
|
||||||
|
OstreeFetcherURI *
|
||||||
|
_ostree_fetcher_uri_clone (OstreeFetcherURI *uri);
|
||||||
|
|
||||||
|
OstreeFetcherURI *
|
||||||
|
_ostree_fetcher_uri_new_path (OstreeFetcherURI *uri,
|
||||||
|
const char *subpath);
|
||||||
|
|
||||||
|
OstreeFetcherURI *
|
||||||
|
_ostree_fetcher_uri_new_subpath (OstreeFetcherURI *uri,
|
||||||
|
const char *subpath);
|
||||||
|
|
||||||
|
char *
|
||||||
|
_ostree_fetcher_uri_get_scheme (OstreeFetcherURI *uri);
|
||||||
|
|
||||||
|
char *
|
||||||
|
_ostree_fetcher_uri_get_path (OstreeFetcherURI *uri);
|
||||||
|
|
||||||
|
char *
|
||||||
|
_ostree_fetcher_uri_to_string (OstreeFetcherURI *uri);
|
||||||
|
|
||||||
GType _ostree_fetcher_get_type (void) G_GNUC_CONST;
|
GType _ostree_fetcher_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
OstreeFetcher *_ostree_fetcher_new (int tmpdir_dfd,
|
OstreeFetcher *_ostree_fetcher_new (int tmpdir_dfd,
|
||||||
|
|
@ -100,7 +127,7 @@ gboolean _ostree_fetcher_mirrored_request_to_membuf (OstreeFetcher *fetcher,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
gboolean _ostree_fetcher_request_uri_to_membuf (OstreeFetcher *fetcher,
|
gboolean _ostree_fetcher_request_uri_to_membuf (OstreeFetcher *fetcher,
|
||||||
SoupURI *uri,
|
OstreeFetcherURI *uri,
|
||||||
gboolean add_nul,
|
gboolean add_nul,
|
||||||
gboolean allow_noent,
|
gboolean allow_noent,
|
||||||
GBytes **out_contents,
|
GBytes **out_contents,
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
|
#include "ostree-libarchive-private.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,42 @@
|
||||||
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
||||||
|
*
|
||||||
|
* Copyright (C) 2016 Colin Walters <walters@verbum.org>
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General
|
||||||
|
* Public License along with this library; if not, write to the
|
||||||
|
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||||
|
* Boston, MA 02111-1307, USA.
|
||||||
|
*
|
||||||
|
* Author: Alexander Larsson <alexl@redhat.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <gio/gio.h>
|
||||||
|
#include "libglnx.h"
|
||||||
|
#ifdef HAVE_LIBARCHIVE
|
||||||
|
#include <archive.h>
|
||||||
|
#include <archive_entry.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBARCHIVE
|
||||||
|
GLNX_DEFINE_CLEANUP_FUNCTION (void *, flatpak_local_free_write_archive, archive_write_free)
|
||||||
|
#define ot_cleanup_write_archive __attribute__((cleanup (flatpak_local_free_write_archive)))
|
||||||
|
|
||||||
|
GLNX_DEFINE_CLEANUP_FUNCTION (void *, flatpak_local_free_read_archive, archive_read_free)
|
||||||
|
#define ot_cleanup_read_archive __attribute__((cleanup (flatpak_local_free_read_archive)))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
@ -43,7 +43,7 @@ struct OstreeMetalink
|
||||||
{
|
{
|
||||||
GObject parent_instance;
|
GObject parent_instance;
|
||||||
|
|
||||||
SoupURI *uri;
|
OstreeFetcherURI *uri;
|
||||||
|
|
||||||
OstreeFetcher *fetcher;
|
OstreeFetcher *fetcher;
|
||||||
char *requested_file;
|
char *requested_file;
|
||||||
|
|
@ -357,7 +357,7 @@ metalink_parser_text (GMarkupParseContext *context,
|
||||||
case OSTREE_METALINK_STATE_URL:
|
case OSTREE_METALINK_STATE_URL:
|
||||||
{
|
{
|
||||||
g_autofree char *uri_text = g_strndup (text, text_len);
|
g_autofree char *uri_text = g_strndup (text, text_len);
|
||||||
SoupURI *uri = soup_uri_new (uri_text);
|
OstreeFetcherURI *uri = _ostree_fetcher_uri_parse (uri_text, NULL);
|
||||||
if (uri != NULL)
|
if (uri != NULL)
|
||||||
g_ptr_array_add (self->urls, uri);
|
g_ptr_array_add (self->urls, uri);
|
||||||
}
|
}
|
||||||
|
|
@ -377,7 +377,7 @@ _ostree_metalink_finalize (GObject *object)
|
||||||
|
|
||||||
g_object_unref (self->fetcher);
|
g_object_unref (self->fetcher);
|
||||||
g_free (self->requested_file);
|
g_free (self->requested_file);
|
||||||
soup_uri_free (self->uri);
|
_ostree_fetcher_uri_free (self->uri);
|
||||||
|
|
||||||
G_OBJECT_CLASS (_ostree_metalink_parent_class)->finalize (object);
|
G_OBJECT_CLASS (_ostree_metalink_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
@ -399,14 +399,14 @@ OstreeMetalink *
|
||||||
_ostree_metalink_new (OstreeFetcher *fetcher,
|
_ostree_metalink_new (OstreeFetcher *fetcher,
|
||||||
const char *requested_file,
|
const char *requested_file,
|
||||||
guint64 max_size,
|
guint64 max_size,
|
||||||
SoupURI *uri)
|
OstreeFetcherURI *uri)
|
||||||
{
|
{
|
||||||
OstreeMetalink *self = (OstreeMetalink*)g_object_new (OSTREE_TYPE_METALINK, NULL);
|
OstreeMetalink *self = (OstreeMetalink*)g_object_new (OSTREE_TYPE_METALINK, NULL);
|
||||||
|
|
||||||
self->fetcher = g_object_ref (fetcher);
|
self->fetcher = g_object_ref (fetcher);
|
||||||
self->requested_file = g_strdup (requested_file);
|
self->requested_file = g_strdup (requested_file);
|
||||||
self->max_size = max_size;
|
self->max_size = max_size;
|
||||||
self->uri = soup_uri_copy (uri);
|
self->uri = _ostree_fetcher_uri_clone (uri);
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
@ -421,7 +421,7 @@ valid_hex_checksum (const char *s, gsize expected_len)
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
try_one_url (OstreeMetalinkRequest *self,
|
try_one_url (OstreeMetalinkRequest *self,
|
||||||
SoupURI *uri,
|
OstreeFetcherURI *uri,
|
||||||
GBytes **out_data,
|
GBytes **out_data,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
|
|
@ -479,19 +479,20 @@ try_one_url (OstreeMetalinkRequest *self,
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
if (out_data)
|
if (out_data)
|
||||||
*out_data = g_bytes_ref (bytes);
|
*out_data = g_steal_pointer (&bytes);
|
||||||
out:
|
out:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
try_metalink_targets (OstreeMetalinkRequest *self,
|
try_metalink_targets (OstreeMetalinkRequest *self,
|
||||||
SoupURI **out_target_uri,
|
OstreeFetcherURI **out_target_uri,
|
||||||
GBytes **out_data,
|
GBytes **out_data,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
SoupURI *target_uri = NULL;
|
OstreeFetcherURI *target_uri = NULL;
|
||||||
|
g_autoptr(GBytes) ret_data = NULL;
|
||||||
|
|
||||||
if (!self->found_a_file_element)
|
if (!self->found_a_file_element)
|
||||||
{
|
{
|
||||||
|
|
@ -546,7 +547,7 @@ try_metalink_targets (OstreeMetalinkRequest *self,
|
||||||
|
|
||||||
target_uri = self->urls->pdata[self->current_url_index];
|
target_uri = self->urls->pdata[self->current_url_index];
|
||||||
|
|
||||||
if (try_one_url (self, target_uri, out_data, &temp_error))
|
if (try_one_url (self, target_uri, &ret_data, &temp_error))
|
||||||
break;
|
break;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -567,7 +568,9 @@ try_metalink_targets (OstreeMetalinkRequest *self,
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
if (out_target_uri)
|
if (out_target_uri)
|
||||||
*out_target_uri = soup_uri_copy (target_uri);
|
*out_target_uri = _ostree_fetcher_uri_clone (target_uri);
|
||||||
|
if (out_data)
|
||||||
|
*out_data = g_steal_pointer (&ret_data);
|
||||||
out:
|
out:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
@ -582,7 +585,7 @@ static const GMarkupParser metalink_parser = {
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
SoupURI **out_target_uri;
|
OstreeFetcherURI **out_target_uri;
|
||||||
GBytes **out_data;
|
GBytes **out_data;
|
||||||
gboolean success;
|
gboolean success;
|
||||||
GError **error;
|
GError **error;
|
||||||
|
|
@ -591,7 +594,7 @@ typedef struct
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
_ostree_metalink_request_sync (OstreeMetalink *self,
|
_ostree_metalink_request_sync (OstreeMetalink *self,
|
||||||
SoupURI **out_target_uri,
|
OstreeFetcherURI **out_target_uri,
|
||||||
GBytes **out_data,
|
GBytes **out_data,
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
GError **error)
|
GError **error)
|
||||||
|
|
@ -599,7 +602,7 @@ _ostree_metalink_request_sync (OstreeMetalink *self,
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
OstreeMetalinkRequest request = { 0, };
|
OstreeMetalinkRequest request = { 0, };
|
||||||
g_autoptr(GMainContext) mainctx = NULL;
|
g_autoptr(GMainContext) mainctx = NULL;
|
||||||
GBytes *out_contents = NULL;
|
g_autoptr(GBytes) contents = NULL;
|
||||||
gsize len;
|
gsize len;
|
||||||
const guint8 *data;
|
const guint8 *data;
|
||||||
|
|
||||||
|
|
@ -607,20 +610,20 @@ _ostree_metalink_request_sync (OstreeMetalink *self,
|
||||||
g_main_context_push_thread_default (mainctx);
|
g_main_context_push_thread_default (mainctx);
|
||||||
|
|
||||||
request.metalink = g_object_ref (self);
|
request.metalink = g_object_ref (self);
|
||||||
request.urls = g_ptr_array_new_with_free_func ((GDestroyNotify) soup_uri_free);
|
request.urls = g_ptr_array_new_with_free_func ((GDestroyNotify) _ostree_fetcher_uri_free);
|
||||||
request.parser = g_markup_parse_context_new (&metalink_parser, G_MARKUP_PREFIX_ERROR_POSITION, &request, NULL);
|
request.parser = g_markup_parse_context_new (&metalink_parser, G_MARKUP_PREFIX_ERROR_POSITION, &request, NULL);
|
||||||
|
|
||||||
if (!_ostree_fetcher_request_uri_to_membuf (self->fetcher,
|
if (!_ostree_fetcher_request_uri_to_membuf (self->fetcher,
|
||||||
self->uri,
|
self->uri,
|
||||||
FALSE,
|
FALSE,
|
||||||
FALSE,
|
FALSE,
|
||||||
&out_contents,
|
&contents,
|
||||||
self->max_size,
|
self->max_size,
|
||||||
cancellable,
|
cancellable,
|
||||||
error))
|
error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
data = g_bytes_get_data (out_contents, &len);
|
data = g_bytes_get_data (contents, &len);
|
||||||
if (!g_markup_parse_context_parse (request.parser, (const char*)data, len, error))
|
if (!g_markup_parse_context_parse (request.parser, (const char*)data, len, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
|
@ -639,9 +642,3 @@ _ostree_metalink_request_sync (OstreeMetalink *self,
|
||||||
g_clear_pointer (&request.parser, g_markup_parse_context_free);
|
g_clear_pointer (&request.parser, g_markup_parse_context_free);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
SoupURI *
|
|
||||||
_ostree_metalink_get_uri (OstreeMetalink *self)
|
|
||||||
{
|
|
||||||
return self->uri;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -46,12 +46,10 @@ GType _ostree_metalink_get_type (void) G_GNUC_CONST;
|
||||||
OstreeMetalink *_ostree_metalink_new (OstreeFetcher *fetcher,
|
OstreeMetalink *_ostree_metalink_new (OstreeFetcher *fetcher,
|
||||||
const char *requested_file,
|
const char *requested_file,
|
||||||
guint64 max_size,
|
guint64 max_size,
|
||||||
SoupURI *uri);
|
OstreeFetcherURI *uri);
|
||||||
|
|
||||||
SoupURI *_ostree_metalink_get_uri (OstreeMetalink *self);
|
|
||||||
|
|
||||||
gboolean _ostree_metalink_request_sync (OstreeMetalink *self,
|
gboolean _ostree_metalink_request_sync (OstreeMetalink *self,
|
||||||
SoupURI **out_target_uri,
|
OstreeFetcherURI **out_target_uri,
|
||||||
GBytes **out_data,
|
GBytes **out_data,
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
|
||||||
|
|
@ -554,7 +554,7 @@ checkout_one_file_at (OstreeRepo *repo,
|
||||||
g_ascii_xdigit_value (checksum[1]));
|
g_ascii_xdigit_value (checksum[1]));
|
||||||
if (repo->updated_uncompressed_dirs == NULL)
|
if (repo->updated_uncompressed_dirs == NULL)
|
||||||
repo->updated_uncompressed_dirs = g_hash_table_new (NULL, NULL);
|
repo->updated_uncompressed_dirs = g_hash_table_new (NULL, NULL);
|
||||||
g_hash_table_insert (repo->updated_uncompressed_dirs, key, key);
|
g_hash_table_add (repo->updated_uncompressed_dirs, key);
|
||||||
}
|
}
|
||||||
g_mutex_unlock (&repo->cache_lock);
|
g_mutex_unlock (&repo->cache_lock);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -913,10 +913,9 @@ ostree_repo_write_archive_to_mtree (OstreeRepo *self,
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LIBARCHIVE
|
#ifdef HAVE_LIBARCHIVE
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
struct archive *a = NULL;
|
ot_cleanup_read_archive struct archive *a = archive_read_new ();
|
||||||
OstreeRepoImportArchiveOptions opts = { 0, };
|
OstreeRepoImportArchiveOptions opts = { 0, };
|
||||||
|
|
||||||
a = archive_read_new ();
|
|
||||||
#ifdef HAVE_ARCHIVE_READ_SUPPORT_FILTER_ALL
|
#ifdef HAVE_ARCHIVE_READ_SUPPORT_FILTER_ALL
|
||||||
archive_read_support_filter_all (a);
|
archive_read_support_filter_all (a);
|
||||||
#else
|
#else
|
||||||
|
|
@ -945,7 +944,6 @@ ostree_repo_write_archive_to_mtree (OstreeRepo *self,
|
||||||
if (a)
|
if (a)
|
||||||
{
|
{
|
||||||
(void)archive_read_close (a);
|
(void)archive_read_close (a);
|
||||||
(void)archive_read_free (a);
|
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,6 @@ struct OstreeRepo {
|
||||||
int cache_dir_fd;
|
int cache_dir_fd;
|
||||||
char *cache_dir;
|
char *cache_dir;
|
||||||
int objects_dir_fd;
|
int objects_dir_fd;
|
||||||
GFile *deltas_dir;
|
|
||||||
int uncompressed_objects_dir_fd;
|
int uncompressed_objects_dir_fd;
|
||||||
GFile *sysroot_dir;
|
GFile *sysroot_dir;
|
||||||
char *remotes_config_dir;
|
char *remotes_config_dir;
|
||||||
|
|
|
||||||
|
|
@ -353,7 +353,7 @@ fetch_mirrored_uri_contents_utf8_sync (OstreeFetcher *fetcher,
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
fetch_uri_contents_utf8_sync (OstreeFetcher *fetcher,
|
fetch_uri_contents_utf8_sync (OstreeFetcher *fetcher,
|
||||||
SoupURI *uri,
|
OstreeFetcherURI *uri,
|
||||||
char **out_contents,
|
char **out_contents,
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
GError **error)
|
GError **error)
|
||||||
|
|
@ -522,7 +522,7 @@ scan_dirtree_object (OtPullData *pull_data,
|
||||||
}
|
}
|
||||||
else if (!file_is_stored && !g_hash_table_lookup (pull_data->requested_content, file_checksum))
|
else if (!file_is_stored && !g_hash_table_lookup (pull_data->requested_content, file_checksum))
|
||||||
{
|
{
|
||||||
g_hash_table_insert (pull_data->requested_content, file_checksum, file_checksum);
|
g_hash_table_add (pull_data->requested_content, file_checksum);
|
||||||
enqueue_one_object_request (pull_data, file_checksum, OSTREE_OBJECT_TYPE_FILE, path, FALSE, FALSE);
|
enqueue_one_object_request (pull_data, file_checksum, OSTREE_OBJECT_TYPE_FILE, path, FALSE, FALSE);
|
||||||
file_checksum = NULL; /* Transfer ownership */
|
file_checksum = NULL; /* Transfer ownership */
|
||||||
}
|
}
|
||||||
|
|
@ -1010,8 +1010,6 @@ static_deltapart_fetch_on_complete (GObject *object,
|
||||||
_ostree_static_delta_part_execute_async (pull_data->repo,
|
_ostree_static_delta_part_execute_async (pull_data->repo,
|
||||||
fetch_data->objects,
|
fetch_data->objects,
|
||||||
part,
|
part,
|
||||||
/* Trust checksums if summary was gpg signed */
|
|
||||||
pull_data->gpg_verify_summary && pull_data->summary_data_sig,
|
|
||||||
pull_data->cancellable,
|
pull_data->cancellable,
|
||||||
on_static_delta_written,
|
on_static_delta_written,
|
||||||
fetch_data);
|
fetch_data);
|
||||||
|
|
@ -1137,10 +1135,6 @@ scan_commit_object (OtPullData *pull_data,
|
||||||
is_partial = pull_data->legacy_transaction_resuming
|
is_partial = pull_data->legacy_transaction_resuming
|
||||||
|| (commitstate & OSTREE_REPO_COMMIT_STATE_PARTIAL) > 0;
|
|| (commitstate & OSTREE_REPO_COMMIT_STATE_PARTIAL) > 0;
|
||||||
|
|
||||||
if (!ostree_repo_load_variant (pull_data->repo, OSTREE_OBJECT_TYPE_COMMIT, checksum,
|
|
||||||
&commit, error))
|
|
||||||
goto out;
|
|
||||||
|
|
||||||
/* PARSE OSTREE_SERIALIZED_COMMIT_VARIANT */
|
/* PARSE OSTREE_SERIALIZED_COMMIT_VARIANT */
|
||||||
g_variant_get_child (commit, 1, "@ay", &parent_csum);
|
g_variant_get_child (commit, 1, "@ay", &parent_csum);
|
||||||
if (g_variant_n_children (parent_csum) > 0)
|
if (g_variant_n_children (parent_csum) > 0)
|
||||||
|
|
@ -1279,15 +1273,15 @@ scan_one_metadata_object_c (OtPullData *pull_data,
|
||||||
{
|
{
|
||||||
if (!is_stored)
|
if (!is_stored)
|
||||||
{
|
{
|
||||||
if (!ostree_repo_import_object_from_with_trust (pull_data->repo, pull_data->remote_repo_local,
|
|
||||||
objtype, tmp_checksum, !pull_data->is_untrusted,
|
|
||||||
cancellable, error))
|
|
||||||
goto out;
|
|
||||||
if (objtype == OSTREE_OBJECT_TYPE_COMMIT)
|
if (objtype == OSTREE_OBJECT_TYPE_COMMIT)
|
||||||
{
|
{
|
||||||
if (!write_commitpartial_for (pull_data, tmp_checksum, error))
|
if (!write_commitpartial_for (pull_data, tmp_checksum, error))
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
if (!ostree_repo_import_object_from_with_trust (pull_data->repo, pull_data->remote_repo_local,
|
||||||
|
objtype, tmp_checksum, !pull_data->is_untrusted,
|
||||||
|
cancellable, error))
|
||||||
|
goto out;
|
||||||
}
|
}
|
||||||
is_stored = TRUE;
|
is_stored = TRUE;
|
||||||
is_requested = TRUE;
|
is_requested = TRUE;
|
||||||
|
|
@ -1298,7 +1292,7 @@ scan_one_metadata_object_c (OtPullData *pull_data,
|
||||||
char *duped_checksum = g_strdup (tmp_checksum);
|
char *duped_checksum = g_strdup (tmp_checksum);
|
||||||
gboolean do_fetch_detached;
|
gboolean do_fetch_detached;
|
||||||
|
|
||||||
g_hash_table_insert (pull_data->requested_metadata, duped_checksum, duped_checksum);
|
g_hash_table_add (pull_data->requested_metadata, duped_checksum);
|
||||||
|
|
||||||
do_fetch_detached = (objtype == OSTREE_OBJECT_TYPE_COMMIT);
|
do_fetch_detached = (objtype == OSTREE_OBJECT_TYPE_COMMIT);
|
||||||
enqueue_one_object_request (pull_data, tmp_checksum, objtype, path, do_fetch_detached, FALSE);
|
enqueue_one_object_request (pull_data, tmp_checksum, objtype, path, do_fetch_detached, FALSE);
|
||||||
|
|
@ -1312,7 +1306,7 @@ scan_one_metadata_object_c (OtPullData *pull_data,
|
||||||
pull_data->cancellable, error))
|
pull_data->cancellable, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
g_hash_table_insert (pull_data->scanned_metadata, g_variant_ref (object), object);
|
g_hash_table_add (pull_data->scanned_metadata, g_variant_ref (object));
|
||||||
pull_data->n_scanned_metadata++;
|
pull_data->n_scanned_metadata++;
|
||||||
}
|
}
|
||||||
else if (is_stored && objtype == OSTREE_OBJECT_TYPE_DIR_TREE)
|
else if (is_stored && objtype == OSTREE_OBJECT_TYPE_DIR_TREE)
|
||||||
|
|
@ -1321,7 +1315,7 @@ scan_one_metadata_object_c (OtPullData *pull_data,
|
||||||
pull_data->cancellable, error))
|
pull_data->cancellable, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
g_hash_table_insert (pull_data->scanned_metadata, g_variant_ref (object), object);
|
g_hash_table_add (pull_data->scanned_metadata, g_variant_ref (object));
|
||||||
pull_data->n_scanned_metadata++;
|
pull_data->n_scanned_metadata++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1482,8 +1476,8 @@ request_static_delta_superblock_sync (OtPullData *pull_data,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ret_delta_superblock = g_variant_new_from_bytes ((GVariantType*)OSTREE_STATIC_DELTA_SUPERBLOCK_FORMAT,
|
ret_delta_superblock = g_variant_ref_sink (g_variant_new_from_bytes ((GVariantType*)OSTREE_STATIC_DELTA_SUPERBLOCK_FORMAT,
|
||||||
delta_superblock_data, FALSE);
|
delta_superblock_data, FALSE));
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
|
|
@ -1542,7 +1536,7 @@ process_one_static_delta_fallback (OtPullData *pull_data,
|
||||||
if (!g_hash_table_lookup (pull_data->requested_metadata, checksum))
|
if (!g_hash_table_lookup (pull_data->requested_metadata, checksum))
|
||||||
{
|
{
|
||||||
gboolean do_fetch_detached;
|
gboolean do_fetch_detached;
|
||||||
g_hash_table_insert (pull_data->requested_metadata, checksum, checksum);
|
g_hash_table_add (pull_data->requested_metadata, checksum);
|
||||||
|
|
||||||
do_fetch_detached = (objtype == OSTREE_OBJECT_TYPE_COMMIT);
|
do_fetch_detached = (objtype == OSTREE_OBJECT_TYPE_COMMIT);
|
||||||
enqueue_one_object_request (pull_data, checksum, objtype, NULL, do_fetch_detached, FALSE);
|
enqueue_one_object_request (pull_data, checksum, objtype, NULL, do_fetch_detached, FALSE);
|
||||||
|
|
@ -1553,7 +1547,7 @@ process_one_static_delta_fallback (OtPullData *pull_data,
|
||||||
{
|
{
|
||||||
if (!g_hash_table_lookup (pull_data->requested_content, checksum))
|
if (!g_hash_table_lookup (pull_data->requested_content, checksum))
|
||||||
{
|
{
|
||||||
g_hash_table_insert (pull_data->requested_content, checksum, checksum);
|
g_hash_table_add (pull_data->requested_content, checksum);
|
||||||
enqueue_one_object_request (pull_data, checksum, OSTREE_OBJECT_TYPE_FILE, NULL, FALSE, FALSE);
|
enqueue_one_object_request (pull_data, checksum, OSTREE_OBJECT_TYPE_FILE, NULL, FALSE, FALSE);
|
||||||
checksum = NULL; /* Transfer ownership */
|
checksum = NULL; /* Transfer ownership */
|
||||||
}
|
}
|
||||||
|
|
@ -1665,7 +1659,6 @@ process_one_static_delta (OtPullData *pull_data,
|
||||||
g_autoptr(GBytes) inline_part_bytes = NULL;
|
g_autoptr(GBytes) inline_part_bytes = NULL;
|
||||||
guint64 size, usize;
|
guint64 size, usize;
|
||||||
guint32 version;
|
guint32 version;
|
||||||
const gboolean trusted = pull_data->gpg_verify_summary && pull_data->summary_data_sig;
|
|
||||||
|
|
||||||
header = g_variant_get_child_value (headers, i);
|
header = g_variant_get_child_value (headers, i);
|
||||||
g_variant_get (header, "(u@aytt@ay)", &version, &csum_v, &size, &usize, &objects);
|
g_variant_get (header, "(u@aytt@ay)", &version, &csum_v, &size, &usize, &objects);
|
||||||
|
|
@ -1735,7 +1728,6 @@ process_one_static_delta (OtPullData *pull_data,
|
||||||
_ostree_static_delta_part_execute_async (pull_data->repo,
|
_ostree_static_delta_part_execute_async (pull_data->repo,
|
||||||
fetch_data->objects,
|
fetch_data->objects,
|
||||||
inline_delta_part,
|
inline_delta_part,
|
||||||
trusted,
|
|
||||||
pull_data->cancellable,
|
pull_data->cancellable,
|
||||||
on_static_delta_written,
|
on_static_delta_written,
|
||||||
fetch_data);
|
fetch_data);
|
||||||
|
|
@ -2063,17 +2055,13 @@ fetch_mirrorlist (OstreeFetcher *fetcher,
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
g_auto(GStrv) lines = NULL;
|
g_auto(GStrv) lines = NULL;
|
||||||
g_autofree char *contents = NULL;
|
g_autofree char *contents = NULL;
|
||||||
SoupURI *mirrorlist = NULL;
|
g_autoptr(OstreeFetcherURI) mirrorlist = NULL;
|
||||||
g_autoptr(GPtrArray) ret_mirrorlist =
|
g_autoptr(GPtrArray) ret_mirrorlist =
|
||||||
g_ptr_array_new_with_free_func ((GDestroyNotify) soup_uri_free);
|
g_ptr_array_new_with_free_func ((GDestroyNotify) _ostree_fetcher_uri_free);
|
||||||
|
|
||||||
mirrorlist = soup_uri_new (mirrorlist_url);
|
mirrorlist = _ostree_fetcher_uri_parse (mirrorlist_url, error);
|
||||||
if (mirrorlist == NULL)
|
if (!mirrorlist)
|
||||||
{
|
|
||||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
|
||||||
"Failed to parse mirrorlist URL '%s'", mirrorlist_url);
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
|
||||||
|
|
||||||
if (!fetch_uri_contents_utf8_sync (fetcher, mirrorlist, &contents,
|
if (!fetch_uri_contents_utf8_sync (fetcher, mirrorlist, &contents,
|
||||||
cancellable, error))
|
cancellable, error))
|
||||||
|
|
@ -2091,27 +2079,28 @@ fetch_mirrorlist (OstreeFetcher *fetcher,
|
||||||
for (char **iter = lines; iter && *iter; iter++)
|
for (char **iter = lines; iter && *iter; iter++)
|
||||||
{
|
{
|
||||||
const char *mirror_uri_str = *iter;
|
const char *mirror_uri_str = *iter;
|
||||||
SoupURI *mirror_uri = NULL;
|
g_autoptr(OstreeFetcherURI) mirror_uri = NULL;
|
||||||
|
g_autofree char *scheme = NULL;
|
||||||
|
|
||||||
/* let's be nice and support empty lines and comments */
|
/* let's be nice and support empty lines and comments */
|
||||||
if (*mirror_uri_str == '\0' || *mirror_uri_str == '#')
|
if (*mirror_uri_str == '\0' || *mirror_uri_str == '#')
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
mirror_uri = soup_uri_new (mirror_uri_str);
|
mirror_uri = _ostree_fetcher_uri_parse (mirror_uri_str, NULL);
|
||||||
if (mirror_uri == NULL)
|
if (!mirror_uri)
|
||||||
{
|
{
|
||||||
g_debug ("Can't parse mirrorlist line '%s'", mirror_uri_str);
|
g_debug ("Can't parse mirrorlist line '%s'", mirror_uri_str);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if ((strcmp (soup_uri_get_scheme (mirror_uri), "http") != 0) &&
|
|
||||||
(strcmp (soup_uri_get_scheme (mirror_uri), "https") != 0))
|
scheme = _ostree_fetcher_uri_get_scheme (mirror_uri);
|
||||||
|
if (!(g_str_equal (scheme, "http") || (g_str_equal (scheme, "https"))))
|
||||||
{
|
{
|
||||||
/* let's not support mirrorlists that contain non-http based URIs for
|
/* let's not support mirrorlists that contain non-http based URIs for
|
||||||
* now (e.g. local URIs) -- we need to think about if and how we want
|
* now (e.g. local URIs) -- we need to think about if and how we want
|
||||||
* to support this since we set up things differently depending on
|
* to support this since we set up things differently depending on
|
||||||
* whether we're pulling locally or not */
|
* whether we're pulling locally or not */
|
||||||
g_debug ("Ignoring non-http/s mirrorlist entry '%s'", mirror_uri_str);
|
g_debug ("Ignoring non-http/s mirrorlist entry '%s'", mirror_uri_str);
|
||||||
soup_uri_free (mirror_uri);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2122,9 +2111,7 @@ fetch_mirrorlist (OstreeFetcher *fetcher,
|
||||||
if (ret_mirrorlist->len == 0)
|
if (ret_mirrorlist->len == 0)
|
||||||
{
|
{
|
||||||
GError *local_error = NULL;
|
GError *local_error = NULL;
|
||||||
g_autofree char *config_uri_str = g_build_filename (mirror_uri_str,
|
g_autoptr(OstreeFetcherURI) config_uri = _ostree_fetcher_uri_new_subpath (mirror_uri, "config");
|
||||||
"config", NULL);
|
|
||||||
SoupURI *config_uri = soup_uri_new (config_uri_str);
|
|
||||||
|
|
||||||
if (fetch_uri_contents_utf8_sync (fetcher, config_uri, NULL,
|
if (fetch_uri_contents_utf8_sync (fetcher, config_uri, NULL,
|
||||||
cancellable, &local_error))
|
cancellable, &local_error))
|
||||||
|
|
@ -2135,16 +2122,11 @@ fetch_mirrorlist (OstreeFetcher *fetcher,
|
||||||
mirror_uri_str, local_error->message);
|
mirror_uri_str, local_error->message);
|
||||||
g_clear_error (&local_error);
|
g_clear_error (&local_error);
|
||||||
}
|
}
|
||||||
|
|
||||||
soup_uri_free (config_uri);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_ptr_array_add (ret_mirrorlist, g_steal_pointer (&mirror_uri));
|
g_ptr_array_add (ret_mirrorlist, g_steal_pointer (&mirror_uri));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mirror_uri != NULL)
|
|
||||||
soup_uri_free (mirror_uri);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret_mirrorlist->len == 0)
|
if (ret_mirrorlist->len == 0)
|
||||||
|
|
@ -2159,8 +2141,6 @@ fetch_mirrorlist (OstreeFetcher *fetcher,
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
|
|
||||||
out:
|
out:
|
||||||
if (mirrorlist != NULL)
|
|
||||||
soup_uri_free (mirrorlist);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2209,18 +2189,14 @@ repo_remote_fetch_summary (OstreeRepo *self,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
SoupURI *uri = soup_uri_new (url_string);
|
g_autoptr(OstreeFetcherURI) uri = _ostree_fetcher_uri_parse (url_string, error);
|
||||||
|
|
||||||
if (uri == NULL)
|
if (!uri)
|
||||||
{
|
|
||||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
|
||||||
"Failed to parse url '%s'", url_string);
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
|
||||||
|
|
||||||
mirrorlist =
|
mirrorlist =
|
||||||
g_ptr_array_new_with_free_func ((GDestroyNotify) soup_uri_free);
|
g_ptr_array_new_with_free_func ((GDestroyNotify) _ostree_fetcher_uri_free);
|
||||||
g_ptr_array_add (mirrorlist, uri /* transfer ownership */ );
|
g_ptr_array_add (mirrorlist, g_steal_pointer (&uri));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2482,6 +2458,8 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
g_autofree char *unconfigured_state = NULL;
|
||||||
|
|
||||||
pull_data->remote_name = g_strdup (remote_name_or_baseurl);
|
pull_data->remote_name = g_strdup (remote_name_or_baseurl);
|
||||||
|
|
||||||
/* Fetch GPG verification settings from remote if it wasn't already
|
/* Fetch GPG verification settings from remote if it wasn't already
|
||||||
|
|
@ -2495,6 +2473,22 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||||
if (!ostree_repo_remote_get_gpg_verify_summary (self, pull_data->remote_name,
|
if (!ostree_repo_remote_get_gpg_verify_summary (self, pull_data->remote_name,
|
||||||
&pull_data->gpg_verify_summary, error))
|
&pull_data->gpg_verify_summary, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
/* NOTE: If changing this, see the matching implementation in
|
||||||
|
* ostree-sysroot-upgrader.c
|
||||||
|
*/
|
||||||
|
if (!ostree_repo_get_remote_option (self, pull_data->remote_name,
|
||||||
|
"unconfigured-state", NULL,
|
||||||
|
&unconfigured_state,
|
||||||
|
error))
|
||||||
|
goto out;
|
||||||
|
|
||||||
|
if (unconfigured_state)
|
||||||
|
{
|
||||||
|
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||||
|
"remote unconfigured-state: %s", unconfigured_state);
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pull_data->phase = OSTREE_PULL_PHASE_FETCHING_REFS;
|
pull_data->phase = OSTREE_PULL_PHASE_FETCHING_REFS;
|
||||||
|
|
@ -2530,36 +2524,27 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
SoupURI *baseuri = soup_uri_new (baseurl);
|
g_autoptr(OstreeFetcherURI) baseuri = _ostree_fetcher_uri_parse (baseurl, error);
|
||||||
|
|
||||||
if (baseuri == NULL)
|
if (!baseuri)
|
||||||
{
|
|
||||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
|
||||||
"Failed to parse url '%s'", baseurl);
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
|
||||||
|
|
||||||
pull_data->meta_mirrorlist =
|
pull_data->meta_mirrorlist =
|
||||||
g_ptr_array_new_with_free_func ((GDestroyNotify) soup_uri_free);
|
g_ptr_array_new_with_free_func ((GDestroyNotify) _ostree_fetcher_uri_free);
|
||||||
g_ptr_array_add (pull_data->meta_mirrorlist, baseuri /* transfer */);
|
g_ptr_array_add (pull_data->meta_mirrorlist, g_steal_pointer (&baseuri));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_autoptr(GBytes) summary_bytes = NULL;
|
g_autoptr(GBytes) summary_bytes = NULL;
|
||||||
SoupURI *metalink_uri = soup_uri_new (metalink_url_str);
|
g_autoptr(OstreeFetcherURI) metalink_uri = _ostree_fetcher_uri_parse (metalink_url_str, error);
|
||||||
SoupURI *target_uri = NULL;
|
g_autoptr(OstreeFetcherURI) target_uri = NULL;
|
||||||
|
|
||||||
if (!metalink_uri)
|
if (!metalink_uri)
|
||||||
{
|
|
||||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
|
||||||
"Invalid metalink URL: %s", metalink_url_str);
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
|
||||||
|
|
||||||
metalink = _ostree_metalink_new (pull_data->fetcher, "summary",
|
metalink = _ostree_metalink_new (pull_data->fetcher, "summary",
|
||||||
OSTREE_MAX_METADATA_SIZE, metalink_uri);
|
OSTREE_MAX_METADATA_SIZE, metalink_uri);
|
||||||
soup_uri_free (metalink_uri);
|
|
||||||
|
|
||||||
if (! _ostree_metalink_request_sync (metalink,
|
if (! _ostree_metalink_request_sync (metalink,
|
||||||
&target_uri,
|
&target_uri,
|
||||||
|
|
@ -2572,12 +2557,12 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||||
* mirrors here since we use it as such anyway (rather than the "usual"
|
* mirrors here since we use it as such anyway (rather than the "usual"
|
||||||
* use case of metalink, which is only for a single target filename) */
|
* use case of metalink, which is only for a single target filename) */
|
||||||
{
|
{
|
||||||
/* reuse target_uri and take ownership */
|
g_autofree char *path = _ostree_fetcher_uri_get_path (target_uri);
|
||||||
g_autofree char *repo_base = g_path_get_dirname (soup_uri_get_path (target_uri));
|
g_autofree char *basepath = g_path_get_dirname (path);
|
||||||
soup_uri_set_path (target_uri, repo_base);
|
g_autoptr(OstreeFetcherURI) new_target_uri = _ostree_fetcher_uri_new_path (target_uri, basepath);
|
||||||
pull_data->meta_mirrorlist =
|
pull_data->meta_mirrorlist =
|
||||||
g_ptr_array_new_with_free_func ((GDestroyNotify) soup_uri_free);
|
g_ptr_array_new_with_free_func ((GDestroyNotify) _ostree_fetcher_uri_free);
|
||||||
g_ptr_array_add (pull_data->meta_mirrorlist, target_uri);
|
g_ptr_array_add (pull_data->meta_mirrorlist, g_steal_pointer (&new_target_uri));
|
||||||
}
|
}
|
||||||
|
|
||||||
pull_data->summary = g_variant_new_from_bytes (OSTREE_SUMMARY_GVARIANT_FORMAT,
|
pull_data->summary = g_variant_new_from_bytes (OSTREE_SUMMARY_GVARIANT_FORMAT,
|
||||||
|
|
@ -2611,19 +2596,15 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
SoupURI *contenturi = soup_uri_new (contenturl);
|
g_autoptr(OstreeFetcherURI) contenturi = _ostree_fetcher_uri_parse (contenturl, error);
|
||||||
|
|
||||||
if (contenturi == NULL)
|
if (!contenturi)
|
||||||
{
|
|
||||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
|
||||||
"Failed to parse contenturl '%s'", contenturl);
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
|
||||||
|
|
||||||
pull_data->content_mirrorlist =
|
pull_data->content_mirrorlist =
|
||||||
g_ptr_array_new_with_free_func ((GDestroyNotify) soup_uri_free);
|
g_ptr_array_new_with_free_func ((GDestroyNotify) _ostree_fetcher_uri_free);
|
||||||
g_ptr_array_add (pull_data->content_mirrorlist,
|
g_ptr_array_add (pull_data->content_mirrorlist,
|
||||||
contenturi /* transfer */);
|
g_steal_pointer (&contenturi));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -2633,12 +2614,16 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||||
&configured_branches, error))
|
&configured_branches, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
/* TODO reindent later */
|
||||||
|
{ OstreeFetcherURI *first_uri = pull_data->meta_mirrorlist->pdata[0];
|
||||||
|
g_autofree char *first_scheme = _ostree_fetcher_uri_get_scheme (first_uri);
|
||||||
|
|
||||||
/* NB: we don't support local mirrors in mirrorlists, so if this passes, it
|
/* NB: we don't support local mirrors in mirrorlists, so if this passes, it
|
||||||
* means that we're not using mirrorlists (see also fetch_mirrorlist()) */
|
* means that we're not using mirrorlists (see also fetch_mirrorlist()) */
|
||||||
if (strcmp (soup_uri_get_scheme (pull_data->meta_mirrorlist->pdata[0]), "file") == 0)
|
if (g_str_equal (first_scheme, "file"))
|
||||||
{
|
{
|
||||||
g_autoptr(GFile) remote_repo_path =
|
g_autofree char *path = _ostree_fetcher_uri_get_path (first_uri);
|
||||||
g_file_new_for_path (soup_uri_get_path (pull_data->meta_mirrorlist->pdata[0]));
|
g_autoptr(GFile) remote_repo_path = g_file_new_for_path (path);
|
||||||
pull_data->remote_repo_local = ostree_repo_new (remote_repo_path);
|
pull_data->remote_repo_local = ostree_repo_new (remote_repo_path);
|
||||||
if (!ostree_repo_open (pull_data->remote_repo_local, cancellable, error))
|
if (!ostree_repo_open (pull_data->remote_repo_local, cancellable, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
@ -2667,6 +2652,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* For local pulls, default to disabling static deltas so that the
|
/* For local pulls, default to disabling static deltas so that the
|
||||||
* exact object files are copied.
|
* exact object files are copied.
|
||||||
|
|
@ -2804,7 +2790,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||||
for (i = 0; i < n; i++)
|
for (i = 0; i < n; i++)
|
||||||
{
|
{
|
||||||
const char *delta;
|
const char *delta;
|
||||||
GVariant *csum_v = NULL;
|
g_autoptr(GVariant) csum_v = NULL;
|
||||||
guchar *csum_data = g_malloc (OSTREE_SHA256_DIGEST_LEN);
|
guchar *csum_data = g_malloc (OSTREE_SHA256_DIGEST_LEN);
|
||||||
g_autoptr(GVariant) ref = g_variant_get_child_value (deltas, i);
|
g_autoptr(GVariant) ref = g_variant_get_child_value (deltas, i);
|
||||||
|
|
||||||
|
|
@ -2844,7 +2830,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||||
if (ostree_validate_checksum_string (branch, NULL))
|
if (ostree_validate_checksum_string (branch, NULL))
|
||||||
{
|
{
|
||||||
char *key = g_strdup (branch);
|
char *key = g_strdup (branch);
|
||||||
g_hash_table_insert (commits_to_fetch, key, key);
|
g_hash_table_add (commits_to_fetch, key);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -2955,7 +2941,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||||
g_autofree char *from_revision = NULL;
|
g_autofree char *from_revision = NULL;
|
||||||
const char *ref = key;
|
const char *ref = key;
|
||||||
const char *to_revision = value;
|
const char *to_revision = value;
|
||||||
GVariant *delta_superblock = NULL;
|
g_autoptr(GVariant) delta_superblock = NULL;
|
||||||
|
|
||||||
if (!ostree_repo_resolve_rev (pull_data->repo, ref, TRUE,
|
if (!ostree_repo_resolve_rev (pull_data->repo, ref, TRUE,
|
||||||
&from_revision, error))
|
&from_revision, error))
|
||||||
|
|
@ -3169,9 +3155,10 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||||
* @self: Self
|
* @self: Self
|
||||||
* @name: name of a remote
|
* @name: name of a remote
|
||||||
* @options: (nullable): A GVariant a{sv} with an extensible set of flags
|
* @options: (nullable): A GVariant a{sv} with an extensible set of flags
|
||||||
* @out_summary: (nullable): return location for raw summary data, or %NULL
|
* @out_summary: (out) (optional): return location for raw summary data, or
|
||||||
* @out_signatures: (nullable): return location for raw summary signature
|
* %NULL
|
||||||
* data, or %NULL
|
* @out_signatures: (out) (optional): return location for raw summary
|
||||||
|
* signature data, or %NULL
|
||||||
* @cancellable: a #GCancellable
|
* @cancellable: a #GCancellable
|
||||||
* @error: a #GError
|
* @error: a #GError
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,7 @@ xattr_chunk_hash (const void *vp)
|
||||||
{
|
{
|
||||||
const guint8* name;
|
const guint8* name;
|
||||||
const guint8* value_data;
|
const guint8* value_data;
|
||||||
GVariant *value = NULL;
|
g_autoptr(GVariant) value = NULL;
|
||||||
gsize value_len;
|
gsize value_len;
|
||||||
|
|
||||||
g_variant_get_child (v, i, "(^&ay@ay)",
|
g_variant_get_child (v, i, "(^&ay@ay)",
|
||||||
|
|
@ -911,9 +911,8 @@ generate_delta_lowlatency (OstreeRepo *repo,
|
||||||
|
|
||||||
ostree_object_name_deserialize (serialized_key, &checksum, &objtype);
|
ostree_object_name_deserialize (serialized_key, &checksum, &objtype);
|
||||||
|
|
||||||
g_variant_ref (serialized_key);
|
|
||||||
if (OSTREE_OBJECT_TYPE_IS_META (objtype))
|
if (OSTREE_OBJECT_TYPE_IS_META (objtype))
|
||||||
g_hash_table_add (new_reachable_metadata, serialized_key);
|
g_hash_table_add (new_reachable_metadata, g_variant_ref (serialized_key));
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_autoptr(GFileInfo) finfo = NULL;
|
g_autoptr(GFileInfo) finfo = NULL;
|
||||||
|
|
@ -955,8 +954,9 @@ generate_delta_lowlatency (OstreeRepo *repo,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We already ship the to commit in the superblock, don't ship it twice */
|
/* We already ship the to commit in the superblock, don't ship it twice */
|
||||||
g_hash_table_remove (new_reachable_metadata,
|
{ g_autoptr(GVariant) commit = ostree_object_name_serialize (to, OSTREE_OBJECT_TYPE_COMMIT);
|
||||||
ostree_object_name_serialize (to, OSTREE_OBJECT_TYPE_COMMIT));
|
g_hash_table_remove (new_reachable_metadata, commit);
|
||||||
|
}
|
||||||
|
|
||||||
rollsum_optimized_content_objects = g_hash_table_new_full (g_str_hash, g_str_equal,
|
rollsum_optimized_content_objects = g_hash_table_new_full (g_str_hash, g_str_equal,
|
||||||
g_free,
|
g_free,
|
||||||
|
|
@ -1359,8 +1359,8 @@ ostree_repo_static_delta_generate (OstreeRepo *self,
|
||||||
for (i = 0; i < builder.parts->len; i++)
|
for (i = 0; i < builder.parts->len; i++)
|
||||||
{
|
{
|
||||||
OstreeStaticDeltaPartBuilder *part_builder = builder.parts->pdata[i];
|
OstreeStaticDeltaPartBuilder *part_builder = builder.parts->pdata[i];
|
||||||
GBytes *payload_b;
|
g_autoptr(GBytes) payload_b;
|
||||||
GBytes *operations_b;
|
g_autoptr(GBytes) operations_b;
|
||||||
g_autofree guchar *part_checksum = NULL;
|
g_autofree guchar *part_checksum = NULL;
|
||||||
g_autoptr(GBytes) objtype_checksum_array = NULL;
|
g_autoptr(GBytes) objtype_checksum_array = NULL;
|
||||||
g_autoptr(GBytes) checksum_bytes = NULL;
|
g_autoptr(GBytes) checksum_bytes = NULL;
|
||||||
|
|
@ -1415,10 +1415,11 @@ ostree_repo_static_delta_generate (OstreeRepo *self,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME - avoid duplicating memory here */
|
/* FIXME - avoid duplicating memory here */
|
||||||
delta_part = g_variant_new ("(y@ay)",
|
{ g_autoptr(GBytes) payload = g_memory_output_stream_steal_as_bytes (part_payload_out);
|
||||||
|
delta_part = g_variant_ref_sink (g_variant_new ("(y@ay)",
|
||||||
compression_type_char,
|
compression_type_char,
|
||||||
ot_gvariant_new_ay_bytes (g_memory_output_stream_steal_as_bytes (part_payload_out)));
|
ot_gvariant_new_ay_bytes (payload)));
|
||||||
g_variant_ref_sink (delta_part);
|
}
|
||||||
|
|
||||||
if (inline_parts)
|
if (inline_parts)
|
||||||
{
|
{
|
||||||
|
|
@ -1532,7 +1533,7 @@ ostree_repo_static_delta_generate (OstreeRepo *self,
|
||||||
/* floating */ GVariant *to_csum_v =
|
/* floating */ GVariant *to_csum_v =
|
||||||
ostree_checksum_to_bytes_v (to);
|
ostree_checksum_to_bytes_v (to);
|
||||||
|
|
||||||
delta_descriptor = g_variant_new ("(@a{sv}t@ay@ay@" OSTREE_COMMIT_GVARIANT_STRING "ay"
|
delta_descriptor = g_variant_ref_sink (g_variant_new ("(@a{sv}t@ay@ay@" OSTREE_COMMIT_GVARIANT_STRING "@ay"
|
||||||
"a" OSTREE_STATIC_DELTA_META_ENTRY_FORMAT
|
"a" OSTREE_STATIC_DELTA_META_ENTRY_FORMAT
|
||||||
"@a" OSTREE_STATIC_DELTA_FALLBACK_FORMAT ")",
|
"@a" OSTREE_STATIC_DELTA_FALLBACK_FORMAT ")",
|
||||||
g_variant_builder_end (&metadata_builder),
|
g_variant_builder_end (&metadata_builder),
|
||||||
|
|
@ -1540,9 +1541,9 @@ ostree_repo_static_delta_generate (OstreeRepo *self,
|
||||||
from_csum_v,
|
from_csum_v,
|
||||||
to_csum_v,
|
to_csum_v,
|
||||||
to_commit,
|
to_commit,
|
||||||
g_variant_builder_new (G_VARIANT_TYPE ("ay")),
|
ot_gvariant_new_bytearray ((guchar*)"", 0),
|
||||||
part_headers,
|
part_headers,
|
||||||
fallback_headers);
|
fallback_headers));
|
||||||
g_date_time_unref (now);
|
g_date_time_unref (now);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -73,65 +73,73 @@ ostree_repo_list_static_delta_names (OstreeRepo *self,
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
|
||||||
g_autoptr(GPtrArray) ret_deltas = NULL;
|
g_autoptr(GPtrArray) ret_deltas = NULL;
|
||||||
g_autoptr(GFileEnumerator) dir_enum = NULL;
|
glnx_fd_close int dfd = -1;
|
||||||
|
|
||||||
ret_deltas = g_ptr_array_new_with_free_func (g_free);
|
ret_deltas = g_ptr_array_new_with_free_func (g_free);
|
||||||
|
|
||||||
if (g_file_query_exists (self->deltas_dir, NULL))
|
dfd = glnx_opendirat_with_errno (self->repo_dir_fd, "deltas", TRUE);
|
||||||
|
if (dfd < 0)
|
||||||
{
|
{
|
||||||
dir_enum = g_file_enumerate_children (self->deltas_dir, OSTREE_GIO_FAST_QUERYINFO,
|
if (errno != ENOENT)
|
||||||
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
|
{
|
||||||
NULL, error);
|
glnx_set_error_from_errno (error);
|
||||||
if (!dir_enum)
|
return FALSE;
|
||||||
goto out;
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
g_auto(GLnxDirFdIterator) dfd_iter = { 0, };
|
||||||
|
|
||||||
|
if (!glnx_dirfd_iterator_init_take_fd (dfd, &dfd_iter, error))
|
||||||
|
return FALSE;
|
||||||
|
dfd = -1;
|
||||||
|
|
||||||
while (TRUE)
|
while (TRUE)
|
||||||
{
|
{
|
||||||
g_autoptr(GFileEnumerator) dir_enum2 = NULL;
|
g_auto(GLnxDirFdIterator) sub_dfd_iter = { 0, };
|
||||||
GFileInfo *file_info;
|
struct dirent *dent;
|
||||||
GFile *child;
|
|
||||||
|
|
||||||
if (!g_file_enumerator_iterate (dir_enum, &file_info, &child,
|
if (!glnx_dirfd_iterator_next_dent_ensure_dtype (&dfd_iter, &dent, cancellable, error))
|
||||||
NULL, error))
|
return FALSE;
|
||||||
goto out;
|
if (dent == NULL)
|
||||||
if (file_info == NULL)
|
|
||||||
break;
|
break;
|
||||||
|
if (dent->d_type != DT_DIR)
|
||||||
if (g_file_info_get_file_type (file_info) != G_FILE_TYPE_DIRECTORY)
|
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (!glnx_dirfd_iterator_init_at (dfd_iter.fd, dent->d_name, FALSE,
|
||||||
dir_enum2 = g_file_enumerate_children (child, OSTREE_GIO_FAST_QUERYINFO,
|
&sub_dfd_iter, error))
|
||||||
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
|
return FALSE;
|
||||||
NULL, error);
|
|
||||||
if (!dir_enum2)
|
|
||||||
goto out;
|
|
||||||
|
|
||||||
while (TRUE)
|
while (TRUE)
|
||||||
{
|
{
|
||||||
GFileInfo *file_info2;
|
struct dirent *sub_dent;
|
||||||
GFile *child2;
|
|
||||||
const char *name1;
|
const char *name1;
|
||||||
const char *name2;
|
const char *name2;
|
||||||
|
g_autofree char *superblock_subpath = NULL;
|
||||||
|
struct stat stbuf;
|
||||||
|
|
||||||
if (!g_file_enumerator_iterate (dir_enum2, &file_info2, &child2,
|
if (!glnx_dirfd_iterator_next_dent_ensure_dtype (&sub_dfd_iter, &sub_dent,
|
||||||
NULL, error))
|
cancellable, error))
|
||||||
goto out;
|
return FALSE;
|
||||||
if (file_info2 == NULL)
|
if (sub_dent == NULL)
|
||||||
break;
|
break;
|
||||||
|
if (dent->d_type != DT_DIR)
|
||||||
if (g_file_info_get_file_type (file_info2) != G_FILE_TYPE_DIRECTORY)
|
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
name1 = g_file_info_get_name (file_info);
|
name1 = dent->d_name;
|
||||||
name2 = g_file_info_get_name (file_info2);
|
name2 = sub_dent->d_name;
|
||||||
|
|
||||||
|
superblock_subpath = g_strconcat (name2, "/superblock", NULL);
|
||||||
|
if (fstatat (sub_dfd_iter.fd, superblock_subpath, &stbuf, 0) < 0)
|
||||||
{
|
{
|
||||||
g_autoptr(GFile) meta_path = g_file_get_child (child2, "superblock");
|
if (errno != ENOENT)
|
||||||
|
{
|
||||||
if (g_file_query_exists (meta_path, NULL))
|
glnx_set_error_from_errno (error);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
g_autofree char *buf = g_strconcat (name1, name2, NULL);
|
g_autofree char *buf = g_strconcat (name1, name2, NULL);
|
||||||
GString *out = g_string_new ("");
|
GString *out = g_string_new ("");
|
||||||
|
|
@ -155,13 +163,10 @@ ostree_repo_list_static_delta_names (OstreeRepo *self,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
ret = TRUE;
|
|
||||||
if (out_deltas)
|
if (out_deltas)
|
||||||
*out_deltas = g_steal_pointer (&ret_deltas);
|
*out_deltas = g_steal_pointer (&ret_deltas);
|
||||||
out:
|
return TRUE;
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
|
@ -435,8 +440,7 @@ ostree_repo_static_delta_execute_offline (OstreeRepo *self,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_ostree_static_delta_part_execute (self, objects, part, skip_validation,
|
if (!_ostree_static_delta_part_execute (self, objects, part, skip_validation,
|
||||||
FALSE, NULL,
|
NULL, cancellable, error))
|
||||||
cancellable, error))
|
|
||||||
{
|
{
|
||||||
g_prefix_error (error, "Executing delta part %i: ", i);
|
g_prefix_error (error, "Executing delta part %i: ", i);
|
||||||
goto out;
|
goto out;
|
||||||
|
|
@ -653,7 +657,7 @@ show_one_part (OstreeRepo *self,
|
||||||
(guint64)g_variant_n_children (ops));
|
(guint64)g_variant_n_children (ops));
|
||||||
|
|
||||||
if (!_ostree_static_delta_part_execute (self, objects,
|
if (!_ostree_static_delta_part_execute (self, objects,
|
||||||
part, TRUE, TRUE,
|
part, TRUE,
|
||||||
&stats, cancellable, error))
|
&stats, cancellable, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,6 @@ typedef struct {
|
||||||
gboolean _ostree_static_delta_part_execute (OstreeRepo *repo,
|
gboolean _ostree_static_delta_part_execute (OstreeRepo *repo,
|
||||||
GVariant *header,
|
GVariant *header,
|
||||||
GVariant *part_payload,
|
GVariant *part_payload,
|
||||||
gboolean trusted,
|
|
||||||
gboolean stats_only,
|
gboolean stats_only,
|
||||||
OstreeDeltaExecuteStats *stats,
|
OstreeDeltaExecuteStats *stats,
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
|
|
@ -150,7 +149,6 @@ gboolean _ostree_static_delta_part_execute (OstreeRepo *repo,
|
||||||
void _ostree_static_delta_part_execute_async (OstreeRepo *repo,
|
void _ostree_static_delta_part_execute_async (OstreeRepo *repo,
|
||||||
GVariant *header,
|
GVariant *header,
|
||||||
GVariant *part_payload,
|
GVariant *part_payload,
|
||||||
gboolean trusted,
|
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
GAsyncReadyCallback callback,
|
GAsyncReadyCallback callback,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@
|
||||||
G_STATIC_ASSERT (sizeof (guint) >= sizeof (guint32));
|
G_STATIC_ASSERT (sizeof (guint) >= sizeof (guint32));
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
gboolean trusted;
|
|
||||||
gboolean stats_only;
|
gboolean stats_only;
|
||||||
OstreeRepo *repo;
|
OstreeRepo *repo;
|
||||||
guint checksum_index;
|
guint checksum_index;
|
||||||
|
|
@ -180,7 +179,6 @@ gboolean
|
||||||
_ostree_static_delta_part_execute (OstreeRepo *repo,
|
_ostree_static_delta_part_execute (OstreeRepo *repo,
|
||||||
GVariant *objects,
|
GVariant *objects,
|
||||||
GVariant *part,
|
GVariant *part,
|
||||||
gboolean trusted,
|
|
||||||
gboolean stats_only,
|
gboolean stats_only,
|
||||||
OstreeDeltaExecuteStats *stats,
|
OstreeDeltaExecuteStats *stats,
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
|
|
@ -200,7 +198,6 @@ _ostree_static_delta_part_execute (OstreeRepo *repo,
|
||||||
|
|
||||||
state->repo = repo;
|
state->repo = repo;
|
||||||
state->async_error = error;
|
state->async_error = error;
|
||||||
state->trusted = trusted;
|
|
||||||
state->stats_only = stats_only;
|
state->stats_only = stats_only;
|
||||||
|
|
||||||
if (!_ostree_static_delta_parse_checksum_array (objects,
|
if (!_ostree_static_delta_parse_checksum_array (objects,
|
||||||
|
|
@ -286,6 +283,7 @@ _ostree_static_delta_part_execute (OstreeRepo *repo,
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
|
g_clear_pointer (&state->content_checksum, g_checksum_free);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -295,7 +293,6 @@ typedef struct {
|
||||||
GVariant *part;
|
GVariant *part;
|
||||||
GCancellable *cancellable;
|
GCancellable *cancellable;
|
||||||
GSimpleAsyncResult *result;
|
GSimpleAsyncResult *result;
|
||||||
gboolean trusted;
|
|
||||||
} StaticDeltaPartExecuteAsyncData;
|
} StaticDeltaPartExecuteAsyncData;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
@ -322,7 +319,6 @@ static_delta_part_execute_thread (GSimpleAsyncResult *res,
|
||||||
if (!_ostree_static_delta_part_execute (data->repo,
|
if (!_ostree_static_delta_part_execute (data->repo,
|
||||||
data->header,
|
data->header,
|
||||||
data->part,
|
data->part,
|
||||||
data->trusted,
|
|
||||||
FALSE, NULL,
|
FALSE, NULL,
|
||||||
cancellable, &error))
|
cancellable, &error))
|
||||||
g_simple_async_result_take_error (res, error);
|
g_simple_async_result_take_error (res, error);
|
||||||
|
|
@ -332,7 +328,6 @@ void
|
||||||
_ostree_static_delta_part_execute_async (OstreeRepo *repo,
|
_ostree_static_delta_part_execute_async (OstreeRepo *repo,
|
||||||
GVariant *header,
|
GVariant *header,
|
||||||
GVariant *part,
|
GVariant *part,
|
||||||
gboolean trusted,
|
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
GAsyncReadyCallback callback,
|
GAsyncReadyCallback callback,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
|
|
@ -343,7 +338,6 @@ _ostree_static_delta_part_execute_async (OstreeRepo *repo,
|
||||||
asyncdata->repo = g_object_ref (repo);
|
asyncdata->repo = g_object_ref (repo);
|
||||||
asyncdata->header = g_variant_ref (header);
|
asyncdata->header = g_variant_ref (header);
|
||||||
asyncdata->part = g_variant_ref (part);
|
asyncdata->part = g_variant_ref (part);
|
||||||
asyncdata->trusted = trusted;
|
|
||||||
asyncdata->cancellable = cancellable ? g_object_ref (cancellable) : NULL;
|
asyncdata->cancellable = cancellable ? g_object_ref (cancellable) : NULL;
|
||||||
|
|
||||||
asyncdata->result = g_simple_async_result_new ((GObject*) repo,
|
asyncdata->result = g_simple_async_result_new ((GObject*) repo,
|
||||||
|
|
@ -516,9 +510,9 @@ dispatch_bspatch (OstreeRepo *repo,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* When processing untrusted static deltas, we need to checksum the
|
/* Before, we had a distinction between "trusted" and "untrusted" deltas
|
||||||
* file content, which includes a header. Compare with what
|
* which we've decided wasn't a good idea. Now, we always checksum the content.
|
||||||
* ostree_checksum_file_from_input() is doing too.
|
* Compare with what ostree_checksum_file_from_input() is doing too.
|
||||||
*/
|
*/
|
||||||
static gboolean
|
static gboolean
|
||||||
handle_untrusted_content_checksum (OstreeRepo *repo,
|
handle_untrusted_content_checksum (OstreeRepo *repo,
|
||||||
|
|
@ -530,9 +524,6 @@ handle_untrusted_content_checksum (OstreeRepo *repo,
|
||||||
g_autoptr(GFileInfo) finfo = NULL;
|
g_autoptr(GFileInfo) finfo = NULL;
|
||||||
gsize bytes_written;
|
gsize bytes_written;
|
||||||
|
|
||||||
if (state->trusted)
|
|
||||||
return TRUE;
|
|
||||||
|
|
||||||
finfo = _ostree_header_gfile_info_new (state->mode, state->uid, state->gid);
|
finfo = _ostree_header_gfile_info_new (state->mode, state->uid, state->gid);
|
||||||
header = _ostree_file_header_new (finfo, state->xattrs);
|
header = _ostree_file_header_new (finfo, state->xattrs);
|
||||||
|
|
||||||
|
|
@ -578,16 +569,6 @@ dispatch_open_splice_and_close (OstreeRepo *repo,
|
||||||
metadata = g_variant_new_from_data (ostree_metadata_variant_type (state->output_objtype),
|
metadata = g_variant_new_from_data (ostree_metadata_variant_type (state->output_objtype),
|
||||||
state->payload_data + offset, length, TRUE, NULL, NULL);
|
state->payload_data + offset, length, TRUE, NULL, NULL);
|
||||||
|
|
||||||
if (state->trusted)
|
|
||||||
{
|
|
||||||
if (!ostree_repo_write_metadata_trusted (state->repo, state->output_objtype,
|
|
||||||
state->checksum,
|
|
||||||
metadata,
|
|
||||||
cancellable,
|
|
||||||
error))
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
g_autofree guchar *actual_csum = NULL;
|
g_autofree guchar *actual_csum = NULL;
|
||||||
|
|
||||||
|
|
@ -672,17 +653,6 @@ dispatch_open_splice_and_close (OstreeRepo *repo,
|
||||||
cancellable, error))
|
cancellable, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
if (state->trusted)
|
|
||||||
{
|
|
||||||
if (!ostree_repo_write_content_trusted (state->repo,
|
|
||||||
state->checksum,
|
|
||||||
object_input,
|
|
||||||
objlen,
|
|
||||||
cancellable,
|
|
||||||
error))
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
g_autofree guchar *actual_csum = NULL;
|
g_autofree guchar *actual_csum = NULL;
|
||||||
if (!ostree_repo_write_content (state->repo,
|
if (!ostree_repo_write_content (state->repo,
|
||||||
|
|
@ -919,8 +889,6 @@ dispatch_close (OstreeRepo *repo,
|
||||||
{
|
{
|
||||||
const char *actual_checksum = g_checksum_get_string (state->content_checksum);
|
const char *actual_checksum = g_checksum_get_string (state->content_checksum);
|
||||||
|
|
||||||
g_assert (!state->trusted);
|
|
||||||
|
|
||||||
if (strcmp (actual_checksum, state->checksum) != 0)
|
if (strcmp (actual_checksum, state->checksum) != 0)
|
||||||
{
|
{
|
||||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||||
|
|
@ -941,6 +909,7 @@ dispatch_close (OstreeRepo *repo,
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
g_clear_pointer (&state->xattrs, g_variant_unref);
|
g_clear_pointer (&state->xattrs, g_variant_unref);
|
||||||
|
g_clear_pointer (&state->content_checksum, g_checksum_free);
|
||||||
g_clear_object (&state->content_out);
|
g_clear_object (&state->content_out);
|
||||||
|
|
||||||
state->checksum_index++;
|
state->checksum_index++;
|
||||||
|
|
|
||||||
|
|
@ -348,9 +348,8 @@ traverse_iter (OstreeRepo *repo,
|
||||||
ostree_repo_commit_traverse_iter_get_file (iter, &name, &checksum);
|
ostree_repo_commit_traverse_iter_get_file (iter, &name, &checksum);
|
||||||
|
|
||||||
g_debug ("Found file object %s", checksum);
|
g_debug ("Found file object %s", checksum);
|
||||||
key = ostree_object_name_serialize (checksum, OSTREE_OBJECT_TYPE_FILE);
|
key = g_variant_ref_sink (ostree_object_name_serialize (checksum, OSTREE_OBJECT_TYPE_FILE));
|
||||||
g_hash_table_replace (inout_reachable, key, key);
|
g_hash_table_add (inout_reachable, g_steal_pointer (&key));
|
||||||
key = NULL;
|
|
||||||
}
|
}
|
||||||
else if (iterres == OSTREE_REPO_COMMIT_ITER_RESULT_DIR)
|
else if (iterres == OSTREE_REPO_COMMIT_ITER_RESULT_DIR)
|
||||||
{
|
{
|
||||||
|
|
@ -363,15 +362,13 @@ traverse_iter (OstreeRepo *repo,
|
||||||
|
|
||||||
g_debug ("Found dirtree object %s", content_checksum);
|
g_debug ("Found dirtree object %s", content_checksum);
|
||||||
g_debug ("Found dirmeta object %s", meta_checksum);
|
g_debug ("Found dirmeta object %s", meta_checksum);
|
||||||
key = ostree_object_name_serialize (meta_checksum, OSTREE_OBJECT_TYPE_DIR_META);
|
key = g_variant_ref_sink (ostree_object_name_serialize (meta_checksum, OSTREE_OBJECT_TYPE_DIR_META));
|
||||||
g_hash_table_replace (inout_reachable, key, key);
|
g_hash_table_add (inout_reachable, g_steal_pointer (&key));
|
||||||
key = NULL;
|
|
||||||
|
|
||||||
key = ostree_object_name_serialize (content_checksum, OSTREE_OBJECT_TYPE_DIR_TREE);
|
key = g_variant_ref_sink (ostree_object_name_serialize (content_checksum, OSTREE_OBJECT_TYPE_DIR_TREE));
|
||||||
if (!g_hash_table_lookup (inout_reachable, key))
|
if (!g_hash_table_lookup (inout_reachable, key))
|
||||||
{
|
{
|
||||||
g_hash_table_replace (inout_reachable, key, key);
|
g_hash_table_add (inout_reachable, g_steal_pointer (&key));
|
||||||
key = NULL;
|
|
||||||
|
|
||||||
if (!traverse_dirtree (repo, content_checksum, inout_reachable,
|
if (!traverse_dirtree (repo, content_checksum, inout_reachable,
|
||||||
ignore_missing_dirs, cancellable, error))
|
ignore_missing_dirs, cancellable, error))
|
||||||
|
|
@ -407,7 +404,7 @@ traverse_dirtree (OstreeRepo *repo,
|
||||||
if (ignore_missing_dirs &&
|
if (ignore_missing_dirs &&
|
||||||
g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND))
|
g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND))
|
||||||
{
|
{
|
||||||
g_print ("Ignoring not-found dirmeta %s", checksum);
|
g_debug ("Ignoring not-found dirmeta %s", checksum);
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -463,7 +460,7 @@ ostree_repo_traverse_commit_union (OstreeRepo *repo,
|
||||||
OstreeRepoCommitState commitstate;
|
OstreeRepoCommitState commitstate;
|
||||||
gboolean ignore_missing_dirs = FALSE;
|
gboolean ignore_missing_dirs = FALSE;
|
||||||
|
|
||||||
key = ostree_object_name_serialize (commit_checksum, OSTREE_OBJECT_TYPE_COMMIT);
|
key = g_variant_ref_sink (ostree_object_name_serialize (commit_checksum, OSTREE_OBJECT_TYPE_COMMIT));
|
||||||
|
|
||||||
if (g_hash_table_contains (inout_reachable, key))
|
if (g_hash_table_contains (inout_reachable, key))
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -521,7 +521,6 @@ ostree_repo_finalize (GObject *object)
|
||||||
(void) close (self->cache_dir_fd);
|
(void) close (self->cache_dir_fd);
|
||||||
if (self->objects_dir_fd != -1)
|
if (self->objects_dir_fd != -1)
|
||||||
(void) close (self->objects_dir_fd);
|
(void) close (self->objects_dir_fd);
|
||||||
g_clear_object (&self->deltas_dir);
|
|
||||||
if (self->uncompressed_objects_dir_fd != -1)
|
if (self->uncompressed_objects_dir_fd != -1)
|
||||||
(void) close (self->uncompressed_objects_dir_fd);
|
(void) close (self->uncompressed_objects_dir_fd);
|
||||||
g_clear_object (&self->sysroot_dir);
|
g_clear_object (&self->sysroot_dir);
|
||||||
|
|
@ -606,8 +605,6 @@ ostree_repo_constructed (GObject *object)
|
||||||
|
|
||||||
self->tmp_dir = g_file_resolve_relative_path (self->repodir, "tmp");
|
self->tmp_dir = g_file_resolve_relative_path (self->repodir, "tmp");
|
||||||
|
|
||||||
self->deltas_dir = g_file_get_child (self->repodir, "deltas");
|
|
||||||
|
|
||||||
/* Ensure the "sysroot-path" property is set. */
|
/* Ensure the "sysroot-path" property is set. */
|
||||||
if (self->sysroot_dir == NULL)
|
if (self->sysroot_dir == NULL)
|
||||||
self->sysroot_dir = g_object_ref (_ostree_get_default_sysroot_path ());
|
self->sysroot_dir = g_object_ref (_ostree_get_default_sysroot_path ());
|
||||||
|
|
@ -1700,9 +1697,10 @@ out:
|
||||||
* ostree_repo_remote_fetch_summary:
|
* ostree_repo_remote_fetch_summary:
|
||||||
* @self: Self
|
* @self: Self
|
||||||
* @name: name of a remote
|
* @name: name of a remote
|
||||||
* @out_summary: (nullable): return location for raw summary data, or %NULL
|
* @out_summary: (out) (optional): return location for raw summary data, or
|
||||||
* @out_signatures: (nullable): return location for raw summary signature
|
* %NULL
|
||||||
* data, or %NULL
|
* @out_signatures: (out) (optional): return location for raw summary
|
||||||
|
* signature data, or %NULL
|
||||||
* @cancellable: a #GCancellable
|
* @cancellable: a #GCancellable
|
||||||
* @error: a #GError
|
* @error: a #GError
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,9 @@ parse_refspec (OstreeSysrootUpgrader *self,
|
||||||
|
|
||||||
if ((self->flags & OSTREE_SYSROOT_UPGRADER_FLAGS_IGNORE_UNCONFIGURED) == 0)
|
if ((self->flags & OSTREE_SYSROOT_UPGRADER_FLAGS_IGNORE_UNCONFIGURED) == 0)
|
||||||
{
|
{
|
||||||
/* If explicit action by the OS creator is requried to upgrade, print their text as an error */
|
/* If explicit action by the OS creator is requried to upgrade, print their text as an error.
|
||||||
|
* NOTE: If changing this, see the matching implementation in ostree-repo-pull.c.
|
||||||
|
*/
|
||||||
unconfigured_state = g_key_file_get_string (self->origin, "origin", "unconfigured-state", NULL);
|
unconfigured_state = g_key_file_get_string (self->origin, "origin", "unconfigured-state", NULL);
|
||||||
if (unconfigured_state)
|
if (unconfigured_state)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -613,8 +613,6 @@ parse_origin (OstreeSysroot *self,
|
||||||
out:
|
out:
|
||||||
if (error)
|
if (error)
|
||||||
g_prefix_error (error, "Parsing %s: ", origin_path);
|
g_prefix_error (error, "Parsing %s: ", origin_path);
|
||||||
if (ret_origin)
|
|
||||||
g_key_file_unref (ret_origin);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -689,7 +687,7 @@ parse_deployment (OstreeSysroot *self,
|
||||||
glnx_fd_close int deployment_dfd = -1;
|
glnx_fd_close int deployment_dfd = -1;
|
||||||
const char *deploy_basename;
|
const char *deploy_basename;
|
||||||
g_autofree char *treebootserial_target = NULL;
|
g_autofree char *treebootserial_target = NULL;
|
||||||
GKeyFile *origin = NULL;
|
g_autoptr(GKeyFile) origin = NULL;
|
||||||
g_autofree char *unlocked_development_path = NULL;
|
g_autofree char *unlocked_development_path = NULL;
|
||||||
struct stat stbuf;
|
struct stat stbuf;
|
||||||
|
|
||||||
|
|
@ -751,8 +749,6 @@ parse_deployment (OstreeSysroot *self,
|
||||||
if (out_deployment)
|
if (out_deployment)
|
||||||
*out_deployment = g_steal_pointer (&ret_deployment);
|
*out_deployment = g_steal_pointer (&ret_deployment);
|
||||||
out:
|
out:
|
||||||
if (origin)
|
|
||||||
g_key_file_unref (origin);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1327,7 +1323,7 @@ ostree_sysroot_try_lock (OstreeSysroot *self,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
GError *local_error = NULL;
|
g_autoptr(GError) local_error = NULL;
|
||||||
|
|
||||||
if (!ensure_sysroot_fd (self, error))
|
if (!ensure_sysroot_fd (self, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
@ -1342,7 +1338,7 @@ ostree_sysroot_try_lock (OstreeSysroot *self,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_propagate_error (error, local_error);
|
g_propagate_error (error, g_steal_pointer (&local_error));
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ static GOptionEntry options[] = {
|
||||||
gboolean
|
gboolean
|
||||||
ot_admin_builtin_cleanup (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ot_admin_builtin_cleanup (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
|
|
||||||
|
|
@ -55,7 +55,5 @@ ot_admin_builtin_cleanup (int argc, char **argv, GCancellable *cancellable, GErr
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ ot_admin_builtin_deploy (int argc, char **argv, GCancellable *cancellable, GErro
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
const char *refspec;
|
const char *refspec;
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
GKeyFile *origin = NULL;
|
GKeyFile *origin = NULL;
|
||||||
glnx_unref_object OstreeRepo *repo = NULL;
|
glnx_unref_object OstreeRepo *repo = NULL;
|
||||||
|
|
@ -173,7 +173,5 @@ ot_admin_builtin_deploy (int argc, char **argv, GCancellable *cancellable, GErro
|
||||||
out:
|
out:
|
||||||
if (origin)
|
if (origin)
|
||||||
g_key_file_unref (origin);
|
g_key_file_unref (origin);
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ static GOptionEntry options[] = {
|
||||||
gboolean
|
gboolean
|
||||||
ot_admin_builtin_diff (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ot_admin_builtin_diff (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
glnx_unref_object OstreeDeployment *deployment = NULL;
|
glnx_unref_object OstreeDeployment *deployment = NULL;
|
||||||
|
|
@ -95,7 +95,5 @@ ot_admin_builtin_diff (int argc, char **argv, GCancellable *cancellable, GError
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ static GOptionEntry options[] = {
|
||||||
gboolean
|
gboolean
|
||||||
ot_admin_builtin_init_fs (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ot_admin_builtin_init_fs (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
glnx_fd_close int root_dfd = -1;
|
glnx_fd_close int root_dfd = -1;
|
||||||
|
|
@ -88,7 +88,5 @@ ot_admin_builtin_init_fs (int argc, char **argv, GCancellable *cancellable, GErr
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,7 @@ ot_admin_builtin_instutil (int argc, char **argv, GCancellable *cancellable, GEr
|
||||||
|
|
||||||
if (!subcommand->name)
|
if (!subcommand->name)
|
||||||
{
|
{
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
g_autofree char *help;
|
g_autofree char *help;
|
||||||
|
|
||||||
context = ostree_admin_instutil_option_context_new_with_commands ();
|
context = ostree_admin_instutil_option_context_new_with_commands ();
|
||||||
|
|
@ -134,8 +134,6 @@ ot_admin_builtin_instutil (int argc, char **argv, GCancellable *cancellable, GEr
|
||||||
help = g_option_context_get_help (context, FALSE, NULL);
|
help = g_option_context_get_help (context, FALSE, NULL);
|
||||||
g_printerr ("%s", help);
|
g_printerr ("%s", help);
|
||||||
|
|
||||||
g_option_context_free (context);
|
|
||||||
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ static GOptionEntry options[] = {
|
||||||
gboolean
|
gboolean
|
||||||
ot_admin_builtin_os_init (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ot_admin_builtin_os_init (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
const char *osname = NULL;
|
const char *osname = NULL;
|
||||||
|
|
@ -66,7 +66,5 @@ ot_admin_builtin_os_init (int argc, char **argv, GCancellable *cancellable, GErr
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,13 +44,13 @@ gboolean
|
||||||
ot_admin_builtin_set_origin (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ot_admin_builtin_set_origin (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
const char *remotename = NULL;
|
const char *remotename = NULL;
|
||||||
const char *url = NULL;
|
const char *url = NULL;
|
||||||
const char *branch = NULL;
|
const char *branch = NULL;
|
||||||
glnx_unref_object OstreeRepo *repo = NULL;
|
glnx_unref_object OstreeRepo *repo = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
OstreeDeployment *target_deployment = NULL;
|
glnx_unref_object OstreeDeployment *target_deployment = NULL;
|
||||||
|
|
||||||
context = g_option_context_new ("REMOTENAME URL [BRANCH]");
|
context = g_option_context_new ("REMOTENAME URL [BRANCH]");
|
||||||
|
|
||||||
|
|
@ -85,6 +85,8 @@ ot_admin_builtin_set_origin (int argc, char **argv, GCancellable *cancellable, G
|
||||||
"Not currently booted into an OSTree system");
|
"Not currently booted into an OSTree system");
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
/* To match the below */
|
||||||
|
target_deployment = g_object_ref (target_deployment);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -142,7 +144,5 @@ ot_admin_builtin_set_origin (int argc, char **argv, GCancellable *cancellable, G
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ out:
|
||||||
gboolean
|
gboolean
|
||||||
ot_admin_builtin_status (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ot_admin_builtin_status (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
glnx_unref_object OstreeRepo *repo = NULL;
|
glnx_unref_object OstreeRepo *repo = NULL;
|
||||||
|
|
@ -193,7 +193,5 @@ ot_admin_builtin_status (int argc, char **argv, GCancellable *cancellable, GErro
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ gboolean
|
||||||
ot_admin_builtin_switch (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ot_admin_builtin_switch (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
const char *new_provided_refspec = NULL;
|
const char *new_provided_refspec = NULL;
|
||||||
glnx_unref_object OstreeRepo *repo = NULL;
|
glnx_unref_object OstreeRepo *repo = NULL;
|
||||||
|
|
@ -162,7 +162,5 @@ ot_admin_builtin_switch (int argc, char **argv, GCancellable *cancellable, GErro
|
||||||
out:
|
out:
|
||||||
if (new_origin)
|
if (new_origin)
|
||||||
g_key_file_unref (new_origin);
|
g_key_file_unref (new_origin);
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ gboolean
|
||||||
ot_admin_builtin_undeploy (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ot_admin_builtin_undeploy (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
const char *deploy_index_str;
|
const char *deploy_index_str;
|
||||||
int deploy_index;
|
int deploy_index;
|
||||||
|
|
@ -91,7 +91,5 @@ ot_admin_builtin_undeploy (int argc, char **argv, GCancellable *cancellable, GEr
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ gboolean
|
||||||
ot_admin_builtin_unlock (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ot_admin_builtin_unlock (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
OstreeDeployment *booted_deployment = NULL;
|
OstreeDeployment *booted_deployment = NULL;
|
||||||
OstreeDeploymentUnlockedState target_state;
|
OstreeDeploymentUnlockedState target_state;
|
||||||
|
|
@ -95,7 +95,5 @@ ot_admin_builtin_unlock (int argc, char **argv, GCancellable *cancellable, GErro
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ gboolean
|
||||||
ot_admin_builtin_upgrade (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ot_admin_builtin_upgrade (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
glnx_unref_object OstreeSysrootUpgrader *upgrader = NULL;
|
glnx_unref_object OstreeSysrootUpgrader *upgrader = NULL;
|
||||||
g_autoptr(GKeyFile) origin = NULL;
|
g_autoptr(GKeyFile) origin = NULL;
|
||||||
|
|
@ -140,7 +140,5 @@ ot_admin_builtin_upgrade (int argc, char **argv, GCancellable *cancellable, GErr
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ ot_admin_instutil_builtin_grub2_generate (int argc, char **argv, GCancellable *c
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
guint bootversion;
|
guint bootversion;
|
||||||
GOptionContext *context = NULL;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
|
|
||||||
context = g_option_context_new ("[BOOTVERSION] - generate GRUB2 configuration from given BLS entries");
|
context = g_option_context_new ("[BOOTVERSION] - generate GRUB2 configuration from given BLS entries");
|
||||||
|
|
@ -76,7 +76,5 @@ ot_admin_instutil_builtin_grub2_generate (int argc, char **argv, GCancellable *c
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -188,7 +188,7 @@ ot_admin_instutil_builtin_selinux_ensure_labeled (int argc, char **argv, GCancel
|
||||||
glnx_unref_object OstreeSePolicy *sepolicy = NULL;
|
glnx_unref_object OstreeSePolicy *sepolicy = NULL;
|
||||||
g_autoptr(GPtrArray) deployments = NULL;
|
g_autoptr(GPtrArray) deployments = NULL;
|
||||||
OstreeDeployment *first_deployment;
|
OstreeDeployment *first_deployment;
|
||||||
GOptionContext *context = NULL;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
g_autoptr(GFile) deployment_path = NULL;
|
g_autoptr(GFile) deployment_path = NULL;
|
||||||
|
|
||||||
|
|
@ -241,7 +241,5 @@ ot_admin_instutil_builtin_selinux_ensure_labeled (int argc, char **argv, GCancel
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ ot_admin_instutil_builtin_set_kargs (int argc, char **argv, GCancellable *cancel
|
||||||
guint i;
|
guint i;
|
||||||
g_autoptr(GPtrArray) deployments = NULL;
|
g_autoptr(GPtrArray) deployments = NULL;
|
||||||
OstreeDeployment *first_deployment = NULL;
|
OstreeDeployment *first_deployment = NULL;
|
||||||
GOptionContext *context = NULL;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
glnx_unref_object OstreeSysroot *sysroot = NULL;
|
||||||
__attribute__((cleanup(_ostree_kernel_args_cleanup))) OstreeKernelArgs *kargs = NULL;
|
__attribute__((cleanup(_ostree_kernel_args_cleanup))) OstreeKernelArgs *kargs = NULL;
|
||||||
|
|
||||||
|
|
@ -115,7 +115,5 @@ ot_admin_instutil_builtin_set_kargs (int argc, char **argv, GCancellable *cancel
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -124,7 +124,7 @@ ostree_builtin_admin (int argc, char **argv, GCancellable *cancellable, GError *
|
||||||
|
|
||||||
if (!subcommand->name)
|
if (!subcommand->name)
|
||||||
{
|
{
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
g_autofree char *help;
|
g_autofree char *help;
|
||||||
|
|
||||||
context = ostree_admin_option_context_new_with_commands ();
|
context = ostree_admin_option_context_new_with_commands ();
|
||||||
|
|
@ -149,8 +149,6 @@ ostree_builtin_admin (int argc, char **argv, GCancellable *cancellable, GError *
|
||||||
help = g_option_context_get_help (context, FALSE, NULL);
|
help = g_option_context_get_help (context, FALSE, NULL);
|
||||||
g_printerr ("%s", help);
|
g_printerr ("%s", help);
|
||||||
|
|
||||||
g_option_context_free (context);
|
|
||||||
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ cat_one_file (GFile *f,
|
||||||
gboolean
|
gboolean
|
||||||
ostree_builtin_cat (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ostree_builtin_cat (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeRepo *repo = NULL;
|
glnx_unref_object OstreeRepo *repo = NULL;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
int i;
|
int i;
|
||||||
|
|
@ -98,7 +98,5 @@ ostree_builtin_cat (int argc, char **argv, GCancellable *cancellable, GError **e
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,7 @@ process_many_checkouts (OstreeRepo *repo,
|
||||||
gboolean
|
gboolean
|
||||||
ostree_builtin_checkout (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ostree_builtin_checkout (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeRepo *repo = NULL;
|
glnx_unref_object OstreeRepo *repo = NULL;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
const char *commit;
|
const char *commit;
|
||||||
|
|
@ -281,7 +281,5 @@ ostree_builtin_checkout (int argc, char **argv, GCancellable *cancellable, GErro
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ on_checksum_received (GObject *obj,
|
||||||
gboolean
|
gboolean
|
||||||
ostree_builtin_checksum (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ostree_builtin_checksum (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
g_autoptr(GFile) f = NULL;
|
g_autoptr(GFile) f = NULL;
|
||||||
AsyncChecksumData data = { 0, };
|
AsyncChecksumData data = { 0, };
|
||||||
|
|
@ -87,7 +87,5 @@ ostree_builtin_checksum (int argc, char **argv, GCancellable *cancellable, GErro
|
||||||
out:
|
out:
|
||||||
if (data.loop)
|
if (data.loop)
|
||||||
g_main_loop_unref (data.loop);
|
g_main_loop_unref (data.loop);
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -331,7 +331,7 @@ parse_keyvalue_strings (char **strings,
|
||||||
gboolean
|
gboolean
|
||||||
ostree_builtin_commit (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ostree_builtin_commit (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeRepo *repo = NULL;
|
glnx_unref_object OstreeRepo *repo = NULL;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
gboolean skip_commit = FALSE;
|
gboolean skip_commit = FALSE;
|
||||||
|
|
@ -672,8 +672,6 @@ ostree_builtin_commit (int argc, char **argv, GCancellable *cancellable, GError
|
||||||
out:
|
out:
|
||||||
if (repo)
|
if (repo)
|
||||||
ostree_repo_abort_transaction (repo, cancellable, NULL);
|
ostree_repo_abort_transaction (repo, cancellable, NULL);
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
if (modifier)
|
if (modifier)
|
||||||
ostree_repo_commit_modifier_unref (modifier);
|
ostree_repo_commit_modifier_unref (modifier);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ split_key_string (const char *k,
|
||||||
gboolean
|
gboolean
|
||||||
ostree_builtin_config (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ostree_builtin_config (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
GOptionContext *context = NULL;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeRepo *repo = NULL;
|
glnx_unref_object OstreeRepo *repo = NULL;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
const char *op;
|
const char *op;
|
||||||
|
|
@ -133,7 +133,5 @@ ostree_builtin_config (int argc, char **argv, GCancellable *cancellable, GError
|
||||||
out:
|
out:
|
||||||
if (config)
|
if (config)
|
||||||
g_key_file_free (config);
|
g_key_file_free (config);
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,7 @@ gboolean
|
||||||
ostree_builtin_diff (int argc, char **argv, GCancellable *cancellable, GError **error)
|
ostree_builtin_diff (int argc, char **argv, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
GOptionContext *context;
|
g_autoptr(GOptionContext) context = NULL;
|
||||||
glnx_unref_object OstreeRepo *repo = NULL;
|
glnx_unref_object OstreeRepo *repo = NULL;
|
||||||
const char *src;
|
const char *src;
|
||||||
const char *target;
|
const char *target;
|
||||||
|
|
@ -224,7 +224,5 @@ ostree_builtin_diff (int argc, char **argv, GCancellable *cancellable, GError **
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
if (context)
|
|
||||||
g_option_context_free (context);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue