New upstream version 2022.4
This commit is contained in:
commit
5968aa5ff6
|
|
@ -53,8 +53,8 @@ CLEANFILES += $(BUILT_SOURCES)
|
||||||
|
|
||||||
libostree_1_la_SOURCES = \
|
libostree_1_la_SOURCES = \
|
||||||
src/libostree/ostree-async-progress.c \
|
src/libostree/ostree-async-progress.c \
|
||||||
src/libostree/ostree-cmdprivate.h \
|
src/libostree/ostree-cmd-private.h \
|
||||||
src/libostree/ostree-cmdprivate.c \
|
src/libostree/ostree-cmd-private.c \
|
||||||
src/libostree/ostree-core-private.h \
|
src/libostree/ostree-core-private.h \
|
||||||
src/libostree/ostree-core.c \
|
src/libostree/ostree-core.c \
|
||||||
src/libostree/ostree-date-utils.c \
|
src/libostree/ostree-date-utils.c \
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,9 @@ AM_DISTCHECK_CONFIGURE_FLAGS += \
|
||||||
|
|
||||||
GITIGNOREFILES = aclocal.m4 build-aux/ buildutil/*.m4 config.h.in gtk-doc.make
|
GITIGNOREFILES = aclocal.m4 build-aux/ buildutil/*.m4 config.h.in gtk-doc.make
|
||||||
|
|
||||||
|
# Generated by ci/gh-build.sh
|
||||||
|
GITIGNOREFILES += ci-build/
|
||||||
|
|
||||||
# Generated by coreos-assembler build-fast and kola
|
# Generated by coreos-assembler build-fast and kola
|
||||||
GITIGNOREFILES += fastbuild-*.qcow2 _kola_temp/
|
GITIGNOREFILES += fastbuild-*.qcow2 _kola_temp/
|
||||||
|
|
||||||
|
|
|
||||||
90
Makefile.in
90
Makefile.in
|
|
@ -1,7 +1,7 @@
|
||||||
# Makefile.in generated by automake 1.16.2 from Makefile.am.
|
# Makefile.in generated by automake 1.16.5 from Makefile.am.
|
||||||
# @configure_input@
|
# @configure_input@
|
||||||
|
|
||||||
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -742,8 +742,8 @@ libostree_1_la_DEPENDENCIES = libotutil.la libglnx.la libbsdiff.la \
|
||||||
$(am__DEPENDENCIES_11)
|
$(am__DEPENDENCIES_11)
|
||||||
am__libostree_1_la_SOURCES_DIST = \
|
am__libostree_1_la_SOURCES_DIST = \
|
||||||
src/libostree/ostree-async-progress.c \
|
src/libostree/ostree-async-progress.c \
|
||||||
src/libostree/ostree-cmdprivate.h \
|
src/libostree/ostree-cmd-private.h \
|
||||||
src/libostree/ostree-cmdprivate.c \
|
src/libostree/ostree-cmd-private.c \
|
||||||
src/libostree/ostree-core-private.h \
|
src/libostree/ostree-core-private.h \
|
||||||
src/libostree/ostree-core.c src/libostree/ostree-date-utils.c \
|
src/libostree/ostree-core.c src/libostree/ostree-date-utils.c \
|
||||||
src/libostree/ostree-date-utils-private.h \
|
src/libostree/ostree-date-utils-private.h \
|
||||||
|
|
@ -862,7 +862,7 @@ am__libostree_1_la_SOURCES_DIST = \
|
||||||
@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__objects_9 = src/libostree/libostree_1_la-ostree-fetcher-soup.lo
|
@USE_CURL_FALSE@@USE_LIBSOUP_TRUE@am__objects_9 = src/libostree/libostree_1_la-ostree-fetcher-soup.lo
|
||||||
am_libostree_1_la_OBJECTS = \
|
am_libostree_1_la_OBJECTS = \
|
||||||
src/libostree/libostree_1_la-ostree-async-progress.lo \
|
src/libostree/libostree_1_la-ostree-async-progress.lo \
|
||||||
src/libostree/libostree_1_la-ostree-cmdprivate.lo \
|
src/libostree/libostree_1_la-ostree-cmd-private.lo \
|
||||||
src/libostree/libostree_1_la-ostree-core.lo \
|
src/libostree/libostree_1_la-ostree-core.lo \
|
||||||
src/libostree/libostree_1_la-ostree-date-utils.lo \
|
src/libostree/libostree_1_la-ostree-date-utils.lo \
|
||||||
src/libostree/libostree_1_la-ostree-dummy-enumtypes.lo \
|
src/libostree/libostree_1_la-ostree-dummy-enumtypes.lo \
|
||||||
|
|
@ -1520,7 +1520,7 @@ am__depfiles_remade = bsdiff/$(DEPDIR)/libbsdiff_la-bsdiff.Plo \
|
||||||
src/libostree/$(DEPDIR)/libostree_1_la-ostree-bootloader.Plo \
|
src/libostree/$(DEPDIR)/libostree_1_la-ostree-bootloader.Plo \
|
||||||
src/libostree/$(DEPDIR)/libostree_1_la-ostree-chain-input-stream.Plo \
|
src/libostree/$(DEPDIR)/libostree_1_la-ostree-chain-input-stream.Plo \
|
||||||
src/libostree/$(DEPDIR)/libostree_1_la-ostree-checksum-input-stream.Plo \
|
src/libostree/$(DEPDIR)/libostree_1_la-ostree-checksum-input-stream.Plo \
|
||||||
src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmdprivate.Plo \
|
src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmd-private.Plo \
|
||||||
src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo \
|
src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo \
|
||||||
src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Plo \
|
src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Plo \
|
||||||
src/libostree/$(DEPDIR)/libostree_1_la-ostree-date-utils.Plo \
|
src/libostree/$(DEPDIR)/libostree_1_la-ostree-date-utils.Plo \
|
||||||
|
|
@ -1845,9 +1845,6 @@ am__define_uniq_tagged_files = \
|
||||||
unique=`for i in $$list; do \
|
unique=`for i in $$list; do \
|
||||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
done | $(am__uniquify_input)`
|
done | $(am__uniquify_input)`
|
||||||
ETAGS = etags
|
|
||||||
CTAGS = ctags
|
|
||||||
CSCOPE = cscope
|
|
||||||
am__tty_colors_dummy = \
|
am__tty_colors_dummy = \
|
||||||
mgn= red= grn= lgn= blu= brg= std=; \
|
mgn= red= grn= lgn= blu= brg= std=; \
|
||||||
am__color_tests=no
|
am__color_tests=no
|
||||||
|
|
@ -2003,6 +2000,7 @@ am__set_TESTS_bases = \
|
||||||
bases='$(TEST_LOGS)'; \
|
bases='$(TEST_LOGS)'; \
|
||||||
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`
|
||||||
|
AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
|
||||||
RECHECK_LOGS = $(TEST_LOGS)
|
RECHECK_LOGS = $(TEST_LOGS)
|
||||||
@USE_GPGME_TRUE@am__EXEEXT_20 = tests/test-remote-gpg-import.sh \
|
@USE_GPGME_TRUE@am__EXEEXT_20 = tests/test-remote-gpg-import.sh \
|
||||||
@USE_GPGME_TRUE@ tests/test-remote-gpg-list-keys.sh \
|
@USE_GPGME_TRUE@ tests/test-remote-gpg-list-keys.sh \
|
||||||
|
|
@ -2113,10 +2111,10 @@ am__DIST_COMMON = $(srcdir)/Makefile-bash.am \
|
||||||
$(top_srcdir)/build-aux/test-driver \
|
$(top_srcdir)/build-aux/test-driver \
|
||||||
$(top_srcdir)/buildutil/glib-tap.mk \
|
$(top_srcdir)/buildutil/glib-tap.mk \
|
||||||
$(top_srcdir)/src/libostree/ostree-1.pc.in \
|
$(top_srcdir)/src/libostree/ostree-1.pc.in \
|
||||||
$(top_srcdir)/src/libostree/ostree-version.h.in COPYING TODO \
|
$(top_srcdir)/src/libostree/ostree-version.h.in COPYING \
|
||||||
build-aux/compile build-aux/config.guess build-aux/config.sub \
|
README.md TODO build-aux/compile build-aux/config.guess \
|
||||||
build-aux/depcomp build-aux/install-sh build-aux/ltmain.sh \
|
build-aux/config.sub build-aux/depcomp build-aux/install-sh \
|
||||||
build-aux/missing
|
build-aux/ltmain.sh build-aux/missing
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
distdir = $(PACKAGE)-$(VERSION)
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
top_distdir = $(distdir)
|
top_distdir = $(distdir)
|
||||||
|
|
@ -2155,6 +2153,8 @@ am__relativize = \
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
DIST_ARCHIVES = $(distdir).tar.xz
|
DIST_ARCHIVES = $(distdir).tar.xz
|
||||||
DIST_TARGETS = dist-xz
|
DIST_TARGETS = dist-xz
|
||||||
|
# Exists only to be overridden by the user if desired.
|
||||||
|
AM_DISTCHECK_DVI_TARGET = dvi
|
||||||
distuninstallcheck_listfiles = find . -type f -print
|
distuninstallcheck_listfiles = find . -type f -print
|
||||||
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
||||||
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
||||||
|
|
@ -2174,8 +2174,9 @@ BUILDOPT_FUSE_LIBS = @BUILDOPT_FUSE_LIBS@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
CCDEPMODE = @CCDEPMODE@
|
CCDEPMODE = @CCDEPMODE@
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CPP = @CPP@
|
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CSCOPE = @CSCOPE@
|
||||||
|
CTAGS = @CTAGS@
|
||||||
CYGPATH_W = @CYGPATH_W@
|
CYGPATH_W = @CYGPATH_W@
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
|
@ -2186,6 +2187,7 @@ ECHO_C = @ECHO_C@
|
||||||
ECHO_N = @ECHO_N@
|
ECHO_N = @ECHO_N@
|
||||||
ECHO_T = @ECHO_T@
|
ECHO_T = @ECHO_T@
|
||||||
EGREP = @EGREP@
|
EGREP = @EGREP@
|
||||||
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
FUSE3_CFLAGS = @FUSE3_CFLAGS@
|
FUSE3_CFLAGS = @FUSE3_CFLAGS@
|
||||||
|
|
@ -2504,15 +2506,17 @@ shortened_sysconfdir = $$(echo "$(sysconfdir)" | sed -e 's|^$(prefix)||' -e 's|^
|
||||||
OSTREE_GITREV = $(shell cd $(srcdir) && if command -v git >/dev/null 2>&1 && test -d .git; then git describe --abbrev=42 --tags --always HEAD; fi)
|
OSTREE_GITREV = $(shell cd $(srcdir) && if command -v git >/dev/null 2>&1 && test -d .git; then git describe --abbrev=42 --tags --always HEAD; fi)
|
||||||
ACLOCAL_AMFLAGS = -I buildutil -I libglnx ${ACLOCAL_FLAGS}
|
ACLOCAL_AMFLAGS = -I buildutil -I libglnx ${ACLOCAL_FLAGS}
|
||||||
|
|
||||||
|
# Generated by ci/gh-build.sh
|
||||||
|
|
||||||
# Generated by coreos-assembler build-fast and kola
|
# Generated by coreos-assembler build-fast and kola
|
||||||
|
|
||||||
# Rust stuff
|
# Rust stuff
|
||||||
|
|
||||||
# Jekyll docs
|
# Jekyll docs
|
||||||
GITIGNOREFILES = aclocal.m4 build-aux/ buildutil/*.m4 config.h.in \
|
GITIGNOREFILES = aclocal.m4 build-aux/ buildutil/*.m4 config.h.in \
|
||||||
gtk-doc.make fastbuild-*.qcow2 _kola_temp/ target/ Cargo.lock \
|
gtk-doc.make ci-build/ fastbuild-*.qcow2 _kola_temp/ target/ \
|
||||||
docs/.bundle/ docs/Gemfile.lock docs/_site/ docs/reference/ \
|
Cargo.lock docs/.bundle/ docs/Gemfile.lock docs/_site/ \
|
||||||
docs/vendor/ $(NULL) $(am__append_62)
|
docs/reference/ docs/vendor/ $(NULL) $(am__append_62)
|
||||||
OT_INTERNAL_GIO_UNIX_CFLAGS = $(OT_DEP_GIO_UNIX_CFLAGS)
|
OT_INTERNAL_GIO_UNIX_CFLAGS = $(OT_DEP_GIO_UNIX_CFLAGS)
|
||||||
OT_INTERNAL_GIO_UNIX_LIBS = $(OT_DEP_GIO_UNIX_LIBS)
|
OT_INTERNAL_GIO_UNIX_LIBS = $(OT_DEP_GIO_UNIX_LIBS)
|
||||||
OT_INTERNAL_SOUP_CFLAGS = $(OT_DEP_SOUP_CFLAGS)
|
OT_INTERNAL_SOUP_CFLAGS = $(OT_DEP_SOUP_CFLAGS)
|
||||||
|
|
@ -2647,8 +2651,8 @@ nodist_libostree_1_la_SOURCES = \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
libostree_1_la_SOURCES = src/libostree/ostree-async-progress.c \
|
libostree_1_la_SOURCES = src/libostree/ostree-async-progress.c \
|
||||||
src/libostree/ostree-cmdprivate.h \
|
src/libostree/ostree-cmd-private.h \
|
||||||
src/libostree/ostree-cmdprivate.c \
|
src/libostree/ostree-cmd-private.c \
|
||||||
src/libostree/ostree-core-private.h \
|
src/libostree/ostree-core-private.h \
|
||||||
src/libostree/ostree-core.c src/libostree/ostree-date-utils.c \
|
src/libostree/ostree-core.c src/libostree/ostree-date-utils.c \
|
||||||
src/libostree/ostree-date-utils-private.h \
|
src/libostree/ostree-date-utils-private.h \
|
||||||
|
|
@ -3788,7 +3792,7 @@ libglnx.la: $(libglnx_la_OBJECTS) $(libglnx_la_DEPENDENCIES) $(EXTRA_libglnx_la_
|
||||||
src/libostree/libostree_1_la-ostree-async-progress.lo: \
|
src/libostree/libostree_1_la-ostree-async-progress.lo: \
|
||||||
src/libostree/$(am__dirstamp) \
|
src/libostree/$(am__dirstamp) \
|
||||||
src/libostree/$(DEPDIR)/$(am__dirstamp)
|
src/libostree/$(DEPDIR)/$(am__dirstamp)
|
||||||
src/libostree/libostree_1_la-ostree-cmdprivate.lo: \
|
src/libostree/libostree_1_la-ostree-cmd-private.lo: \
|
||||||
src/libostree/$(am__dirstamp) \
|
src/libostree/$(am__dirstamp) \
|
||||||
src/libostree/$(DEPDIR)/$(am__dirstamp)
|
src/libostree/$(DEPDIR)/$(am__dirstamp)
|
||||||
src/libostree/libostree_1_la-ostree-core.lo: \
|
src/libostree/libostree_1_la-ostree-core.lo: \
|
||||||
|
|
@ -4818,7 +4822,7 @@ distclean-compile:
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-bootloader.Plo@am__quote@ # am--include-marker
|
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-bootloader.Plo@am__quote@ # am--include-marker
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-chain-input-stream.Plo@am__quote@ # am--include-marker
|
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-chain-input-stream.Plo@am__quote@ # am--include-marker
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-checksum-input-stream.Plo@am__quote@ # am--include-marker
|
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-checksum-input-stream.Plo@am__quote@ # am--include-marker
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmdprivate.Plo@am__quote@ # am--include-marker
|
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmd-private.Plo@am__quote@ # am--include-marker
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo@am__quote@ # am--include-marker
|
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo@am__quote@ # am--include-marker
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Plo@am__quote@ # am--include-marker
|
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Plo@am__quote@ # am--include-marker
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-date-utils.Plo@am__quote@ # am--include-marker
|
@AMDEP_TRUE@@am__include@ @am__quote@src/libostree/$(DEPDIR)/libostree_1_la-ostree-date-utils.Plo@am__quote@ # am--include-marker
|
||||||
|
|
@ -5115,12 +5119,12 @@ src/libostree/libostree_1_la-ostree-async-progress.lo: src/libostree/ostree-asyn
|
||||||
@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@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libostree_1_la_CFLAGS) $(CFLAGS) -c -o src/libostree/libostree_1_la-ostree-async-progress.lo `test -f 'src/libostree/ostree-async-progress.c' || echo '$(srcdir)/'`src/libostree/ostree-async-progress.c
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libostree_1_la_CFLAGS) $(CFLAGS) -c -o src/libostree/libostree_1_la-ostree-async-progress.lo `test -f 'src/libostree/ostree-async-progress.c' || echo '$(srcdir)/'`src/libostree/ostree-async-progress.c
|
||||||
|
|
||||||
src/libostree/libostree_1_la-ostree-cmdprivate.lo: src/libostree/ostree-cmdprivate.c
|
src/libostree/libostree_1_la-ostree-cmd-private.lo: src/libostree/ostree-cmd-private.c
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libostree_1_la_CFLAGS) $(CFLAGS) -MT src/libostree/libostree_1_la-ostree-cmdprivate.lo -MD -MP -MF src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmdprivate.Tpo -c -o src/libostree/libostree_1_la-ostree-cmdprivate.lo `test -f 'src/libostree/ostree-cmdprivate.c' || echo '$(srcdir)/'`src/libostree/ostree-cmdprivate.c
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libostree_1_la_CFLAGS) $(CFLAGS) -MT src/libostree/libostree_1_la-ostree-cmd-private.lo -MD -MP -MF src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmd-private.Tpo -c -o src/libostree/libostree_1_la-ostree-cmd-private.lo `test -f 'src/libostree/ostree-cmd-private.c' || echo '$(srcdir)/'`src/libostree/ostree-cmd-private.c
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmdprivate.Tpo src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmdprivate.Plo
|
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmd-private.Tpo src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmd-private.Plo
|
||||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/libostree/ostree-cmdprivate.c' object='src/libostree/libostree_1_la-ostree-cmdprivate.lo' libtool=yes @AMDEPBACKSLASH@
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/libostree/ostree-cmd-private.c' object='src/libostree/libostree_1_la-ostree-cmd-private.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
@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@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libostree_1_la_CFLAGS) $(CFLAGS) -c -o src/libostree/libostree_1_la-ostree-cmdprivate.lo `test -f 'src/libostree/ostree-cmdprivate.c' || echo '$(srcdir)/'`src/libostree/ostree-cmdprivate.c
|
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libostree_1_la_CFLAGS) $(CFLAGS) -c -o src/libostree/libostree_1_la-ostree-cmd-private.lo `test -f 'src/libostree/ostree-cmd-private.c' || echo '$(srcdir)/'`src/libostree/ostree-cmd-private.c
|
||||||
|
|
||||||
src/libostree/libostree_1_la-ostree-core.lo: src/libostree/ostree-core.c
|
src/libostree/libostree_1_la-ostree-core.lo: src/libostree/ostree-core.c
|
||||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libostree_1_la_CFLAGS) $(CFLAGS) -MT src/libostree/libostree_1_la-ostree-core.lo -MD -MP -MF src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Tpo -c -o src/libostree/libostree_1_la-ostree-core.lo `test -f 'src/libostree/ostree-core.c' || echo '$(srcdir)/'`src/libostree/ostree-core.c
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libostree_1_la_CFLAGS) $(CFLAGS) -MT src/libostree/libostree_1_la-ostree-core.lo -MD -MP -MF src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Tpo -c -o src/libostree/libostree_1_la-ostree-core.lo `test -f 'src/libostree/ostree-core.c' || echo '$(srcdir)/'`src/libostree/ostree-core.c
|
||||||
|
|
@ -8010,7 +8014,7 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
|
||||||
test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
|
test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
|
||||||
fi; \
|
fi; \
|
||||||
echo "$${col}$$br$${std}"; \
|
echo "$${col}$$br$${std}"; \
|
||||||
echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
|
echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
|
||||||
echo "$${col}$$br$${std}"; \
|
echo "$${col}$$br$${std}"; \
|
||||||
create_testsuite_report --maybe-color; \
|
create_testsuite_report --maybe-color; \
|
||||||
echo "$$col$$br$$std"; \
|
echo "$$col$$br$$std"; \
|
||||||
|
|
@ -8975,7 +8979,6 @@ test-libglnx-shutil.log: test-libglnx-shutil$(EXEEXT)
|
||||||
@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
|
@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
|
||||||
@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
|
@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
|
||||||
@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
|
@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||||
|
|
||||||
distdir: $(BUILT_SOURCES)
|
distdir: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
||||||
|
|
||||||
|
|
@ -9121,7 +9124,7 @@ distcheck: dist
|
||||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||||
--srcdir=../.. --prefix="$$dc_install_base" \
|
--srcdir=../.. --prefix="$$dc_install_base" \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
|
|
@ -9182,6 +9185,26 @@ all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) $(SCRIPTS) $(MANS) $(DATA) \
|
||||||
$(HEADERS) config.h all-local
|
$(HEADERS) config.h all-local
|
||||||
install-binPROGRAMS: install-libLTLIBRARIES
|
install-binPROGRAMS: install-libLTLIBRARIES
|
||||||
|
|
||||||
|
install-checkPROGRAMS: install-libLTLIBRARIES
|
||||||
|
|
||||||
|
install-installedtestPROGRAMS: install-libLTLIBRARIES
|
||||||
|
|
||||||
|
install-libexecPROGRAMS: install-libLTLIBRARIES
|
||||||
|
|
||||||
|
install-ostreebootPROGRAMS: install-libLTLIBRARIES
|
||||||
|
|
||||||
|
install-pkglibexecPROGRAMS: install-libLTLIBRARIES
|
||||||
|
|
||||||
|
install-sbinPROGRAMS: install-libLTLIBRARIES
|
||||||
|
|
||||||
|
install-systemdsystemgeneratorPROGRAMS: install-libLTLIBRARIES
|
||||||
|
|
||||||
|
install-checkLTLIBRARIES: install-libLTLIBRARIES
|
||||||
|
|
||||||
|
install-installedtestLTLIBRARIES: install-libLTLIBRARIES
|
||||||
|
|
||||||
|
install-privlibLTLIBRARIES: install-libLTLIBRARIES
|
||||||
|
|
||||||
installdirs: installdirs-recursive
|
installdirs: installdirs-recursive
|
||||||
installdirs-am:
|
installdirs-am:
|
||||||
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(ostree_bootdir)" "$(DESTDIR)$(pkglibexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(systemdsystemgeneratordir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(privlibdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(dracutmoddir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(mkinitcpioinstalldir)" "$(DESTDIR)$(ostree_bootdir)" "$(DESTDIR)$(pkglibexecdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(completionsdir)" "$(DESTDIR)$(gpginsttestdir)" "$(DESTDIR)$(gpginsttest_revocdir)" "$(DESTDIR)$(gpginsttest_trusteddir)" "$(DESTDIR)$(gpgvinsttestdir)" "$(DESTDIR)$(systemdtmpfilesdir)" "$(DESTDIR)$(dracutconfdir)" "$(DESTDIR)$(girdir)" "$(DESTDIR)$(gpgreadmedir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(installed_test_metadir)" "$(DESTDIR)$(mkinitcpioconfdir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(systemdsystemunitdir)" "$(DESTDIR)$(typelibdir)" "$(DESTDIR)$(libostreeincludedir)"; do \
|
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(ostree_bootdir)" "$(DESTDIR)$(pkglibexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(systemdsystemgeneratordir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(privlibdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(dracutmoddir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(mkinitcpioinstalldir)" "$(DESTDIR)$(ostree_bootdir)" "$(DESTDIR)$(pkglibexecdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(completionsdir)" "$(DESTDIR)$(gpginsttestdir)" "$(DESTDIR)$(gpginsttest_revocdir)" "$(DESTDIR)$(gpginsttest_trusteddir)" "$(DESTDIR)$(gpgvinsttestdir)" "$(DESTDIR)$(systemdtmpfilesdir)" "$(DESTDIR)$(dracutconfdir)" "$(DESTDIR)$(girdir)" "$(DESTDIR)$(gpgreadmedir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(installed_test_metadir)" "$(DESTDIR)$(mkinitcpioconfdir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(systemdsystemunitdir)" "$(DESTDIR)$(typelibdir)" "$(DESTDIR)$(libostreeincludedir)"; do \
|
||||||
|
|
@ -9189,7 +9212,8 @@ installdirs-am:
|
||||||
done
|
done
|
||||||
install: $(BUILT_SOURCES)
|
install: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-recursive
|
$(MAKE) $(AM_MAKEFLAGS) install-recursive
|
||||||
install-exec: install-exec-recursive
|
install-exec: $(BUILT_SOURCES)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-recursive
|
||||||
install-data: install-data-recursive
|
install-data: install-data-recursive
|
||||||
uninstall: uninstall-recursive
|
uninstall: uninstall-recursive
|
||||||
|
|
||||||
|
|
@ -9286,7 +9310,7 @@ distclean: distclean-recursive
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-bootloader.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-bootloader.Plo
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-chain-input-stream.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-chain-input-stream.Plo
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-checksum-input-stream.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-checksum-input-stream.Plo
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmdprivate.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmd-private.Plo
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Plo
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-date-utils.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-date-utils.Plo
|
||||||
|
|
@ -9567,7 +9591,7 @@ maintainer-clean: maintainer-clean-recursive
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-bootloader.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-bootloader.Plo
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-chain-input-stream.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-chain-input-stream.Plo
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-checksum-input-stream.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-checksum-input-stream.Plo
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmdprivate.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-cmd-private.Plo
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-content-writer.Plo
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-core.Plo
|
||||||
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-date-utils.Plo
|
-rm -f src/libostree/$(DEPDIR)/libostree_1_la-ostree-date-utils.Plo
|
||||||
|
|
@ -9791,7 +9815,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
|
||||||
uninstall-man: uninstall-man1 uninstall-man5
|
uninstall-man: uninstall-man1 uninstall-man5
|
||||||
|
|
||||||
.MAKE: $(am__recursive_targets) all check check-am install install-am \
|
.MAKE: $(am__recursive_targets) all check check-am install install-am \
|
||||||
install-data-am install-strip
|
install-data-am install-exec install-strip
|
||||||
|
|
||||||
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \
|
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \
|
||||||
am--depfiles am--refresh check check-TESTS check-am \
|
am--depfiles am--refresh check check-TESTS check-am \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# generated automatically by aclocal 1.16.2 -*- Autoconf -*-
|
# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -14,8 +14,8 @@
|
||||||
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
||||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||||
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
|
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
|
||||||
[m4_warning([this file was generated for autoconf 2.69.
|
[m4_warning([this file was generated for autoconf 2.71.
|
||||||
You have another version of autoconf. It may work, but is not guaranteed to.
|
You have another version of autoconf. It may work, but is not guaranteed to.
|
||||||
If you have problems, you may need to regenerate the build system entirely.
|
If you have problems, you may need to regenerate the build system entirely.
|
||||||
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
|
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
|
||||||
|
|
@ -1045,7 +1045,7 @@ AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"],
|
||||||
[AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])])
|
[AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])])
|
||||||
])dnl PKG_HAVE_DEFINE_WITH_MODULES
|
])dnl PKG_HAVE_DEFINE_WITH_MODULES
|
||||||
|
|
||||||
# Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2002-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1060,7 +1060,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
|
||||||
[am__api_version='1.16'
|
[am__api_version='1.16'
|
||||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
||||||
dnl require some minimum version. Point them to the right macro.
|
dnl require some minimum version. Point them to the right macro.
|
||||||
m4_if([$1], [1.16.2], [],
|
m4_if([$1], [1.16.5], [],
|
||||||
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
@ -1076,14 +1076,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
|
||||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
||||||
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
||||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||||
[AM_AUTOMAKE_VERSION([1.16.2])dnl
|
[AM_AUTOMAKE_VERSION([1.16.5])dnl
|
||||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||||
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
||||||
|
|
||||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1135,7 +1135,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
||||||
|
|
||||||
# AM_COND_IF -*- Autoconf -*-
|
# AM_COND_IF -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 2008-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1172,7 +1172,7 @@ fi[]dnl
|
||||||
|
|
||||||
# AM_CONDITIONAL -*- Autoconf -*-
|
# AM_CONDITIONAL -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1997-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1203,7 +1203,7 @@ AC_CONFIG_COMMANDS_PRE(
|
||||||
Usually this means the macro was only invoked conditionally.]])
|
Usually this means the macro was only invoked conditionally.]])
|
||||||
fi])])
|
fi])])
|
||||||
|
|
||||||
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1394,7 +1394,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
|
||||||
|
|
||||||
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1462,7 +1462,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||||
|
|
||||||
# Do all the work for Automake. -*- Autoconf -*-
|
# Do all the work for Automake. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1490,6 +1490,10 @@ m4_defn([AC_PROG_CC])
|
||||||
# release and drop the old call support.
|
# release and drop the old call support.
|
||||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||||
[AC_PREREQ([2.65])dnl
|
[AC_PREREQ([2.65])dnl
|
||||||
|
m4_ifdef([_$0_ALREADY_INIT],
|
||||||
|
[m4_fatal([$0 expanded multiple times
|
||||||
|
]m4_defn([_$0_ALREADY_INIT]))],
|
||||||
|
[m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
|
||||||
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
||||||
dnl the ones we care about.
|
dnl the ones we care about.
|
||||||
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||||
|
|
@ -1526,7 +1530,7 @@ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
|
||||||
[_AM_SET_OPTIONS([$1])dnl
|
[_AM_SET_OPTIONS([$1])dnl
|
||||||
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
||||||
m4_if(
|
m4_if(
|
||||||
m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
|
m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
|
||||||
[ok:ok],,
|
[ok:ok],,
|
||||||
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
||||||
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||||
|
|
@ -1578,6 +1582,20 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
|
||||||
[m4_define([AC_PROG_OBJCXX],
|
[m4_define([AC_PROG_OBJCXX],
|
||||||
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
|
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
|
||||||
])
|
])
|
||||||
|
# Variables for tags utilities; see am/tags.am
|
||||||
|
if test -z "$CTAGS"; then
|
||||||
|
CTAGS=ctags
|
||||||
|
fi
|
||||||
|
AC_SUBST([CTAGS])
|
||||||
|
if test -z "$ETAGS"; then
|
||||||
|
ETAGS=etags
|
||||||
|
fi
|
||||||
|
AC_SUBST([ETAGS])
|
||||||
|
if test -z "$CSCOPE"; then
|
||||||
|
CSCOPE=cscope
|
||||||
|
fi
|
||||||
|
AC_SUBST([CSCOPE])
|
||||||
|
|
||||||
AC_REQUIRE([AM_SILENT_RULES])dnl
|
AC_REQUIRE([AM_SILENT_RULES])dnl
|
||||||
dnl The testsuite driver may need to know about EXEEXT, so add the
|
dnl The testsuite driver may need to know about EXEEXT, so add the
|
||||||
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
|
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
|
||||||
|
|
@ -1659,7 +1677,7 @@ for _am_header in $config_headers :; do
|
||||||
done
|
done
|
||||||
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
||||||
|
|
||||||
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1680,7 +1698,7 @@ if test x"${install_sh+set}" != xset; then
|
||||||
fi
|
fi
|
||||||
AC_SUBST([install_sh])])
|
AC_SUBST([install_sh])])
|
||||||
|
|
||||||
# Copyright (C) 2003-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2003-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1702,7 +1720,7 @@ AC_SUBST([am__leading_dot])])
|
||||||
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
|
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
|
||||||
# From Jim Meyering
|
# From Jim Meyering
|
||||||
|
|
||||||
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1737,7 +1755,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
||||||
|
|
||||||
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1780,7 +1798,7 @@ AC_SUBST([am__quote])])
|
||||||
|
|
||||||
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1997-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1801,12 +1819,7 @@ AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||||
AC_REQUIRE_AUX_FILE([missing])dnl
|
AC_REQUIRE_AUX_FILE([missing])dnl
|
||||||
if test x"${MISSING+set}" != xset; then
|
if test x"${MISSING+set}" != xset; then
|
||||||
case $am_aux_dir in
|
MISSING="\${SHELL} '$am_aux_dir/missing'"
|
||||||
*\ * | *\ *)
|
|
||||||
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
|
||||||
*)
|
|
||||||
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
# Use eval to expand $SHELL
|
# Use eval to expand $SHELL
|
||||||
if eval "$MISSING --is-lightweight"; then
|
if eval "$MISSING --is-lightweight"; then
|
||||||
|
|
@ -1819,7 +1832,7 @@ fi
|
||||||
|
|
||||||
# Helper functions for option handling. -*- Autoconf -*-
|
# Helper functions for option handling. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1848,7 +1861,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
|
||||||
AC_DEFUN([_AM_IF_OPTION],
|
AC_DEFUN([_AM_IF_OPTION],
|
||||||
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
||||||
|
|
||||||
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1895,7 +1908,7 @@ AC_LANG_POP([C])])
|
||||||
# For backward compatibility.
|
# For backward compatibility.
|
||||||
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
|
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
|
||||||
|
|
||||||
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1914,7 +1927,7 @@ AC_DEFUN([AM_RUN_LOG],
|
||||||
|
|
||||||
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -1995,7 +2008,7 @@ AC_CONFIG_COMMANDS_PRE(
|
||||||
rm -f conftest.file
|
rm -f conftest.file
|
||||||
])
|
])
|
||||||
|
|
||||||
# Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -2055,7 +2068,7 @@ AC_SUBST([AM_BACKSLASH])dnl
|
||||||
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
|
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
|
||||||
])
|
])
|
||||||
|
|
||||||
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -2083,7 +2096,7 @@ fi
|
||||||
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
||||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||||
|
|
||||||
# Copyright (C) 2006-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2006-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -2102,7 +2115,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
||||||
|
|
||||||
# Check how to create a tarball. -*- Autoconf -*-
|
# Check how to create a tarball. -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 2004-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2004-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ IGNORE_HFILES= \
|
||||||
ostree-bootloader-grub2.h \
|
ostree-bootloader-grub2.h \
|
||||||
ostree-bootloader-syslinux.h \
|
ostree-bootloader-syslinux.h \
|
||||||
ostree-bootloader-uboot.h \
|
ostree-bootloader-uboot.h \
|
||||||
ostree-cmdprivate.h \
|
ostree-cmd-private.h \
|
||||||
ostree-core-private.h \
|
ostree-core-private.h \
|
||||||
ostree-fetcher.h \
|
ostree-fetcher.h \
|
||||||
ostree-gpg-verifier.h \
|
ostree-gpg-verifier.h \
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Makefile.in generated by automake 1.16.2 from Makefile.am.
|
# Makefile.in generated by automake 1.16.5 from Makefile.am.
|
||||||
# @configure_input@
|
# @configure_input@
|
||||||
|
|
||||||
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -204,8 +204,9 @@ BUILDOPT_FUSE_LIBS = @BUILDOPT_FUSE_LIBS@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
CCDEPMODE = @CCDEPMODE@
|
CCDEPMODE = @CCDEPMODE@
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CPP = @CPP@
|
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CSCOPE = @CSCOPE@
|
||||||
|
CTAGS = @CTAGS@
|
||||||
CYGPATH_W = @CYGPATH_W@
|
CYGPATH_W = @CYGPATH_W@
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
|
|
@ -216,6 +217,7 @@ ECHO_C = @ECHO_C@
|
||||||
ECHO_N = @ECHO_N@
|
ECHO_N = @ECHO_N@
|
||||||
ECHO_T = @ECHO_T@
|
ECHO_T = @ECHO_T@
|
||||||
EGREP = @EGREP@
|
EGREP = @EGREP@
|
||||||
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
FUSE3_CFLAGS = @FUSE3_CFLAGS@
|
FUSE3_CFLAGS = @FUSE3_CFLAGS@
|
||||||
|
|
@ -476,7 +478,7 @@ IGNORE_HFILES = \
|
||||||
ostree-bootloader-grub2.h \
|
ostree-bootloader-grub2.h \
|
||||||
ostree-bootloader-syslinux.h \
|
ostree-bootloader-syslinux.h \
|
||||||
ostree-bootloader-uboot.h \
|
ostree-bootloader-uboot.h \
|
||||||
ostree-cmdprivate.h \
|
ostree-cmd-private.h \
|
||||||
ostree-core-private.h \
|
ostree-core-private.h \
|
||||||
ostree-fetcher.h \
|
ostree-fetcher.h \
|
||||||
ostree-gpg-verifier.h \
|
ostree-gpg-verifier.h \
|
||||||
|
|
@ -649,7 +651,6 @@ ctags CTAGS:
|
||||||
|
|
||||||
cscope cscopelist:
|
cscope cscopelist:
|
||||||
|
|
||||||
|
|
||||||
distdir: $(BUILT_SOURCES)
|
distdir: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 2022.3</p></div>
|
<div><p class="releaseinfo">for OSTree 2022.4</p></div>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -350,6 +350,22 @@
|
||||||
<span class="returnvalue">GVariant</span> *
|
<span class="returnvalue">GVariant</span> *
|
||||||
</td>
|
</td>
|
||||||
<td class="function_name">
|
<td class="function_name">
|
||||||
|
<a class="link" href="ostree-Core-repository-independent-functions.html#ostree-fs-get-all-xattrs" title="ostree_fs_get_all_xattrs ()">ostree_fs_get_all_xattrs</a> <span class="c_punctuation">()</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="function_type">
|
||||||
|
<span class="returnvalue">GVariant</span> *
|
||||||
|
</td>
|
||||||
|
<td class="function_name">
|
||||||
|
<a class="link" href="ostree-Core-repository-independent-functions.html#ostree-fs-get-all-xattrs-at" title="ostree_fs_get_all_xattrs_at ()">ostree_fs_get_all_xattrs_at</a> <span class="c_punctuation">()</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="function_type">
|
||||||
|
<span class="returnvalue">GVariant</span> *
|
||||||
|
</td>
|
||||||
|
<td class="function_name">
|
||||||
<a class="link" href="ostree-Core-repository-independent-functions.html#ostree-create-directory-metadata" title="ostree_create_directory_metadata ()">ostree_create_directory_metadata</a> <span class="c_punctuation">()</span>
|
<a class="link" href="ostree-Core-repository-independent-functions.html#ostree-create-directory-metadata" title="ostree_create_directory_metadata ()">ostree_create_directory_metadata</a> <span class="c_punctuation">()</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -2144,6 +2160,100 @@ ostree_checksum_file_async_finish (<em class="parameter"><code><span class="type
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
|
<a name="ostree-fs-get-all-xattrs"></a><h3>ostree_fs_get_all_xattrs ()</h3>
|
||||||
|
<pre class="programlisting"><span class="returnvalue">GVariant</span> *
|
||||||
|
ostree_fs_get_all_xattrs (<em class="parameter"><code><span class="type">int</span> fd</code></em>,
|
||||||
|
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
||||||
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||||
|
<p>Retrieve all extended attributes in a canonical (sorted) order from
|
||||||
|
the given file descriptor.</p>
|
||||||
|
<div class="refsect3">
|
||||||
|
<a name="ostree-fs-get-all-xattrs.parameters"></a><h4>Parameters</h4>
|
||||||
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
|
<colgroup>
|
||||||
|
<col width="150px" class="parameters_name">
|
||||||
|
<col class="parameters_description">
|
||||||
|
<col width="200px" class="parameters_annotations">
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="parameter_name"><p>fd</p></td>
|
||||||
|
<td class="parameter_description"><p>File descriptor</p></td>
|
||||||
|
<td class="parameter_annotations"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="parameter_name"><p>cancellable</p></td>
|
||||||
|
<td class="parameter_description"><p>Cancellable</p></td>
|
||||||
|
<td class="parameter_annotations"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="parameter_name"><p>error</p></td>
|
||||||
|
<td class="parameter_description"><p>Error</p></td>
|
||||||
|
<td class="parameter_annotations"> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table></div>
|
||||||
|
</div>
|
||||||
|
<div class="refsect3">
|
||||||
|
<a name="ostree-fs-get-all-xattrs.returns"></a><h4>Returns</h4>
|
||||||
|
<p>A GVariant of type <code class="literal">a(ayay)</code>. </p>
|
||||||
|
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<div class="refsect2">
|
||||||
|
<a name="ostree-fs-get-all-xattrs-at"></a><h3>ostree_fs_get_all_xattrs_at ()</h3>
|
||||||
|
<pre class="programlisting"><span class="returnvalue">GVariant</span> *
|
||||||
|
ostree_fs_get_all_xattrs_at (<em class="parameter"><code><span class="type">int</span> dfd</code></em>,
|
||||||
|
<em class="parameter"><code>const <span class="type">char</span> *path</code></em>,
|
||||||
|
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
||||||
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
||||||
|
<p>Retrieve all extended attributes in a canonical (sorted) order from
|
||||||
|
the given path, relative to the provided directory file descriptor.
|
||||||
|
The target path will not be dereferenced. Currently on Linux, this
|
||||||
|
API must be used currently to retrieve extended attributes
|
||||||
|
for symbolic links because while <code class="literal">O_PATH</code> exists, it cannot be used
|
||||||
|
with <code class="literal"><code class="function">fgetxattr()</code></code>.</p>
|
||||||
|
<div class="refsect3">
|
||||||
|
<a name="ostree-fs-get-all-xattrs-at.parameters"></a><h4>Parameters</h4>
|
||||||
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
|
<colgroup>
|
||||||
|
<col width="150px" class="parameters_name">
|
||||||
|
<col class="parameters_description">
|
||||||
|
<col width="200px" class="parameters_annotations">
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="parameter_name"><p>dfd</p></td>
|
||||||
|
<td class="parameter_description"><p>Directory file descriptor</p></td>
|
||||||
|
<td class="parameter_annotations"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="parameter_name"><p>path</p></td>
|
||||||
|
<td class="parameter_description"><p>Filesystem path</p></td>
|
||||||
|
<td class="parameter_annotations"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="parameter_name"><p>cancellable</p></td>
|
||||||
|
<td class="parameter_description"><p>Cancellable</p></td>
|
||||||
|
<td class="parameter_annotations"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="parameter_name"><p>error</p></td>
|
||||||
|
<td class="parameter_description"><p>Error</p></td>
|
||||||
|
<td class="parameter_annotations"> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table></div>
|
||||||
|
</div>
|
||||||
|
<div class="refsect3">
|
||||||
|
<a name="ostree-fs-get-all-xattrs-at.returns"></a><h4>Returns</h4>
|
||||||
|
<p>A GVariant of type <code class="literal">a(ayay)</code>. </p>
|
||||||
|
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<div class="refsect2">
|
||||||
<a name="ostree-create-directory-metadata"></a><h3>ostree_create_directory_metadata ()</h3>
|
<a name="ostree-create-directory-metadata"></a><h3>ostree_create_directory_metadata ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">GVariant</span> *
|
<pre class="programlisting"><span class="returnvalue">GVariant</span> *
|
||||||
ostree_create_directory_metadata (<em class="parameter"><code><span class="type">GFileInfo</span> *dir_info</code></em>,
|
ostree_create_directory_metadata (<em class="parameter"><code><span class="type">GFileInfo</span> *dir_info</code></em>,
|
||||||
|
|
|
||||||
|
|
@ -482,12 +482,12 @@ ostree_mutable_tree_lookup (<em class="parameter"><code><a class="link" href="os
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter_name"><p>out_file_checksum</p></td>
|
<td class="parameter_name"><p>out_file_checksum</p></td>
|
||||||
<td class="parameter_description"><p>checksum. </p></td>
|
<td class="parameter_description"><p>checksum. </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/transfer%20full"><span class="acronym">transfer full</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/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/nullable"><span class="acronym">nullable</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_subdir</p></td>
|
<td class="parameter_name"><p>out_subdir</p></td>
|
||||||
<td class="parameter_description"><p>subdirectory. </p></td>
|
<td class="parameter_description"><p>subdirectory. </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/transfer%20full"><span class="acronym">transfer full</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/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/nullable"><span class="acronym">nullable</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>error</p></td>
|
<td class="parameter_name"><p>error</p></td>
|
||||||
|
|
|
||||||
|
|
@ -2244,10 +2244,10 @@ This will automatically release the lock if it was acquired successfully.</p>
|
||||||
2
|
2
|
||||||
3
|
3
|
||||||
4</pre></td>
|
4</pre></td>
|
||||||
<td class="listing_code"><pre class="programlisting"><span class="n">g_autoptr</span><span class="p">(</span><span class="n">OstreeRepoAutoLock</span><span class="p">)</span> <span class="n">lock</span> <span class="o">=</span> <span class="nb">NULL</span><span class="p">;</span>
|
<td class="listing_code"><pre class="programlisting"><span class="n">g_autoptr</span><span class="p">(</span><span class="n">OstreeRepoAutoLock</span><span class="p">)</span><span class="w"> </span><span class="n">lock</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">NULL</span><span class="p">;</span><span class="w"></span>
|
||||||
<span class="n">lock</span> <span class="o">=</span> <span class="n">ostree_repo_auto_lock_push</span> <span class="p">(</span><span class="n">repo</span><span class="p">,</span> <span class="n">lock_type</span><span class="p">,</span> <span class="n">cancellable</span><span class="p">,</span> <span class="n">error</span><span class="p">);</span>
|
<span class="n">lock</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">ostree_repo_auto_lock_push</span><span class="w"> </span><span class="p">(</span><span class="n">repo</span><span class="p">,</span><span class="w"> </span><span class="n">lock_type</span><span class="p">,</span><span class="w"> </span><span class="n">cancellable</span><span class="p">,</span><span class="w"> </span><span class="n">error</span><span class="p">);</span><span class="w"></span>
|
||||||
<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="n">lock</span><span class="p">)</span>
|
<span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="o">!</span><span class="n">lock</span><span class="p">)</span><span class="w"></span>
|
||||||
<span class="k">return</span> <span class="n">FALSE</span><span class="p">;</span></pre></td>
|
<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">FALSE</span><span class="p">;</span><span class="w"></span></pre></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
|
|
@ -298,17 +298,17 @@ function returns.</p>
|
||||||
9
|
9
|
||||||
10
|
10
|
||||||
11</pre></td>
|
11</pre></td>
|
||||||
<td class="listing_code"><pre class="programlisting"><span class="n">guint32</span> <span class="n">outstanding_fetches</span><span class="p">;</span>
|
<td class="listing_code"><pre class="programlisting"><span class="n">guint32</span><span class="w"> </span><span class="n">outstanding_fetches</span><span class="p">;</span><span class="w"></span>
|
||||||
<span class="n">guint64</span> <span class="n">bytes_received</span><span class="p">;</span>
|
<span class="n">guint64</span><span class="w"> </span><span class="n">bytes_received</span><span class="p">;</span><span class="w"></span>
|
||||||
<span class="n">g_autofree</span> <span class="n">gchar</span> <span class="o">*</span><span class="n">status</span> <span class="o">=</span> <span class="nb">NULL</span><span class="p">;</span>
|
<span class="n">g_autofree</span><span class="w"> </span><span class="n">gchar</span><span class="w"> </span><span class="o">*</span><span class="n">status</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">NULL</span><span class="p">;</span><span class="w"></span>
|
||||||
<span class="n">g_autoptr</span><span class="p">(</span><span class="n">GVariant</span><span class="p">)</span> <span class="n">refs_variant</span> <span class="o">=</span> <span class="nb">NULL</span><span class="p">;</span>
|
<span class="n">g_autoptr</span><span class="p">(</span><span class="n">GVariant</span><span class="p">)</span><span class="w"> </span><span class="n">refs_variant</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">NULL</span><span class="p">;</span><span class="w"></span>
|
||||||
|
|
||||||
<span class="n">ostree_async_progress_get</span> <span class="p">(</span><span class="n">progress</span><span class="p">,</span>
|
<span class="n">ostree_async_progress_get</span><span class="w"> </span><span class="p">(</span><span class="n">progress</span><span class="p">,</span><span class="w"></span>
|
||||||
<span class="s">"outstanding-fetches"</span><span class="p">,</span> <span class="s">"u"</span><span class="p">,</span> <span class="o">&</span><span class="n">outstanding_fetches</span><span class="p">,</span>
|
<span class="w"> </span><span class="s">"outstanding-fetches"</span><span class="p">,</span><span class="w"> </span><span class="s">"u"</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">outstanding_fetches</span><span class="p">,</span><span class="w"></span>
|
||||||
<span class="s">"bytes-received"</span><span class="p">,</span> <span class="s">"t"</span><span class="p">,</span> <span class="o">&</span><span class="n">bytes_received</span><span class="p">,</span>
|
<span class="w"> </span><span class="s">"bytes-received"</span><span class="p">,</span><span class="w"> </span><span class="s">"t"</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">bytes_received</span><span class="p">,</span><span class="w"></span>
|
||||||
<span class="s">"status"</span><span class="p">,</span> <span class="s">"s"</span><span class="p">,</span> <span class="o">&</span><span class="n">status</span><span class="p">,</span>
|
<span class="w"> </span><span class="s">"status"</span><span class="p">,</span><span class="w"> </span><span class="s">"s"</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">status</span><span class="p">,</span><span class="w"></span>
|
||||||
<span class="s">"refs"</span><span class="p">,</span> <span class="s">"@a{ss}"</span><span class="p">,</span> <span class="o">&</span><span class="n">refs_variant</span><span class="p">,</span>
|
<span class="w"> </span><span class="s">"refs"</span><span class="p">,</span><span class="w"> </span><span class="s">"@a{ss}"</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">refs_variant</span><span class="p">,</span><span class="w"></span>
|
||||||
<span class="nb">NULL</span><span class="p">);</span></pre></td>
|
<span class="w"> </span><span class="nb">NULL</span><span class="p">);</span><span class="w"></span></pre></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
@ -452,15 +452,15 @@ parameters, so they may be floating.</p>
|
||||||
7
|
7
|
||||||
8
|
8
|
||||||
9</pre></td>
|
9</pre></td>
|
||||||
<td class="listing_code"><pre class="programlisting"><span class="n">guint32</span> <span class="n">outstanding_fetches</span> <span class="o">=</span> <span class="mi">15</span><span class="p">;</span>
|
<td class="listing_code"><pre class="programlisting"><span class="n">guint32</span><span class="w"> </span><span class="n">outstanding_fetches</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">15</span><span class="p">;</span><span class="w"></span>
|
||||||
<span class="n">guint64</span> <span class="n">bytes_received</span> <span class="o">=</span> <span class="mi">1000</span><span class="p">;</span>
|
<span class="n">guint64</span><span class="w"> </span><span class="n">bytes_received</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">1000</span><span class="p">;</span><span class="w"></span>
|
||||||
|
|
||||||
<span class="n">ostree_async_progress_set</span> <span class="p">(</span><span class="n">progress</span><span class="p">,</span>
|
<span class="n">ostree_async_progress_set</span><span class="w"> </span><span class="p">(</span><span class="n">progress</span><span class="p">,</span><span class="w"></span>
|
||||||
<span class="s">"outstanding-fetches"</span><span class="p">,</span> <span class="s">"u"</span><span class="p">,</span> <span class="n">outstanding_fetches</span><span class="p">,</span>
|
<span class="w"> </span><span class="s">"outstanding-fetches"</span><span class="p">,</span><span class="w"> </span><span class="s">"u"</span><span class="p">,</span><span class="w"> </span><span class="n">outstanding_fetches</span><span class="p">,</span><span class="w"></span>
|
||||||
<span class="s">"bytes-received"</span><span class="p">,</span> <span class="s">"t"</span><span class="p">,</span> <span class="n">bytes_received</span><span class="p">,</span>
|
<span class="w"> </span><span class="s">"bytes-received"</span><span class="p">,</span><span class="w"> </span><span class="s">"t"</span><span class="p">,</span><span class="w"> </span><span class="n">bytes_received</span><span class="p">,</span><span class="w"></span>
|
||||||
<span class="s">"status"</span><span class="p">,</span> <span class="s">"s"</span><span class="p">,</span> <span class="s">"Updated status"</span><span class="p">,</span>
|
<span class="w"> </span><span class="s">"status"</span><span class="p">,</span><span class="w"> </span><span class="s">"s"</span><span class="p">,</span><span class="w"> </span><span class="s">"Updated status"</span><span class="p">,</span><span class="w"></span>
|
||||||
<span class="s">"refs"</span><span class="p">,</span> <span class="s">"@a{ss}"</span><span class="p">,</span> <span class="n">g_variant_new_parsed</span> <span class="p">(</span><span class="s">"@a{ss} {}"</span><span class="p">),</span>
|
<span class="w"> </span><span class="s">"refs"</span><span class="p">,</span><span class="w"> </span><span class="s">"@a{ss}"</span><span class="p">,</span><span class="w"> </span><span class="n">g_variant_new_parsed</span><span class="w"> </span><span class="p">(</span><span class="s">"@a{ss} {}"</span><span class="p">),</span><span class="w"></span>
|
||||||
<span class="nb">NULL</span><span class="p">);</span></pre></td>
|
<span class="w"> </span><span class="nb">NULL</span><span class="p">);</span><span class="w"></span></pre></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
|
|
@ -356,7 +356,7 @@ be used with <code class="function">g_auto()</code>:</p>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="listing_lines" align="right"><pre>1</pre></td>
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
||||||
<td class="listing_code"><pre class="programlisting"><span class="n">g_auto</span><span class="p">(</span><span class="n">OstreeCollectionRefv</span><span class="p">)</span> <span class="n">refs</span> <span class="o">=</span> <span class="nb">NULL</span><span class="p">;</span></pre></td>
|
<td class="listing_code"><pre class="programlisting"><span class="n">g_auto</span><span class="p">(</span><span class="n">OstreeCollectionRefv</span><span class="p">)</span><span class="w"> </span><span class="n">refs</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">NULL</span><span class="p">;</span><span class="w"></span></pre></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
|
|
@ -560,7 +560,7 @@ be used with <code class="function">g_auto()</code>:</p>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="listing_lines" align="right"><pre>1</pre></td>
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
||||||
<td class="listing_code"><pre class="programlisting"><span class="n">g_auto</span><span class="p">(</span><span class="n">OstreeRepoFinderResultv</span><span class="p">)</span> <span class="n">results</span> <span class="o">=</span> <span class="nb">NULL</span><span class="p">;</span></pre></td>
|
<td class="listing_code"><pre class="programlisting"><span class="n">g_auto</span><span class="p">(</span><span class="n">OstreeRepoFinderResultv</span><span class="p">)</span><span class="w"> </span><span class="n">results</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">NULL</span><span class="p">;</span><span class="w"></span></pre></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ of ostree is equal or greater than the required one.</p>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="OSTREE-RELEASE-VERSION:CAPS"></a><h3>OSTREE_RELEASE_VERSION</h3>
|
<a name="OSTREE-RELEASE-VERSION:CAPS"></a><h3>OSTREE_RELEASE_VERSION</h3>
|
||||||
<pre class="programlisting">#define OSTREE_RELEASE_VERSION (3)
|
<pre class="programlisting">#define OSTREE_RELEASE_VERSION (4)
|
||||||
</pre>
|
</pre>
|
||||||
<p>ostree release version component (e.g. 2 if <a class="link" href="ostree-ostree-version.html#OSTREE-VERSION:CAPS" title="OSTREE_VERSION"><code class="literal">OSTREE_VERSION</code></a> is 2017.2)</p>
|
<p>ostree release version component (e.g. 2 if <a class="link" href="ostree-ostree-version.html#OSTREE-VERSION:CAPS" title="OSTREE_VERSION"><code class="literal">OSTREE_VERSION</code></a> is 2017.2)</p>
|
||||||
<p class="since">Since: 2017.4</p>
|
<p class="since">Since: 2017.4</p>
|
||||||
|
|
@ -133,7 +133,7 @@ of ostree is equal or greater than the required one.</p>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="OSTREE-VERSION:CAPS"></a><h3>OSTREE_VERSION</h3>
|
<a name="OSTREE-VERSION:CAPS"></a><h3>OSTREE_VERSION</h3>
|
||||||
<pre class="programlisting">#define OSTREE_VERSION (2022.3)
|
<pre class="programlisting">#define OSTREE_VERSION (2022.4)
|
||||||
</pre>
|
</pre>
|
||||||
<p>ostree version.</p>
|
<p>ostree version.</p>
|
||||||
<p class="since">Since: 2017.4</p>
|
<p class="since">Since: 2017.4</p>
|
||||||
|
|
@ -141,7 +141,7 @@ of ostree is equal or greater than the required one.</p>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="OSTREE-VERSION-S:CAPS"></a><h3>OSTREE_VERSION_S</h3>
|
<a name="OSTREE-VERSION-S:CAPS"></a><h3>OSTREE_VERSION_S</h3>
|
||||||
<pre class="programlisting">#define OSTREE_VERSION_S "2022.3"
|
<pre class="programlisting">#define OSTREE_VERSION_S "2022.4"
|
||||||
</pre>
|
</pre>
|
||||||
<p>ostree version, encoded as a string, useful for printing and
|
<p>ostree version, encoded as a string, useful for printing and
|
||||||
concatenation.</p>
|
concatenation.</p>
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,8 @@
|
||||||
<keyword type="function" name="ostree_checksum_file_at ()" link="ostree-Core-repository-independent-functions.html#ostree-checksum-file-at" since="2017.13"/>
|
<keyword type="function" name="ostree_checksum_file_at ()" link="ostree-Core-repository-independent-functions.html#ostree-checksum-file-at" since="2017.13"/>
|
||||||
<keyword type="function" name="ostree_checksum_file_async ()" link="ostree-Core-repository-independent-functions.html#ostree-checksum-file-async"/>
|
<keyword type="function" name="ostree_checksum_file_async ()" link="ostree-Core-repository-independent-functions.html#ostree-checksum-file-async"/>
|
||||||
<keyword type="function" name="ostree_checksum_file_async_finish ()" link="ostree-Core-repository-independent-functions.html#ostree-checksum-file-async-finish"/>
|
<keyword type="function" name="ostree_checksum_file_async_finish ()" link="ostree-Core-repository-independent-functions.html#ostree-checksum-file-async-finish"/>
|
||||||
|
<keyword type="function" name="ostree_fs_get_all_xattrs ()" link="ostree-Core-repository-independent-functions.html#ostree-fs-get-all-xattrs"/>
|
||||||
|
<keyword type="function" name="ostree_fs_get_all_xattrs_at ()" link="ostree-Core-repository-independent-functions.html#ostree-fs-get-all-xattrs-at"/>
|
||||||
<keyword type="function" name="ostree_create_directory_metadata ()" link="ostree-Core-repository-independent-functions.html#ostree-create-directory-metadata"/>
|
<keyword type="function" name="ostree_create_directory_metadata ()" link="ostree-Core-repository-independent-functions.html#ostree-create-directory-metadata"/>
|
||||||
<keyword type="function" name="ostree_validate_structureof_objtype ()" link="ostree-Core-repository-independent-functions.html#ostree-validate-structureof-objtype"/>
|
<keyword type="function" name="ostree_validate_structureof_objtype ()" link="ostree-Core-repository-independent-functions.html#ostree-validate-structureof-objtype"/>
|
||||||
<keyword type="function" name="ostree_validate_structureof_csum_v ()" link="ostree-Core-repository-independent-functions.html#ostree-validate-structureof-csum-v"/>
|
<keyword type="function" name="ostree_validate_structureof_csum_v ()" link="ostree-Core-repository-independent-functions.html#ostree-validate-structureof-csum-v"/>
|
||||||
|
|
|
||||||
|
|
@ -535,6 +535,14 @@
|
||||||
<a class="link" href="ostree-Core-repository-independent-functions.html#OSTREE-FILEMETA-GVARIANT-STRING:CAPS" title="OSTREE_FILEMETA_GVARIANT_STRING">OSTREE_FILEMETA_GVARIANT_STRING</a>, macro in <a class="link" href="ostree-Core-repository-independent-functions.html" title="Core repository-independent functions">Core repository-independent functions</a>
|
<a class="link" href="ostree-Core-repository-independent-functions.html#OSTREE-FILEMETA-GVARIANT-STRING:CAPS" title="OSTREE_FILEMETA_GVARIANT_STRING">OSTREE_FILEMETA_GVARIANT_STRING</a>, macro in <a class="link" href="ostree-Core-repository-independent-functions.html" title="Core repository-independent functions">Core repository-independent functions</a>
|
||||||
</dt>
|
</dt>
|
||||||
<dd></dd>
|
<dd></dd>
|
||||||
|
<dt>
|
||||||
|
<a class="link" href="ostree-Core-repository-independent-functions.html#ostree-fs-get-all-xattrs" title="ostree_fs_get_all_xattrs ()">ostree_fs_get_all_xattrs</a>, function in <a class="link" href="ostree-Core-repository-independent-functions.html" title="Core repository-independent functions">Core repository-independent functions</a>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
<dt>
|
||||||
|
<a class="link" href="ostree-Core-repository-independent-functions.html#ostree-fs-get-all-xattrs-at" title="ostree_fs_get_all_xattrs_at ()">ostree_fs_get_all_xattrs_at</a>, function in <a class="link" href="ostree-Core-repository-independent-functions.html" title="Core repository-independent functions">Core repository-independent functions</a>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
<a name="idxG"></a><h3 class="title">G</h3>
|
<a name="idxG"></a><h3 class="title">G</h3>
|
||||||
<dt>
|
<dt>
|
||||||
<a class="link" href="ostree-GPG-signature-verification-results.html#OstreeGpgError" title="enum OstreeGpgError">OstreeGpgError</a>, enum in <a class="link" href="ostree-GPG-signature-verification-results.html" title="GPG signature verification results">GPG signature verification results</a>
|
<a class="link" href="ostree-GPG-signature-verification-results.html#OstreeGpgError" title="enum OstreeGpgError">OstreeGpgError</a>, enum in <a class="link" href="ostree-GPG-signature-verification-results.html" title="GPG signature verification results">GPG signature verification results</a>
|
||||||
|
|
|
||||||
|
|
@ -461,22 +461,22 @@ span.linenos { color: inherit; background-color: transparent; padding-left: 5px;
|
||||||
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
||||||
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
||||||
.hll { background-color: #ffffcc }
|
.hll { background-color: #ffffcc }
|
||||||
.c { color: #408080; font-style: italic } /* Comment */
|
.c { color: #3D7B7B; font-style: italic } /* Comment */
|
||||||
.err { border: 1px solid #FF0000 } /* Error */
|
.err { border: 1px solid #FF0000 } /* Error */
|
||||||
.k { color: #008000; font-weight: bold } /* Keyword */
|
.k { color: #008000; font-weight: bold } /* Keyword */
|
||||||
.o { color: #666666 } /* Operator */
|
.o { color: #666666 } /* Operator */
|
||||||
.ch { color: #408080; font-style: italic } /* Comment.Hashbang */
|
.ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
|
||||||
.cm { color: #408080; font-style: italic } /* Comment.Multiline */
|
.cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
|
||||||
.cp { color: #BC7A00 } /* Comment.Preproc */
|
.cp { color: #9C6500 } /* Comment.Preproc */
|
||||||
.cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
|
.cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
|
||||||
.c1 { color: #408080; font-style: italic } /* Comment.Single */
|
.c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
|
||||||
.cs { color: #408080; font-style: italic } /* Comment.Special */
|
.cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
|
||||||
.gd { color: #A00000 } /* Generic.Deleted */
|
.gd { color: #A00000 } /* Generic.Deleted */
|
||||||
.ge { font-style: italic } /* Generic.Emph */
|
.ge { font-style: italic } /* Generic.Emph */
|
||||||
.gr { color: #FF0000 } /* Generic.Error */
|
.gr { color: #E40000 } /* Generic.Error */
|
||||||
.gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
.gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
||||||
.gi { color: #00A000 } /* Generic.Inserted */
|
.gi { color: #008400 } /* Generic.Inserted */
|
||||||
.go { color: #888888 } /* Generic.Output */
|
.go { color: #717171 } /* Generic.Output */
|
||||||
.gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
.gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
||||||
.gs { font-weight: bold } /* Generic.Strong */
|
.gs { font-weight: bold } /* Generic.Strong */
|
||||||
.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
||||||
|
|
@ -489,15 +489,15 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
|
||||||
.kt { color: #B00040 } /* Keyword.Type */
|
.kt { color: #B00040 } /* Keyword.Type */
|
||||||
.m { color: #666666 } /* Literal.Number */
|
.m { color: #666666 } /* Literal.Number */
|
||||||
.s { color: #BA2121 } /* Literal.String */
|
.s { color: #BA2121 } /* Literal.String */
|
||||||
.na { color: #7D9029 } /* Name.Attribute */
|
.na { color: #687822 } /* Name.Attribute */
|
||||||
.nb { color: #008000 } /* Name.Builtin */
|
.nb { color: #008000 } /* Name.Builtin */
|
||||||
.nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
.nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
||||||
.no { color: #880000 } /* Name.Constant */
|
.no { color: #880000 } /* Name.Constant */
|
||||||
.nd { color: #AA22FF } /* Name.Decorator */
|
.nd { color: #AA22FF } /* Name.Decorator */
|
||||||
.ni { color: #999999; font-weight: bold } /* Name.Entity */
|
.ni { color: #717171; font-weight: bold } /* Name.Entity */
|
||||||
.ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
.ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
|
||||||
.nf { color: #0000FF } /* Name.Function */
|
.nf { color: #0000FF } /* Name.Function */
|
||||||
.nl { color: #A0A000 } /* Name.Label */
|
.nl { color: #767600 } /* Name.Label */
|
||||||
.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
||||||
.nt { color: #008000; font-weight: bold } /* Name.Tag */
|
.nt { color: #008000; font-weight: bold } /* Name.Tag */
|
||||||
.nv { color: #19177C } /* Name.Variable */
|
.nv { color: #19177C } /* Name.Variable */
|
||||||
|
|
@ -514,11 +514,11 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
|
||||||
.dl { color: #BA2121 } /* Literal.String.Delimiter */
|
.dl { color: #BA2121 } /* Literal.String.Delimiter */
|
||||||
.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
||||||
.s2 { color: #BA2121 } /* Literal.String.Double */
|
.s2 { color: #BA2121 } /* Literal.String.Double */
|
||||||
.se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
.se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
|
||||||
.sh { color: #BA2121 } /* Literal.String.Heredoc */
|
.sh { color: #BA2121 } /* Literal.String.Heredoc */
|
||||||
.si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
.si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
|
||||||
.sx { color: #008000 } /* Literal.String.Other */
|
.sx { color: #008000 } /* Literal.String.Other */
|
||||||
.sr { color: #BB6688 } /* Literal.String.Regex */
|
.sr { color: #A45A77 } /* Literal.String.Regex */
|
||||||
.s1 { color: #BA2121 } /* Literal.String.Single */
|
.s1 { color: #BA2121 } /* Literal.String.Single */
|
||||||
.ss { color: #19177C } /* Literal.String.Symbol */
|
.ss { color: #19177C } /* Literal.String.Symbol */
|
||||||
.bp { color: #008000 } /* Name.Builtin.Pseudo */
|
.bp { color: #008000 } /* Name.Builtin.Pseudo */
|
||||||
|
|
|
||||||
|
|
@ -143,6 +143,8 @@ ostree_checksum_file
|
||||||
ostree_checksum_file_at
|
ostree_checksum_file_at
|
||||||
ostree_checksum_file_async
|
ostree_checksum_file_async
|
||||||
ostree_checksum_file_async_finish
|
ostree_checksum_file_async_finish
|
||||||
|
ostree_fs_get_all_xattrs
|
||||||
|
ostree_fs_get_all_xattrs_at
|
||||||
ostree_create_directory_metadata
|
ostree_create_directory_metadata
|
||||||
ostree_validate_structureof_objtype
|
ostree_validate_structureof_objtype
|
||||||
ostree_validate_structureof_csum_v
|
ostree_validate_structureof_csum_v
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
2022.3
|
2022.4
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
scriptversion=2018-03-07.03; # UTC
|
scriptversion=2018-03-07.03; # UTC
|
||||||
|
|
||||||
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
|
||||||
# Written by Tom Tromey <tromey@cygnus.com>.
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
scriptversion=2018-03-07.03; # UTC
|
scriptversion=2018-03-07.03; # UTC
|
||||||
|
|
||||||
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# install - install a program, script, or datafile
|
# install - install a program, script, or datafile
|
||||||
|
|
||||||
scriptversion=2018-03-11.20; # UTC
|
scriptversion=2020-11-14.01; # UTC
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||||
|
|
@ -69,6 +69,11 @@ posix_mkdir=
|
||||||
# Desired mode of installed file.
|
# Desired mode of installed file.
|
||||||
mode=0755
|
mode=0755
|
||||||
|
|
||||||
|
# Create dirs (including intermediate dirs) using mode 755.
|
||||||
|
# This is like GNU 'install' as of coreutils 8.32 (2020).
|
||||||
|
mkdir_umask=22
|
||||||
|
|
||||||
|
backupsuffix=
|
||||||
chgrpcmd=
|
chgrpcmd=
|
||||||
chmodcmd=$chmodprog
|
chmodcmd=$chmodprog
|
||||||
chowncmd=
|
chowncmd=
|
||||||
|
|
@ -99,18 +104,28 @@ Options:
|
||||||
--version display version info and exit.
|
--version display version info and exit.
|
||||||
|
|
||||||
-c (ignored)
|
-c (ignored)
|
||||||
-C install only if different (preserve the last data modification time)
|
-C install only if different (preserve data modification time)
|
||||||
-d create directories instead of installing files.
|
-d create directories instead of installing files.
|
||||||
-g GROUP $chgrpprog installed files to GROUP.
|
-g GROUP $chgrpprog installed files to GROUP.
|
||||||
-m MODE $chmodprog installed files to MODE.
|
-m MODE $chmodprog installed files to MODE.
|
||||||
-o USER $chownprog installed files to USER.
|
-o USER $chownprog installed files to USER.
|
||||||
|
-p pass -p to $cpprog.
|
||||||
-s $stripprog installed files.
|
-s $stripprog installed files.
|
||||||
|
-S SUFFIX attempt to back up existing files, with suffix SUFFIX.
|
||||||
-t DIRECTORY install into DIRECTORY.
|
-t DIRECTORY install into DIRECTORY.
|
||||||
-T report an error if DSTFILE is a directory.
|
-T report an error if DSTFILE is a directory.
|
||||||
|
|
||||||
Environment variables override the default commands:
|
Environment variables override the default commands:
|
||||||
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||||
RMPROG STRIPPROG
|
RMPROG STRIPPROG
|
||||||
|
|
||||||
|
By default, rm is invoked with -f; when overridden with RMPROG,
|
||||||
|
it's up to you to specify -f if you want it.
|
||||||
|
|
||||||
|
If -S is not specified, no backups are attempted.
|
||||||
|
|
||||||
|
Email bug reports to bug-automake@gnu.org.
|
||||||
|
Automake home page: https://www.gnu.org/software/automake/
|
||||||
"
|
"
|
||||||
|
|
||||||
while test $# -ne 0; do
|
while test $# -ne 0; do
|
||||||
|
|
@ -137,8 +152,13 @@ while test $# -ne 0; do
|
||||||
-o) chowncmd="$chownprog $2"
|
-o) chowncmd="$chownprog $2"
|
||||||
shift;;
|
shift;;
|
||||||
|
|
||||||
|
-p) cpprog="$cpprog -p";;
|
||||||
|
|
||||||
-s) stripcmd=$stripprog;;
|
-s) stripcmd=$stripprog;;
|
||||||
|
|
||||||
|
-S) backupsuffix="$2"
|
||||||
|
shift;;
|
||||||
|
|
||||||
-t)
|
-t)
|
||||||
is_target_a_directory=always
|
is_target_a_directory=always
|
||||||
dst_arg=$2
|
dst_arg=$2
|
||||||
|
|
@ -255,6 +275,10 @@ do
|
||||||
dstdir=$dst
|
dstdir=$dst
|
||||||
test -d "$dstdir"
|
test -d "$dstdir"
|
||||||
dstdir_status=$?
|
dstdir_status=$?
|
||||||
|
# Don't chown directories that already exist.
|
||||||
|
if test $dstdir_status = 0; then
|
||||||
|
chowncmd=""
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
|
|
||||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||||
|
|
@ -301,22 +325,6 @@ do
|
||||||
if test $dstdir_status != 0; then
|
if test $dstdir_status != 0; then
|
||||||
case $posix_mkdir in
|
case $posix_mkdir in
|
||||||
'')
|
'')
|
||||||
# Create intermediate dirs using mode 755 as modified by the umask.
|
|
||||||
# This is like FreeBSD 'install' as of 1997-10-28.
|
|
||||||
umask=`umask`
|
|
||||||
case $stripcmd.$umask in
|
|
||||||
# Optimize common cases.
|
|
||||||
*[2367][2367]) mkdir_umask=$umask;;
|
|
||||||
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
|
||||||
|
|
||||||
*[0-7])
|
|
||||||
mkdir_umask=`expr $umask + 22 \
|
|
||||||
- $umask % 100 % 40 + $umask % 20 \
|
|
||||||
- $umask % 10 % 4 + $umask % 2
|
|
||||||
`;;
|
|
||||||
*) mkdir_umask=$umask,go-w;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# With -d, create the new directory with the user-specified mode.
|
# With -d, create the new directory with the user-specified mode.
|
||||||
# Otherwise, rely on $mkdir_umask.
|
# Otherwise, rely on $mkdir_umask.
|
||||||
if test -n "$dir_arg"; then
|
if test -n "$dir_arg"; then
|
||||||
|
|
@ -326,22 +334,20 @@ do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
posix_mkdir=false
|
posix_mkdir=false
|
||||||
case $umask in
|
# The $RANDOM variable is not portable (e.g., dash). Use it
|
||||||
*[123567][0-7][0-7])
|
|
||||||
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
|
||||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
# Note that $RANDOM variable is not portable (e.g. dash); Use it
|
|
||||||
# here however when possible just to lower collision chance.
|
# here however when possible just to lower collision chance.
|
||||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||||
|
|
||||||
trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
|
trap '
|
||||||
|
ret=$?
|
||||||
|
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
|
||||||
|
exit $ret
|
||||||
|
' 0
|
||||||
|
|
||||||
# Because "mkdir -p" follows existing symlinks and we likely work
|
# Because "mkdir -p" follows existing symlinks and we likely work
|
||||||
# directly in world-writeable /tmp, make sure that the '$tmpdir'
|
# directly in world-writeable /tmp, make sure that the '$tmpdir'
|
||||||
# directory is successfully created first before we actually test
|
# directory is successfully created first before we actually test
|
||||||
# 'mkdir -p' feature.
|
# 'mkdir -p'.
|
||||||
if (umask $mkdir_umask &&
|
if (umask $mkdir_umask &&
|
||||||
$mkdirprog $mkdir_mode "$tmpdir" &&
|
$mkdirprog $mkdir_mode "$tmpdir" &&
|
||||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
|
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
|
||||||
|
|
@ -371,7 +377,6 @@ do
|
||||||
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
|
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
|
||||||
fi
|
fi
|
||||||
trap '' 0;;
|
trap '' 0;;
|
||||||
esac;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if
|
if
|
||||||
|
|
@ -382,7 +387,7 @@ do
|
||||||
then :
|
then :
|
||||||
else
|
else
|
||||||
|
|
||||||
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
# mkdir does not conform to POSIX,
|
||||||
# or it failed possibly due to a race condition. Create the
|
# or it failed possibly due to a race condition. Create the
|
||||||
# directory the slow way, step by step, checking for races as we go.
|
# directory the slow way, step by step, checking for races as we go.
|
||||||
|
|
||||||
|
|
@ -411,7 +416,7 @@ do
|
||||||
prefixes=
|
prefixes=
|
||||||
else
|
else
|
||||||
if $posix_mkdir; then
|
if $posix_mkdir; then
|
||||||
(umask=$mkdir_umask &&
|
(umask $mkdir_umask &&
|
||||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||||
# Don't fail if two instances are running concurrently.
|
# Don't fail if two instances are running concurrently.
|
||||||
test -d "$prefix" || exit 1
|
test -d "$prefix" || exit 1
|
||||||
|
|
@ -488,6 +493,13 @@ do
|
||||||
then
|
then
|
||||||
rm -f "$dsttmp"
|
rm -f "$dsttmp"
|
||||||
else
|
else
|
||||||
|
# If $backupsuffix is set, and the file being installed
|
||||||
|
# already exists, attempt a backup. Don't worry if it fails,
|
||||||
|
# e.g., if mv doesn't support -f.
|
||||||
|
if test -n "$backupsuffix" && test -f "$dst"; then
|
||||||
|
$doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
# Rename the file to the real destination.
|
# Rename the file to the real destination.
|
||||||
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||||
|
|
||||||
|
|
@ -502,9 +514,9 @@ do
|
||||||
# file should still install successfully.
|
# file should still install successfully.
|
||||||
{
|
{
|
||||||
test ! -f "$dst" ||
|
test ! -f "$dst" ||
|
||||||
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
$doit $rmcmd "$dst" 2>/dev/null ||
|
||||||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||||
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
{ $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
|
||||||
} ||
|
} ||
|
||||||
{ echo "$0: cannot unlink or rename $dst" >&2
|
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||||
(exit 1); exit 1
|
(exit 1); exit 1
|
||||||
|
|
|
||||||
|
|
@ -2124,7 +2124,7 @@ fi
|
||||||
# a configuration failure hint, and exit.
|
# a configuration failure hint, and exit.
|
||||||
func_fatal_configuration ()
|
func_fatal_configuration ()
|
||||||
{
|
{
|
||||||
func_fatal_error ${1+"$@"} \
|
func__fatal_error ${1+"$@"} \
|
||||||
"See the $PACKAGE documentation for more information." \
|
"See the $PACKAGE documentation for more information." \
|
||||||
"Fatal configuration error."
|
"Fatal configuration error."
|
||||||
}
|
}
|
||||||
|
|
@ -2415,17 +2415,10 @@ libtool_validate_options ()
|
||||||
# preserve --debug
|
# preserve --debug
|
||||||
test : = "$debug_cmd" || func_append preserve_args " --debug"
|
test : = "$debug_cmd" || func_append preserve_args " --debug"
|
||||||
|
|
||||||
case $host in
|
# Keeping compiler generated duplicates in $postdeps and $predeps is not
|
||||||
# Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
|
# harmful, and is necessary in a majority of systems that use it to satisfy
|
||||||
# see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
|
# symbol dependencies.
|
||||||
*cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
|
|
||||||
# don't eliminate duplications in $postdeps and $predeps
|
|
||||||
opt_duplicate_compiler_generated_deps=:
|
opt_duplicate_compiler_generated_deps=:
|
||||||
;;
|
|
||||||
*)
|
|
||||||
opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
$opt_help || {
|
$opt_help || {
|
||||||
# Sanity checks first:
|
# Sanity checks first:
|
||||||
|
|
@ -7272,12 +7265,10 @@ func_mode_link ()
|
||||||
# -tp=* Portland pgcc target processor selection
|
# -tp=* Portland pgcc target processor selection
|
||||||
# --sysroot=* for sysroot support
|
# --sysroot=* for sysroot support
|
||||||
# -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
|
# -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
|
||||||
# -specs=* GCC specs files
|
|
||||||
# -stdlib=* select c++ std lib with clang
|
# -stdlib=* select c++ std lib with clang
|
||||||
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
|
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
|
||||||
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
|
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
|
||||||
-O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
|
-O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
|
||||||
-specs=*)
|
|
||||||
func_quote_for_eval "$arg"
|
func_quote_for_eval "$arg"
|
||||||
arg=$func_quote_for_eval_result
|
arg=$func_quote_for_eval_result
|
||||||
func_append compile_command " $arg"
|
func_append compile_command " $arg"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
scriptversion=2018-03-07.03; # UTC
|
scriptversion=2018-03-07.03; # UTC
|
||||||
|
|
||||||
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
|
||||||
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
scriptversion=2018-03-07.03; # UTC
|
scriptversion=2018-03-07.03; # UTC
|
||||||
|
|
||||||
# Copyright (C) 2011-2020 Free Software Foundation, Inc.
|
# Copyright (C) 2011-2021 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|
@ -42,11 +42,13 @@ print_usage ()
|
||||||
{
|
{
|
||||||
cat <<END
|
cat <<END
|
||||||
Usage:
|
Usage:
|
||||||
test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
|
test-driver --test-name NAME --log-file PATH --trs-file PATH
|
||||||
[--expect-failure={yes|no}] [--color-tests={yes|no}]
|
[--expect-failure {yes|no}] [--color-tests {yes|no}]
|
||||||
[--enable-hard-errors={yes|no}] [--]
|
[--enable-hard-errors {yes|no}] [--]
|
||||||
TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
|
TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
|
||||||
|
|
||||||
The '--test-name', '--log-file' and '--trs-file' options are mandatory.
|
The '--test-name', '--log-file' and '--trs-file' options are mandatory.
|
||||||
|
See the GNU Automake documentation for information.
|
||||||
END
|
END
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -103,8 +105,11 @@ trap "st=130; $do_exit" 2
|
||||||
trap "st=141; $do_exit" 13
|
trap "st=141; $do_exit" 13
|
||||||
trap "st=143; $do_exit" 15
|
trap "st=143; $do_exit" 15
|
||||||
|
|
||||||
# Test script is run here.
|
# Test script is run here. We create the file first, then append to it,
|
||||||
"$@" >$log_file 2>&1
|
# to ameliorate tests themselves also writing to the log file. Our tests
|
||||||
|
# don't, but others can (automake bug#35762).
|
||||||
|
: >"$log_file"
|
||||||
|
"$@" >>"$log_file" 2>&1
|
||||||
estatus=$?
|
estatus=$?
|
||||||
|
|
||||||
if test $enable_hard_errors = no && test $estatus -eq 99; then
|
if test $enable_hard_errors = no && test $estatus -eq 99; then
|
||||||
|
|
@ -126,7 +131,7 @@ esac
|
||||||
# know whether the test passed or failed simply by looking at the '.log'
|
# know whether the test passed or failed simply by looking at the '.log'
|
||||||
# file, without the need of also peaking into the corresponding '.trs'
|
# file, without the need of also peaking into the corresponding '.trs'
|
||||||
# file (automake bug#11814).
|
# file (automake bug#11814).
|
||||||
echo "$res $test_name (exit status: $estatus)" >>$log_file
|
echo "$res $test_name (exit status: $estatus)" >>"$log_file"
|
||||||
|
|
||||||
# Report outcome to console.
|
# Report outcome to console.
|
||||||
echo "${col}${res}${std}: $test_name"
|
echo "${col}${res}${std}: $test_name"
|
||||||
|
|
|
||||||
103
config.h.in
103
config.h.in
|
|
@ -91,8 +91,8 @@
|
||||||
/* Define to 1 if you have the <linux/fsverity.h> header file. */
|
/* Define to 1 if you have the <linux/fsverity.h> header file. */
|
||||||
#undef HAVE_LINUX_FSVERITY_H
|
#undef HAVE_LINUX_FSVERITY_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
/* Define to 1 if you have the <minix/config.h> header file. */
|
||||||
#undef HAVE_MEMORY_H
|
#undef HAVE_MINIX_CONFIG_H
|
||||||
|
|
||||||
/* Define to 1 if you have the `mnt_unref_cache' function. */
|
/* Define to 1 if you have the `mnt_unref_cache' function. */
|
||||||
#undef HAVE_MNT_UNREF_CACHE
|
#undef HAVE_MNT_UNREF_CACHE
|
||||||
|
|
@ -109,6 +109,9 @@
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
#undef HAVE_STDINT_H
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdio.h> header file. */
|
||||||
|
#undef HAVE_STDIO_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
#undef HAVE_STDLIB_H
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
|
|
@ -138,6 +141,9 @@
|
||||||
/* Define to 1 if you have the <unistd.h> header file. */
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
#undef HAVE_UNISTD_H
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <wchar.h> header file. */
|
||||||
|
#undef HAVE_WCHAR_H
|
||||||
|
|
||||||
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
||||||
#undef LT_OBJDIR
|
#undef LT_OBJDIR
|
||||||
|
|
||||||
|
|
@ -162,7 +168,9 @@
|
||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#undef PACKAGE_VERSION
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
/* Define to 1 if all of the C90 standard headers exist (not just the ones
|
||||||
|
required in a freestanding environment). This macro is provided for
|
||||||
|
backward compatibility; new code need not use it. */
|
||||||
#undef STDC_HEADERS
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
/* "unit path" */
|
/* "unit path" */
|
||||||
|
|
@ -178,21 +186,87 @@
|
||||||
#ifndef _ALL_SOURCE
|
#ifndef _ALL_SOURCE
|
||||||
# undef _ALL_SOURCE
|
# undef _ALL_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
/* Enable general extensions on macOS. */
|
||||||
|
#ifndef _DARWIN_C_SOURCE
|
||||||
|
# undef _DARWIN_C_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Enable general extensions on Solaris. */
|
||||||
|
#ifndef __EXTENSIONS__
|
||||||
|
# undef __EXTENSIONS__
|
||||||
|
#endif
|
||||||
/* Enable GNU extensions on systems that have them. */
|
/* Enable GNU extensions on systems that have them. */
|
||||||
#ifndef _GNU_SOURCE
|
#ifndef _GNU_SOURCE
|
||||||
# undef _GNU_SOURCE
|
# undef _GNU_SOURCE
|
||||||
#endif
|
#endif
|
||||||
/* Enable threading extensions on Solaris. */
|
/* Enable X/Open compliant socket functions that do not require linking
|
||||||
|
with -lxnet on HP-UX 11.11. */
|
||||||
|
#ifndef _HPUX_ALT_XOPEN_SOCKET_API
|
||||||
|
# undef _HPUX_ALT_XOPEN_SOCKET_API
|
||||||
|
#endif
|
||||||
|
/* Identify the host operating system as Minix.
|
||||||
|
This macro does not affect the system headers' behavior.
|
||||||
|
A future release of Autoconf may stop defining this macro. */
|
||||||
|
#ifndef _MINIX
|
||||||
|
# undef _MINIX
|
||||||
|
#endif
|
||||||
|
/* Enable general extensions on NetBSD.
|
||||||
|
Enable NetBSD compatibility extensions on Minix. */
|
||||||
|
#ifndef _NETBSD_SOURCE
|
||||||
|
# undef _NETBSD_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Enable OpenBSD compatibility extensions on NetBSD.
|
||||||
|
Oddly enough, this does nothing on OpenBSD. */
|
||||||
|
#ifndef _OPENBSD_SOURCE
|
||||||
|
# undef _OPENBSD_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Define to 1 if needed for POSIX-compatible behavior. */
|
||||||
|
#ifndef _POSIX_SOURCE
|
||||||
|
# undef _POSIX_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Define to 2 if needed for POSIX-compatible behavior. */
|
||||||
|
#ifndef _POSIX_1_SOURCE
|
||||||
|
# undef _POSIX_1_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Enable POSIX-compatible threading on Solaris. */
|
||||||
#ifndef _POSIX_PTHREAD_SEMANTICS
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||||
# undef _POSIX_PTHREAD_SEMANTICS
|
# undef _POSIX_PTHREAD_SEMANTICS
|
||||||
#endif
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
|
||||||
|
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
|
||||||
|
# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
|
||||||
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
|
||||||
|
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
|
||||||
|
# undef __STDC_WANT_IEC_60559_BFP_EXT__
|
||||||
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
|
||||||
|
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
|
||||||
|
# undef __STDC_WANT_IEC_60559_DFP_EXT__
|
||||||
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
|
||||||
|
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
|
||||||
|
# undef __STDC_WANT_IEC_60559_FUNCS_EXT__
|
||||||
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
|
||||||
|
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
|
||||||
|
# undef __STDC_WANT_IEC_60559_TYPES_EXT__
|
||||||
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
|
||||||
|
#ifndef __STDC_WANT_LIB_EXT2__
|
||||||
|
# undef __STDC_WANT_LIB_EXT2__
|
||||||
|
#endif
|
||||||
|
/* Enable extensions specified by ISO/IEC 24747:2009. */
|
||||||
|
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
|
||||||
|
# undef __STDC_WANT_MATH_SPEC_FUNCS__
|
||||||
|
#endif
|
||||||
/* Enable extensions on HP NonStop. */
|
/* Enable extensions on HP NonStop. */
|
||||||
#ifndef _TANDEM_SOURCE
|
#ifndef _TANDEM_SOURCE
|
||||||
# undef _TANDEM_SOURCE
|
# undef _TANDEM_SOURCE
|
||||||
#endif
|
#endif
|
||||||
/* Enable general extensions on Solaris. */
|
/* Enable X/Open extensions. Define to 500 only if necessary
|
||||||
#ifndef __EXTENSIONS__
|
to make mbstate_t available. */
|
||||||
# undef __EXTENSIONS__
|
#ifndef _XOPEN_SOURCE
|
||||||
|
# undef _XOPEN_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -202,23 +276,8 @@
|
||||||
/* Define if we have smack.pc */
|
/* Define if we have smack.pc */
|
||||||
#undef WITH_SMACK
|
#undef WITH_SMACK
|
||||||
|
|
||||||
/* Enable large inode numbers on Mac OS X 10.5. */
|
|
||||||
#ifndef _DARWIN_USE_64_BIT_INODE
|
|
||||||
# define _DARWIN_USE_64_BIT_INODE 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||||
#undef _FILE_OFFSET_BITS
|
#undef _FILE_OFFSET_BITS
|
||||||
|
|
||||||
/* Define for large files, on AIX-style hosts. */
|
/* Define for large files, on AIX-style hosts. */
|
||||||
#undef _LARGE_FILES
|
#undef _LARGE_FILES
|
||||||
|
|
||||||
/* Define to 1 if on MINIX. */
|
|
||||||
#undef _MINIX
|
|
||||||
|
|
||||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
|
||||||
this defined. */
|
|
||||||
#undef _POSIX_1_SOURCE
|
|
||||||
|
|
||||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
|
||||||
#undef _POSIX_SOURCE
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
AC_PREREQ([2.63])
|
AC_PREREQ([2.63])
|
||||||
dnl To perform a release, follow the instructions in `docs/CONTRIBUTING.md`.
|
dnl To perform a release, follow the instructions in `docs/CONTRIBUTING.md`.
|
||||||
m4_define([year_version], [2022])
|
m4_define([year_version], [2022])
|
||||||
m4_define([release_version], [3])
|
m4_define([release_version], [4])
|
||||||
m4_define([package_version], [year_version.release_version])
|
m4_define([package_version], [year_version.release_version])
|
||||||
AC_INIT([libostree], [package_version], [walters@verbum.org])
|
AC_INIT([libostree], [package_version], [walters@verbum.org])
|
||||||
is_release_build=yes
|
is_release_build=yes
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ glnx_console_lines (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
on_sigwinch (int signum)
|
on_sigwinch (G_GNUC_UNUSED int signum)
|
||||||
{
|
{
|
||||||
cached_columns = 0;
|
cached_columns = 0;
|
||||||
cached_lines = 0;
|
cached_lines = 0;
|
||||||
|
|
|
||||||
|
|
@ -229,7 +229,7 @@ open_tmpfile_core (int dfd, const char *subpath,
|
||||||
const guint count_max = 100;
|
const guint count_max = 100;
|
||||||
{ g_autofree char *tmp = g_strconcat (subpath, "/tmp.XXXXXX", NULL);
|
{ g_autofree char *tmp = g_strconcat (subpath, "/tmp.XXXXXX", NULL);
|
||||||
|
|
||||||
for (int count = 0; count < count_max; count++)
|
for (guint count = 0; count < count_max; count++)
|
||||||
{
|
{
|
||||||
glnx_gen_temp_name (tmp);
|
glnx_gen_temp_name (tmp);
|
||||||
|
|
||||||
|
|
@ -660,7 +660,7 @@ glnx_file_get_contents_utf8_at (int dfd,
|
||||||
char *
|
char *
|
||||||
glnx_readlinkat_malloc (int dfd,
|
glnx_readlinkat_malloc (int dfd,
|
||||||
const char *subpath,
|
const char *subpath,
|
||||||
GCancellable *cancellable,
|
G_GNUC_UNUSED GCancellable *cancellable,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
dfd = glnx_dirfd_canonicalize (dfd);
|
dfd = glnx_dirfd_canonicalize (dfd);
|
||||||
|
|
@ -1106,7 +1106,7 @@ glnx_file_replace_contents_with_perms_at (int dfd,
|
||||||
uid_t uid,
|
uid_t uid,
|
||||||
gid_t gid,
|
gid_t gid,
|
||||||
GLnxFileReplaceFlags flags,
|
GLnxFileReplaceFlags flags,
|
||||||
GCancellable *cancellable,
|
G_GNUC_UNUSED GCancellable *cancellable,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
char *dnbuf = strdupa (subpath);
|
char *dnbuf = strdupa (subpath);
|
||||||
|
|
@ -1130,7 +1130,7 @@ glnx_file_replace_contents_with_perms_at (int dfd,
|
||||||
&tmpf, error))
|
&tmpf, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (len == -1)
|
if (len == (gsize) -1)
|
||||||
len = strlen ((char*)buf);
|
len = strlen ((char*)buf);
|
||||||
|
|
||||||
if (!glnx_try_fallocate (tmpf.fd, 0, len, error))
|
if (!glnx_try_fallocate (tmpf.fd, 0, len, error))
|
||||||
|
|
|
||||||
|
|
@ -209,6 +209,7 @@ int glnx_renameat2_noreplace (int olddirfd, const char *oldpath,
|
||||||
int glnx_renameat2_exchange (int olddirfd, const char *oldpath,
|
int glnx_renameat2_exchange (int olddirfd, const char *oldpath,
|
||||||
int newdirfd, const char *newpath);
|
int newdirfd, const char *newpath);
|
||||||
|
|
||||||
|
#ifdef _GNU_SOURCE
|
||||||
/**
|
/**
|
||||||
* glnx_try_fallocate:
|
* glnx_try_fallocate:
|
||||||
* @fd: File descriptor
|
* @fd: File descriptor
|
||||||
|
|
@ -240,6 +241,7 @@ glnx_try_fallocate (int fd,
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* glnx_fstat:
|
* glnx_fstat:
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@ static gboolean
|
||||||
get_xattrs_impl (const char *path,
|
get_xattrs_impl (const char *path,
|
||||||
int fd,
|
int fd,
|
||||||
GVariant **out_xattrs,
|
GVariant **out_xattrs,
|
||||||
GCancellable *cancellable,
|
G_GNUC_UNUSED GCancellable *cancellable,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
|
|
@ -269,7 +269,7 @@ glnx_dfd_name_get_all_xattrs (int dfd,
|
||||||
static gboolean
|
static gboolean
|
||||||
set_all_xattrs_for_path (const char *path,
|
set_all_xattrs_for_path (const char *path,
|
||||||
GVariant *xattrs,
|
GVariant *xattrs,
|
||||||
GCancellable *cancellable,
|
G_GNUC_UNUSED GCancellable *cancellable,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
const guint n = g_variant_n_children (xattrs);
|
const guint n = g_variant_n_children (xattrs);
|
||||||
|
|
@ -337,7 +337,7 @@ glnx_dfd_name_set_all_xattrs (int dfd,
|
||||||
gboolean
|
gboolean
|
||||||
glnx_fd_set_all_xattrs (int fd,
|
glnx_fd_set_all_xattrs (int fd,
|
||||||
GVariant *xattrs,
|
GVariant *xattrs,
|
||||||
GCancellable *cancellable,
|
G_GNUC_UNUSED GCancellable *cancellable,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
const guint n = g_variant_n_children (xattrs);
|
const guint n = g_variant_n_children (xattrs);
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ do_write_run (GLnxDirFdIterator *dfd_iter, GError **error)
|
||||||
if (!glnx_fd_get_all_xattrs (fd, ¤t_xattrs, NULL, error))
|
if (!glnx_fd_get_all_xattrs (fd, ¤t_xattrs, NULL, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
for (int i = 0; i < g_variant_n_children (current_xattrs); i++)
|
for (size_t i = 0; i < g_variant_n_children (current_xattrs); i++)
|
||||||
{
|
{
|
||||||
const char *name, *value;
|
const char *name, *value;
|
||||||
g_variant_get_child (current_xattrs, i, "(^&ay^&ay)", &name, &value);
|
g_variant_get_child (current_xattrs, i, "(^&ay^&ay)", &name, &value);
|
||||||
|
|
@ -182,7 +182,7 @@ xattr_thread (gpointer data)
|
||||||
g_autoptr(GError) local_error = NULL;
|
g_autoptr(GError) local_error = NULL;
|
||||||
GError **error = &local_error;
|
GError **error = &local_error;
|
||||||
struct XattrWorker *worker = data;
|
struct XattrWorker *worker = data;
|
||||||
guint64 end_time = g_get_monotonic_time () + XATTR_THREAD_RUN_TIME_USECS;
|
gint64 end_time = g_get_monotonic_time () + XATTR_THREAD_RUN_TIME_USECS;
|
||||||
guint n_read = 0;
|
guint n_read = 0;
|
||||||
|
|
||||||
while (g_get_monotonic_time () < end_time)
|
while (g_get_monotonic_time () < end_time)
|
||||||
|
|
|
||||||
|
|
@ -66,18 +66,16 @@ License along with this library. If not, see <https://www.gnu.org/licenses/>.
|
||||||
<title>Subcommands</title>
|
<title>Subcommands</title>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
|
<cmdsynopsis><command>selinux-ensure-labeled</command> <arg choice="opt">SUBPATH PREFIX</arg></cmdsynopsis>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><cmdsynopsis><command>selinux-ensure-labeled</command> <arg choice="opt">SUBPATH PREFIX</arg></cmdsynopsis></term>
|
|
||||||
|
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Ensure all files and directories are labeled according to SELinux policy of the first deployment.
|
Ensure all files and directories are labeled according to SELinux policy of the first deployment.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
<variablelist>
|
||||||
|
<cmdsynopsis><command>set-kargs</command> <arg choice="opt">--merge</arg> <arg choice="opt">--import-proc-cmdline</arg> <arg choice="opt">--append="NAME=VALUE"</arg> <arg choice="opt">--replace="NAME=VALUE"</arg> <arg choice="opt">MORE_APPEND_ARGS</arg></cmdsynopsis>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><cmdsynopsis>
|
|
||||||
<command>set-kargs</command> <arg choice="opt">--merge</arg> <arg choice="opt">--import-proc-cmdline</arg> <arg choice="opt">--append="NAME=VALUE"</arg> <arg choice="opt">--replace="NAME=VALUE"</arg> <arg choice="opt">MORE_APPEND_ARGS</arg></cmdsynopsis></term>
|
|
||||||
|
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Replace the kernel arguments of the default deployment. The new arguments are based
|
Replace the kernel arguments of the default deployment. The new arguments are based
|
||||||
on an empty list (the default), the current options (--merge), or the arguments
|
on an empty list (the default), the current options (--merge), or the arguments
|
||||||
|
|
|
||||||
|
|
@ -404,6 +404,17 @@ License along with this library. If not, see <https://www.gnu.org/licenses/>.
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><varname>bls-append-except-default</varname></term>
|
||||||
|
<listitem><para>A semicolon seperated string list of key-value pairs. For example:
|
||||||
|
<literal>bls-append-except-default=key1=value1;key2=value2</literal>. These key-value
|
||||||
|
pairs will be injected into the generated BLS fragments of the non-default deployments.
|
||||||
|
In other words, the BLS fragment of the default deployment will be unaffected by
|
||||||
|
<literal>bls-append-except-default</literal>.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Stub section for the stable release *after* this development one; don't
|
/* Stub section for the stable release *after* this development one; don't
|
||||||
* edit this other than to update the year. This is just a copy/paste
|
* edit this other than to update the year. This is just a copy/paste
|
||||||
* source. Replace $LASTSTABLE with the last stable version, and $NEWVERSION
|
* source. Replace $LASTSTABLE with the last stable version, and $NEWVERSION
|
||||||
|
|
|
||||||
|
|
@ -677,6 +677,12 @@ global:
|
||||||
ostree_repo_traverse_commit_with_flags;
|
ostree_repo_traverse_commit_with_flags;
|
||||||
} LIBOSTREE_2021.5;
|
} LIBOSTREE_2021.5;
|
||||||
|
|
||||||
|
LIBOSTREE_2022.4 {
|
||||||
|
global:
|
||||||
|
ostree_fs_get_all_xattrs;
|
||||||
|
ostree_fs_get_all_xattrs_at;
|
||||||
|
} LIBOSTREE_2021.5;
|
||||||
|
|
||||||
/* NOTE: Only add more content here in release commits! See the
|
/* NOTE: Only add more content here in release commits! See the
|
||||||
* comments at the top of this file.
|
* comments at the top of this file.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -21,12 +21,18 @@
|
||||||
#include "ostree-bootloader-zipl.h"
|
#include "ostree-bootloader-zipl.h"
|
||||||
#include "ostree-deployment-private.h"
|
#include "ostree-deployment-private.h"
|
||||||
#include "otutil.h"
|
#include "otutil.h"
|
||||||
|
#include <sys/mount.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#define SECURE_EXECUTION_BOOT_IMAGE "/boot/sd-boot"
|
#define SECURE_EXECUTION_SYSFS_FLAG "/sys/firmware/uv/prot_virt_guest"
|
||||||
|
#define SECURE_EXECUTION_PARTITION "/dev/disk/by-label/se"
|
||||||
|
#define SECURE_EXECUTION_MOUNTPOINT "/sysroot/se"
|
||||||
|
#define SECURE_EXECUTION_BOOT_IMAGE SECURE_EXECUTION_MOUNTPOINT "/sd-boot"
|
||||||
#define SECURE_EXECUTION_HOSTKEY_PATH "/etc/se-hostkeys/"
|
#define SECURE_EXECUTION_HOSTKEY_PATH "/etc/se-hostkeys/"
|
||||||
#define SECURE_EXECUTION_HOSTKEY_PREFIX "ibm-z-hostkey"
|
#define SECURE_EXECUTION_HOSTKEY_PREFIX "ibm-z-hostkey"
|
||||||
#define SECURE_EXECUTION_LUKS_ROOT_KEY "/etc/luks/root"
|
#define SECURE_EXECUTION_LUKS_ROOT_KEY "/etc/luks/root"
|
||||||
|
#define SECURE_EXECUTION_LUKS_BOOT_KEY "/etc/luks/boot"
|
||||||
#define SECURE_EXECUTION_LUKS_CONFIG "/etc/crypttab"
|
#define SECURE_EXECUTION_LUKS_CONFIG "/etc/crypttab"
|
||||||
#define SECURE_EXECUTION_RAMDISK_TOOL PKGLIBEXECDIR "/s390x-se-luks-gencpio"
|
#define SECURE_EXECUTION_RAMDISK_TOOL PKGLIBEXECDIR "/s390x-se-luks-gencpio"
|
||||||
|
|
||||||
|
|
@ -67,6 +73,25 @@ _ostree_bootloader_zipl_get_name (OstreeBootloader *bootloader)
|
||||||
return "zipl";
|
return "zipl";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static gboolean
|
||||||
|
_ostree_secure_execution_mount(GError **error)
|
||||||
|
{
|
||||||
|
const char *device = realpath (SECURE_EXECUTION_PARTITION, NULL);
|
||||||
|
if (device == NULL)
|
||||||
|
return glnx_throw_errno_prefix(error, "s390x SE: resolving %s", SECURE_EXECUTION_PARTITION);
|
||||||
|
if (mount (device, SECURE_EXECUTION_MOUNTPOINT, "ext4", 0, NULL) < 0)
|
||||||
|
return glnx_throw_errno_prefix (error, "s390x SE: Mounting %s", device);
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static gboolean
|
||||||
|
_ostree_secure_execution_umount(GError **error)
|
||||||
|
{
|
||||||
|
if (umount (SECURE_EXECUTION_MOUNTPOINT) < 0)
|
||||||
|
return glnx_throw_errno_prefix (error, "s390x SE: Unmounting %s", SECURE_EXECUTION_MOUNTPOINT);
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
_ostree_bootloader_zipl_write_config (OstreeBootloader *bootloader,
|
_ostree_bootloader_zipl_write_config (OstreeBootloader *bootloader,
|
||||||
int bootversion,
|
int bootversion,
|
||||||
|
|
@ -85,6 +110,23 @@ _ostree_bootloader_zipl_write_config (OstreeBootloader *bootloader,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static gboolean _ostree_secure_execution_is_enabled (gboolean *out_enabled,
|
||||||
|
GCancellable *cancellable,
|
||||||
|
GError **error)
|
||||||
|
{
|
||||||
|
*out_enabled = FALSE;
|
||||||
|
glnx_autofd int fd = -1;
|
||||||
|
if (!ot_openat_ignore_enoent (AT_FDCWD, SECURE_EXECUTION_SYSFS_FLAG, &fd, error))
|
||||||
|
return FALSE;
|
||||||
|
if (fd == -1)
|
||||||
|
return TRUE; //ENOENT --> SecureExecution is disabled
|
||||||
|
g_autofree char *data = glnx_fd_readall_utf8 (fd, NULL, cancellable, error);
|
||||||
|
if (!data)
|
||||||
|
return FALSE;
|
||||||
|
*out_enabled = strstr (data, "1") != NULL;
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
_ostree_secure_execution_get_keys (GPtrArray **keys,
|
_ostree_secure_execution_get_keys (GPtrArray **keys,
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
|
|
@ -152,8 +194,8 @@ _ostree_secure_execution_get_bls_config (OstreeBootloaderZipl *self,
|
||||||
static gboolean
|
static gboolean
|
||||||
_ostree_secure_execution_luks_key_exists (void)
|
_ostree_secure_execution_luks_key_exists (void)
|
||||||
{
|
{
|
||||||
return (access(SECURE_EXECUTION_LUKS_ROOT_KEY, F_OK) == 0 &&
|
return (access(SECURE_EXECUTION_LUKS_CONFIG, F_OK) == 0 &&
|
||||||
access(SECURE_EXECUTION_LUKS_CONFIG, F_OK) == 0);
|
(access(SECURE_EXECUTION_LUKS_ROOT_KEY, F_OK) == 0 || access(SECURE_EXECUTION_LUKS_BOOT_KEY, F_OK) == 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
@ -250,7 +292,7 @@ static gboolean
|
||||||
_ostree_secure_execution_call_zipl (GError **error)
|
_ostree_secure_execution_call_zipl (GError **error)
|
||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
const char *const zipl_argv[] = {"zipl", "-V", "-t", "/boot", "-i", SECURE_EXECUTION_BOOT_IMAGE, NULL};
|
const char *const zipl_argv[] = {"zipl", "-V", "-t", SECURE_EXECUTION_MOUNTPOINT, "-i", SECURE_EXECUTION_BOOT_IMAGE, NULL};
|
||||||
if (!g_spawn_sync (NULL, (char**)zipl_argv, NULL, G_SPAWN_SEARCH_PATH,
|
if (!g_spawn_sync (NULL, (char**)zipl_argv, NULL, G_SPAWN_SEARCH_PATH,
|
||||||
NULL, NULL, NULL, NULL, &status, error))
|
NULL, NULL, NULL, NULL, &status, error))
|
||||||
return glnx_prefix_error(error, "s390x SE: spawning zipl");
|
return glnx_prefix_error(error, "s390x SE: spawning zipl");
|
||||||
|
|
@ -274,9 +316,11 @@ _ostree_secure_execution_enable (OstreeBootloaderZipl *self,
|
||||||
g_autofree gchar* options = NULL;
|
g_autofree gchar* options = NULL;
|
||||||
|
|
||||||
gboolean rc =
|
gboolean rc =
|
||||||
|
_ostree_secure_execution_mount (error) &&
|
||||||
_ostree_secure_execution_get_bls_config (self, bootversion, &vmlinuz, &initramfs, &options, cancellable, error) &&
|
_ostree_secure_execution_get_bls_config (self, bootversion, &vmlinuz, &initramfs, &options, cancellable, error) &&
|
||||||
_ostree_secure_execution_generate_sdboot (vmlinuz, initramfs, options, keys, error) &&
|
_ostree_secure_execution_generate_sdboot (vmlinuz, initramfs, options, keys, error) &&
|
||||||
_ostree_secure_execution_call_zipl (error);
|
_ostree_secure_execution_call_zipl (error) &&
|
||||||
|
_ostree_secure_execution_umount (error);
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
@ -303,12 +347,18 @@ _ostree_bootloader_zipl_post_bls_sync (OstreeBootloader *bootloader,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
/* Try with Secure Execution */
|
/* Try with Secure Execution */
|
||||||
|
gboolean se_enabled = FALSE;
|
||||||
|
if ( !_ostree_secure_execution_is_enabled (&se_enabled, cancellable, error))
|
||||||
|
return FALSE;
|
||||||
|
if (se_enabled)
|
||||||
|
{
|
||||||
g_autoptr(GPtrArray) keys = NULL;
|
g_autoptr(GPtrArray) keys = NULL;
|
||||||
if (!_ostree_secure_execution_get_keys (&keys, cancellable, error))
|
if (!_ostree_secure_execution_get_keys (&keys, cancellable, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if (keys && keys->len)
|
if (!keys || keys->len == 0)
|
||||||
|
return glnx_throw (error, "s390x SE: no keys");
|
||||||
return _ostree_secure_execution_enable (self, bootversion, keys, cancellable, error);
|
return _ostree_secure_execution_enable (self, bootversion, keys, cancellable, error);
|
||||||
|
}
|
||||||
/* Fallback to non-SE setup */
|
/* Fallback to non-SE setup */
|
||||||
const char *const zipl_argv[] = {"zipl", NULL};
|
const char *const zipl_argv[] = {"zipl", NULL};
|
||||||
int estatus;
|
int estatus;
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "ostree-cmdprivate.h"
|
#include "ostree-cmd-private.h"
|
||||||
#include "ostree-repo-private.h"
|
#include "ostree-repo-private.h"
|
||||||
#include "ostree-core-private.h"
|
#include "ostree-core-private.h"
|
||||||
#include "ostree-repo-static-delta-private.h"
|
#include "ostree-repo-static-delta-private.h"
|
||||||
|
|
@ -836,6 +836,51 @@ gboolean ostree_break_hardlink (int dfd,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ostree_fs_get_all_xattrs:
|
||||||
|
* @fd: File descriptor
|
||||||
|
* @cancellable: Cancellable
|
||||||
|
* @error: Error
|
||||||
|
*
|
||||||
|
* Retrieve all extended attributes in a canonical (sorted) order from
|
||||||
|
* the given file descriptor.
|
||||||
|
*
|
||||||
|
* Returns: (transfer full): A GVariant of type `a(ayay)`
|
||||||
|
*/
|
||||||
|
GVariant *
|
||||||
|
ostree_fs_get_all_xattrs (int fd, GCancellable *cancellable, GError **error)
|
||||||
|
{
|
||||||
|
GVariant *ret = NULL;
|
||||||
|
if (!glnx_fd_get_all_xattrs (fd, &ret, cancellable, error))
|
||||||
|
return NULL;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ostree_fs_get_all_xattrs_at:
|
||||||
|
* @dfd: Directory file descriptor
|
||||||
|
* @path: Filesystem path
|
||||||
|
* @cancellable: Cancellable
|
||||||
|
* @error: Error
|
||||||
|
*
|
||||||
|
* Retrieve all extended attributes in a canonical (sorted) order from
|
||||||
|
* the given path, relative to the provided directory file descriptor.
|
||||||
|
* The target path will not be dereferenced. Currently on Linux, this
|
||||||
|
* API must be used currently to retrieve extended attributes
|
||||||
|
* for symbolic links because while `O_PATH` exists, it cannot be used
|
||||||
|
* with `fgetxattr()`.
|
||||||
|
*
|
||||||
|
* Returns: (transfer full): A GVariant of type `a(ayay)`
|
||||||
|
*/
|
||||||
|
GVariant *
|
||||||
|
ostree_fs_get_all_xattrs_at (int dfd, const char *path, GCancellable *cancellable, GError **error)
|
||||||
|
{
|
||||||
|
GVariant *ret = NULL;
|
||||||
|
if (!glnx_dfd_name_get_all_xattrs (dfd, path, &ret, cancellable, error))
|
||||||
|
return NULL;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ostree_checksum_file_from_input:
|
* ostree_checksum_file_from_input:
|
||||||
* @file_info: File information
|
* @file_info: File information
|
||||||
|
|
@ -928,8 +973,8 @@ ostree_checksum_file (GFile *f,
|
||||||
g_autoptr(GVariant) xattrs = NULL;
|
g_autoptr(GVariant) xattrs = NULL;
|
||||||
if (objtype == OSTREE_OBJECT_TYPE_FILE)
|
if (objtype == OSTREE_OBJECT_TYPE_FILE)
|
||||||
{
|
{
|
||||||
if (!glnx_dfd_name_get_all_xattrs (AT_FDCWD, gs_file_get_path_cached (f),
|
xattrs = ostree_fs_get_all_xattrs_at (AT_FDCWD, gs_file_get_path_cached (f), cancellable, error);
|
||||||
&xattrs, cancellable, error))
|
if (!xattrs)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -464,6 +464,12 @@ gboolean ostree_break_hardlink (int dfd,
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
|
_OSTREE_PUBLIC
|
||||||
|
GVariant *ostree_fs_get_all_xattrs (int fd, GCancellable *cancellable, GError **error);
|
||||||
|
|
||||||
|
_OSTREE_PUBLIC
|
||||||
|
GVariant *ostree_fs_get_all_xattrs_at (int dfd, const char *path, GCancellable *cancellable, GError **error);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OstreeChecksumFlags:
|
* OstreeChecksumFlags:
|
||||||
* @OSTREE_CHECKSUM_FLAGS_NONE: Default checksumming without tweaks.
|
* @OSTREE_CHECKSUM_FLAGS_NONE: Default checksumming without tweaks.
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "ostree.h"
|
#include "ostree.h"
|
||||||
#include "ostree-core-private.h"
|
#include "ostree-core-private.h"
|
||||||
#include "ostree-cmdprivate.h"
|
#include "ostree-cmd-private.h"
|
||||||
|
|
||||||
#ifdef HAVE_LIBMOUNT
|
#ifdef HAVE_LIBMOUNT
|
||||||
typedef FILE OtLibMountFile;
|
typedef FILE OtLibMountFile;
|
||||||
|
|
|
||||||
|
|
@ -403,8 +403,8 @@ ostree_mutable_tree_ensure_dir (OstreeMutableTree *self,
|
||||||
* ostree_mutable_tree_lookup:
|
* ostree_mutable_tree_lookup:
|
||||||
* @self: Tree
|
* @self: Tree
|
||||||
* @name: name
|
* @name: name
|
||||||
* @out_file_checksum: (out) (transfer full): checksum
|
* @out_file_checksum: (out) (transfer full) (nullable) (optional): checksum
|
||||||
* @out_subdir: (out) (transfer full): subdirectory
|
* @out_subdir: (out) (transfer full) (nullable) (optional): subdirectory
|
||||||
* @error: a #GError
|
* @error: a #GError
|
||||||
*/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
|
|
|
||||||
|
|
@ -3436,14 +3436,15 @@ get_final_xattrs (OstreeRepo *self,
|
||||||
else if (dfd_subpath == NULL)
|
else if (dfd_subpath == NULL)
|
||||||
{
|
{
|
||||||
g_assert (dfd != -1);
|
g_assert (dfd != -1);
|
||||||
if (!glnx_fd_get_all_xattrs (dfd, &original_xattrs, cancellable, error))
|
original_xattrs = ostree_fs_get_all_xattrs (dfd, cancellable, error);
|
||||||
|
if (!original_xattrs)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_assert (dfd != -1);
|
g_assert (dfd != -1);
|
||||||
if (!glnx_dfd_name_get_all_xattrs (dfd, dfd_subpath, &original_xattrs,
|
original_xattrs = ostree_fs_get_all_xattrs_at (dfd, dfd_subpath, cancellable, error);
|
||||||
cancellable, error))
|
if (!original_xattrs)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -4641,8 +4642,8 @@ import_one_object_direct (OstreeRepo *dest_repo,
|
||||||
if (src_repo->mode == OSTREE_REPO_MODE_BARE)
|
if (src_repo->mode == OSTREE_REPO_MODE_BARE)
|
||||||
{
|
{
|
||||||
g_autoptr(GVariant) xattrs = NULL;
|
g_autoptr(GVariant) xattrs = NULL;
|
||||||
if (!glnx_fd_get_all_xattrs (src_fd, &xattrs,
|
xattrs = ostree_fs_get_all_xattrs (src_fd, cancellable, error);
|
||||||
cancellable, error))
|
if (!xattrs)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if (!glnx_fd_set_all_xattrs (tmp_dest.fd, xattrs,
|
if (!glnx_fd_set_all_xattrs (tmp_dest.fd, xattrs,
|
||||||
cancellable, error))
|
cancellable, error))
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
#include "ostree-core-private.h"
|
#include "ostree-core-private.h"
|
||||||
#include "ostree-repo-private.h"
|
#include "ostree-repo-private.h"
|
||||||
#include "ostree-lzma-decompressor.h"
|
#include "ostree-lzma-decompressor.h"
|
||||||
#include "ostree-cmdprivate.h"
|
#include "ostree-cmd-private.h"
|
||||||
#include "ostree-checksum-input-stream.h"
|
#include "ostree-checksum-input-stream.h"
|
||||||
#include "ostree-repo-static-delta-private.h"
|
#include "ostree-repo-static-delta-private.h"
|
||||||
#include "otutil.h"
|
#include "otutil.h"
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@
|
||||||
#include <gio/gunixoutputstream.h>
|
#include <gio/gunixoutputstream.h>
|
||||||
#include <gio/gfiledescriptorbased.h>
|
#include <gio/gfiledescriptorbased.h>
|
||||||
#include "libglnx.h"
|
#include "libglnx.h"
|
||||||
|
#include "ostree-core.h"
|
||||||
#include "otutil.h"
|
#include "otutil.h"
|
||||||
#include <glnx-console.h>
|
#include <glnx-console.h>
|
||||||
#include <linux/magic.h>
|
#include <linux/magic.h>
|
||||||
|
|
@ -4345,10 +4346,13 @@ _ostree_repo_load_file_bare (OstreeRepo *self,
|
||||||
{
|
{
|
||||||
if (self->disable_xattrs)
|
if (self->disable_xattrs)
|
||||||
ret_xattrs = g_variant_ref_sink (g_variant_new_array (G_VARIANT_TYPE ("(ayay)"), NULL, 0));
|
ret_xattrs = g_variant_ref_sink (g_variant_new_array (G_VARIANT_TYPE ("(ayay)"), NULL, 0));
|
||||||
else if (!glnx_fd_get_all_xattrs (fd, &ret_xattrs,
|
else
|
||||||
cancellable, error))
|
{
|
||||||
|
ret_xattrs = ostree_fs_get_all_xattrs (fd, cancellable, error);
|
||||||
|
if (!ret_xattrs)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (S_ISLNK (stbuf.st_mode) && out_xattrs)
|
else if (S_ISLNK (stbuf.st_mode) && out_xattrs)
|
||||||
{
|
{
|
||||||
if (self->disable_xattrs)
|
if (self->disable_xattrs)
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
#include <gio/gunixinputstream.h>
|
#include <gio/gunixinputstream.h>
|
||||||
#include <gio/gunixoutputstream.h>
|
#include <gio/gunixoutputstream.h>
|
||||||
#include <glib-unix.h>
|
#include <glib-unix.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#include <sys/statvfs.h>
|
#include <sys/statvfs.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
@ -2081,6 +2082,50 @@ install_deployment_kernel (OstreeSysroot *sysroot,
|
||||||
g_autofree char *options_key = ostree_kernel_args_to_string (kargs);
|
g_autofree char *options_key = ostree_kernel_args_to_string (kargs);
|
||||||
ostree_bootconfig_parser_set (bootconfig, "options", options_key);
|
ostree_bootconfig_parser_set (bootconfig, "options", options_key);
|
||||||
|
|
||||||
|
g_autoptr(GError) local_error = NULL;
|
||||||
|
GKeyFile *config = ostree_repo_get_config (repo);
|
||||||
|
gchar **read_values = g_key_file_get_string_list (config, "sysroot", "bls-append-except-default", NULL, &local_error);
|
||||||
|
/* We can ignore not found errors */
|
||||||
|
if (!read_values)
|
||||||
|
{
|
||||||
|
gboolean not_found = g_error_matches (local_error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_KEY_NOT_FOUND) || \
|
||||||
|
g_error_matches (local_error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_GROUP_NOT_FOUND);
|
||||||
|
if (not_found)
|
||||||
|
{
|
||||||
|
g_clear_error (&local_error);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
g_propagate_error (error, g_steal_pointer (&local_error));
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Only append to this BLS config if:
|
||||||
|
* - this is not the default deployment
|
||||||
|
*/
|
||||||
|
/* If deployment was prepended, it is the new default */
|
||||||
|
gboolean is_new_default = (ostree_deployment_get_index (deployment) == 0);
|
||||||
|
gboolean allow_append = !is_new_default;
|
||||||
|
if (allow_append)
|
||||||
|
{
|
||||||
|
/* get all key value pairs in bls-append */
|
||||||
|
for (char **iter = read_values; iter && *iter; iter++)
|
||||||
|
{
|
||||||
|
const char *key_value = *iter;
|
||||||
|
const char *sep = strchr (key_value, '=');
|
||||||
|
if (sep == NULL)
|
||||||
|
{
|
||||||
|
glnx_throw (error, "bls-append-except-default key must be of the form \"key1=value1;key2=value2...\"");
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
g_autofree char *key = g_strndup (key_value, sep - key_value);
|
||||||
|
g_autofree char *value = g_strdup (sep + 1);
|
||||||
|
ostree_bootconfig_parser_set (bootconfig, key, value);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
glnx_autofd int bootconf_dfd = -1;
|
glnx_autofd int bootconf_dfd = -1;
|
||||||
if (!glnx_opendirat (sysroot->boot_fd, bootconfdir, TRUE, &bootconf_dfd, error))
|
if (!glnx_opendirat (sysroot->boot_fd, bootconfdir, TRUE, &bootconf_dfd, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
||||||
|
|
@ -1267,7 +1267,7 @@ ostree_sysroot_get_booted_deployment (OstreeSysroot *self)
|
||||||
OstreeDeployment *
|
OstreeDeployment *
|
||||||
ostree_sysroot_require_booted_deployment (OstreeSysroot *self, GError **error)
|
ostree_sysroot_require_booted_deployment (OstreeSysroot *self, GError **error)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (self->loadstate == OSTREE_SYSROOT_LOAD_STATE_LOADED, NULL);
|
g_assert (self->loadstate == OSTREE_SYSROOT_LOAD_STATE_LOADED);
|
||||||
|
|
||||||
if (!self->booted_deployment)
|
if (!self->booted_deployment)
|
||||||
return glnx_null_throw (error, "Not currently booted into an OSTree system");
|
return glnx_null_throw (error, "Not currently booted into an OSTree system");
|
||||||
|
|
@ -1286,7 +1286,7 @@ ostree_sysroot_require_booted_deployment (OstreeSysroot *self, GError **error)
|
||||||
OstreeDeployment *
|
OstreeDeployment *
|
||||||
ostree_sysroot_get_staged_deployment (OstreeSysroot *self)
|
ostree_sysroot_get_staged_deployment (OstreeSysroot *self)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (self->loadstate == OSTREE_SYSROOT_LOAD_STATE_LOADED, NULL);
|
g_assert (self->loadstate == OSTREE_SYSROOT_LOAD_STATE_LOADED);
|
||||||
|
|
||||||
return self->staged_deployment;
|
return self->staged_deployment;
|
||||||
}
|
}
|
||||||
|
|
@ -1300,7 +1300,7 @@ ostree_sysroot_get_staged_deployment (OstreeSysroot *self)
|
||||||
GPtrArray *
|
GPtrArray *
|
||||||
ostree_sysroot_get_deployments (OstreeSysroot *self)
|
ostree_sysroot_get_deployments (OstreeSysroot *self)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (self->loadstate == OSTREE_SYSROOT_LOAD_STATE_LOADED, NULL);
|
g_assert (self->loadstate == OSTREE_SYSROOT_LOAD_STATE_LOADED);
|
||||||
|
|
||||||
GPtrArray *copy = g_ptr_array_new_with_free_func ((GDestroyNotify)g_object_unref);
|
GPtrArray *copy = g_ptr_array_new_with_free_func ((GDestroyNotify)g_object_unref);
|
||||||
for (guint i = 0; i < self->deployments->len; i++)
|
for (guint i = 0; i < self->deployments->len; i++)
|
||||||
|
|
@ -1525,7 +1525,7 @@ ostree_sysroot_query_deployments_for (OstreeSysroot *self,
|
||||||
OstreeDeployment **out_pending,
|
OstreeDeployment **out_pending,
|
||||||
OstreeDeployment **out_rollback)
|
OstreeDeployment **out_rollback)
|
||||||
{
|
{
|
||||||
g_return_if_fail (osname != NULL || self->booted_deployment != NULL);
|
g_assert (osname != NULL || self->booted_deployment != NULL);
|
||||||
g_autoptr(OstreeDeployment) ret_pending = NULL;
|
g_autoptr(OstreeDeployment) ret_pending = NULL;
|
||||||
g_autoptr(OstreeDeployment) ret_rollback = NULL;
|
g_autoptr(OstreeDeployment) ret_rollback = NULL;
|
||||||
|
|
||||||
|
|
@ -1896,6 +1896,7 @@ ostree_sysroot_simple_write_deployment (OstreeSysroot *sysroot,
|
||||||
/* tracks when we come across the booted deployment */
|
/* tracks when we come across the booted deployment */
|
||||||
gboolean before_booted = TRUE;
|
gboolean before_booted = TRUE;
|
||||||
gboolean before_merge = TRUE;
|
gboolean before_merge = TRUE;
|
||||||
|
g_assert (deployments);
|
||||||
for (guint i = 0; i < deployments->len; i++)
|
for (guint i = 0; i < deployments->len; i++)
|
||||||
{
|
{
|
||||||
OstreeDeployment *deployment = deployments->pdata[i];
|
OstreeDeployment *deployment = deployments->pdata[i];
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
*
|
*
|
||||||
* Since: 2017.4
|
* Since: 2017.4
|
||||||
*/
|
*/
|
||||||
#define OSTREE_RELEASE_VERSION (3)
|
#define OSTREE_RELEASE_VERSION (4)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OSTREE_VERSION
|
* OSTREE_VERSION
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
*
|
*
|
||||||
* Since: 2017.4
|
* Since: 2017.4
|
||||||
*/
|
*/
|
||||||
#define OSTREE_VERSION (2022.3)
|
#define OSTREE_VERSION (2022.4)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OSTREE_VERSION_S:
|
* OSTREE_VERSION_S:
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
*
|
*
|
||||||
* Since: 2017.4
|
* Since: 2017.4
|
||||||
*/
|
*/
|
||||||
#define OSTREE_VERSION_S "2022.3"
|
#define OSTREE_VERSION_S "2022.4"
|
||||||
|
|
||||||
#define OSTREE_ENCODE_VERSION(year,release) \
|
#define OSTREE_ENCODE_VERSION(year,release) \
|
||||||
((year) << 16 | (release))
|
((year) << 16 | (release))
|
||||||
|
|
@ -98,4 +98,6 @@
|
||||||
*
|
*
|
||||||
* Since: 2019.3
|
* Since: 2019.3
|
||||||
*/
|
*/
|
||||||
|
#ifndef __GI_SCANNER__
|
||||||
#define OSTREE_BUILT_FEATURES "libsoup gpgme ex-fsverity libarchive selinux libmount systemd release p2p"
|
#define OSTREE_BUILT_FEATURES "libsoup gpgme ex-fsverity libarchive selinux libmount systemd release p2p"
|
||||||
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -98,4 +98,6 @@
|
||||||
*
|
*
|
||||||
* Since: 2019.3
|
* Since: 2019.3
|
||||||
*/
|
*/
|
||||||
|
#ifndef __GI_SCANNER__
|
||||||
#define OSTREE_BUILT_FEATURES "@OSTREE_FEATURES@"
|
#define OSTREE_BUILT_FEATURES "@OSTREE_FEATURES@"
|
||||||
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -4,19 +4,19 @@ set -euo pipefail
|
||||||
|
|
||||||
old_initrd=$1
|
old_initrd=$1
|
||||||
new_initrd=$2
|
new_initrd=$2
|
||||||
|
currdir=$PWD
|
||||||
|
|
||||||
# Unpacking existing initramdisk
|
# Copying existing initramdisk
|
||||||
|
cp ${old_initrd} ${new_initrd}
|
||||||
|
|
||||||
|
# Appending LUKS root keys and crypttab config to the end of initrd
|
||||||
workdir=$(mktemp -d -p /tmp se-initramfs-XXXXXX)
|
workdir=$(mktemp -d -p /tmp se-initramfs-XXXXXX)
|
||||||
cd ${workdir}
|
cd ${workdir}
|
||||||
gzip -cd ${old_initrd} | cpio -imd --quiet
|
|
||||||
|
|
||||||
# Adding LUKS root key and crypttab config
|
|
||||||
mkdir -p etc/luks
|
mkdir -p etc/luks
|
||||||
cp -f /etc/luks/root etc/luks/
|
cp -f /etc/luks/* etc/luks/
|
||||||
cp -f /etc/crypttab etc/
|
cp -f /etc/crypttab etc/
|
||||||
|
find . -mindepth 1 | cpio --quiet -H newc -o | gzip -9 -n >> ${new_initrd}
|
||||||
# Creating new initramdisk image
|
|
||||||
find . | cpio --quiet -H newc -o | gzip -9 -n >> ${new_initrd}
|
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
cd ${currdir}
|
||||||
rm -rf ${workdir}
|
rm -rf ${workdir}
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
#include "ostree.h"
|
#include "ostree.h"
|
||||||
#include "otutil.h"
|
#include "otutil.h"
|
||||||
|
|
||||||
#include "ostree-cmdprivate.h"
|
#include "ostree-cmd-private.h"
|
||||||
|
|
||||||
static GOptionEntry options[] = {
|
static GOptionEntry options[] = {
|
||||||
{ NULL }
|
{ NULL }
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,7 @@ static gboolean opt_no_prune;
|
||||||
static gboolean opt_no_merge;
|
static gboolean opt_no_merge;
|
||||||
static char **opt_kernel_argv;
|
static char **opt_kernel_argv;
|
||||||
static char **opt_kernel_argv_append;
|
static char **opt_kernel_argv_append;
|
||||||
|
static char *opt_kernel_argv_delete;
|
||||||
static gboolean opt_kernel_proc_cmdline;
|
static gboolean opt_kernel_proc_cmdline;
|
||||||
static char *opt_osname;
|
static char *opt_osname;
|
||||||
static char *opt_origin_path;
|
static char *opt_origin_path;
|
||||||
|
|
@ -62,6 +63,7 @@ static GOptionEntry options[] = {
|
||||||
{ "karg", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_kernel_argv, "Set kernel argument, like root=/dev/sda1; this overrides any earlier argument with the same name", "NAME=VALUE" },
|
{ "karg", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_kernel_argv, "Set kernel argument, like root=/dev/sda1; this overrides any earlier argument with the same name", "NAME=VALUE" },
|
||||||
{ "karg-append", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_kernel_argv_append, "Append kernel argument; useful with e.g. console= that can be used multiple times", "NAME=VALUE" },
|
{ "karg-append", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_kernel_argv_append, "Append kernel argument; useful with e.g. console= that can be used multiple times", "NAME=VALUE" },
|
||||||
{ "karg-none", 0, 0, G_OPTION_ARG_NONE, &opt_kernel_arg_none, "Do not import kernel arguments", NULL },
|
{ "karg-none", 0, 0, G_OPTION_ARG_NONE, &opt_kernel_arg_none, "Do not import kernel arguments", NULL },
|
||||||
|
{ "karg-delete", 0, 0, G_OPTION_ARG_STRING, &opt_kernel_argv_delete, "Delete kernel argument if exists", "NAME=VALUE" },
|
||||||
{ "overlay-initrd", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_overlay_initrds, "Overlay iniramfs file", "FILE" },
|
{ "overlay-initrd", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_overlay_initrds, "Overlay iniramfs file", "FILE" },
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
@ -90,6 +92,18 @@ ot_admin_builtin_deploy (int argc, char **argv, OstreeCommandInvocation *invocat
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (opt_kernel_arg_none && opt_kernel_argv_delete)
|
||||||
|
{
|
||||||
|
ot_util_usage_error (context, "Can't specify both --karg-none and --karg-delete", error);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (opt_no_merge && opt_kernel_argv_delete)
|
||||||
|
{
|
||||||
|
ot_util_usage_error (context, "Can't specify both --no-merge and --karg-delete", error);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
const char *refspec = argv[1];
|
const char *refspec = argv[1];
|
||||||
|
|
||||||
OstreeRepo *repo = ostree_sysroot_repo (sysroot);
|
OstreeRepo *repo = ostree_sysroot_repo (sysroot);
|
||||||
|
|
@ -145,7 +159,7 @@ ot_admin_builtin_deploy (int argc, char **argv, OstreeCommandInvocation *invocat
|
||||||
if (!ostree_kernel_args_append_proc_cmdline (kargs, cancellable, error))
|
if (!ostree_kernel_args_append_proc_cmdline (kargs, cancellable, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
else if (merge_deployment && (opt_kernel_argv || opt_kernel_argv_append))
|
else if (merge_deployment && (opt_kernel_argv || opt_kernel_argv_append || opt_kernel_argv_delete))
|
||||||
{
|
{
|
||||||
OstreeBootconfigParser *bootconfig = ostree_deployment_get_bootconfig (merge_deployment);
|
OstreeBootconfigParser *bootconfig = ostree_deployment_get_bootconfig (merge_deployment);
|
||||||
g_auto(GStrv) previous_args = g_strsplit (ostree_bootconfig_parser_get (bootconfig, "options"), " ", -1);
|
g_auto(GStrv) previous_args = g_strsplit (ostree_bootconfig_parser_get (bootconfig, "options"), " ", -1);
|
||||||
|
|
@ -171,6 +185,12 @@ ot_admin_builtin_deploy (int argc, char **argv, OstreeCommandInvocation *invocat
|
||||||
ostree_kernel_args_append_argv (kargs, opt_kernel_argv_append);
|
ostree_kernel_args_append_argv (kargs, opt_kernel_argv_append);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (opt_kernel_argv_delete)
|
||||||
|
{
|
||||||
|
if (!ostree_kernel_args_delete (kargs, opt_kernel_argv_delete, error))
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
g_autoptr(GPtrArray) overlay_initrd_chksums = NULL;
|
g_autoptr(GPtrArray) overlay_initrd_chksums = NULL;
|
||||||
for (char **it = opt_overlay_initrds; it && *it; it++)
|
for (char **it = opt_overlay_initrds; it && *it; it++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@ gboolean
|
||||||
ot_admin_builtin_diff (int argc, char **argv, OstreeCommandInvocation *invocation, GCancellable *cancellable, GError **error)
|
ot_admin_builtin_diff (int argc, char **argv, OstreeCommandInvocation *invocation, GCancellable *cancellable, GError **error)
|
||||||
{
|
{
|
||||||
g_autoptr(GOptionContext) context = g_option_context_new ("");
|
g_autoptr(GOptionContext) context = g_option_context_new ("");
|
||||||
g_option_context_add_main_entries (context, options, NULL);
|
|
||||||
|
|
||||||
g_autoptr(OstreeSysroot) sysroot = NULL;
|
g_autoptr(OstreeSysroot) sysroot = NULL;
|
||||||
if (!ostree_admin_option_context_parse (context, options, &argc, &argv,
|
if (!ostree_admin_option_context_parse (context, options, &argc, &argv,
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
#include "ostree.h"
|
#include "ostree.h"
|
||||||
#include "otutil.h"
|
#include "otutil.h"
|
||||||
|
|
||||||
#include "ostree-cmdprivate.h"
|
#include "ostree-cmd-private.h"
|
||||||
#include "ostree.h"
|
#include "ostree.h"
|
||||||
|
|
||||||
static GOptionEntry options[] = {
|
static GOptionEntry options[] = {
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include "ot-main.h"
|
#include "ot-main.h"
|
||||||
#include "ot-admin-instutil-builtins.h"
|
#include "ot-admin-instutil-builtins.h"
|
||||||
#include "ostree-cmdprivate.h"
|
#include "ostree-cmd-private.h"
|
||||||
|
|
||||||
#include "otutil.h"
|
#include "otutil.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
#include "ot-main.h"
|
#include "ot-main.h"
|
||||||
#include "ot-builtins.h"
|
#include "ot-builtins.h"
|
||||||
#include "ostree.h"
|
#include "ostree.h"
|
||||||
#include "ostree-cmdprivate.h"
|
#include "ostree-cmd-private.h"
|
||||||
#include "otutil.h"
|
#include "otutil.h"
|
||||||
|
|
||||||
static gboolean opt_quiet;
|
static gboolean opt_quiet;
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
#include "ot-main.h"
|
#include "ot-main.h"
|
||||||
#include "ot-builtins.h"
|
#include "ot-builtins.h"
|
||||||
#include "ostree.h"
|
#include "ostree.h"
|
||||||
#include "ostree-cmdprivate.h"
|
#include "ostree-cmd-private.h"
|
||||||
#include "ot-main.h"
|
#include "ot-main.h"
|
||||||
#include "otutil.h"
|
#include "otutil.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#include <libglnx.h>
|
#include <libglnx.h>
|
||||||
|
|
||||||
#include "ostree-cmdprivate.h"
|
#include "ostree-cmd-private.h"
|
||||||
#include "ostree-mount-util.h"
|
#include "ostree-mount-util.h"
|
||||||
|
|
||||||
static const char *arg_dest = "/tmp";
|
static const char *arg_dest = "/tmp";
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ set -euo pipefail
|
||||||
# Exports OSTREE_SYSROOT so --sysroot not needed.
|
# Exports OSTREE_SYSROOT so --sysroot not needed.
|
||||||
setup_os_repository "archive" "syslinux"
|
setup_os_repository "archive" "syslinux"
|
||||||
|
|
||||||
echo "1..3"
|
echo "1..4"
|
||||||
|
|
||||||
${CMD_PREFIX} ostree --repo=sysroot/ostree/repo pull-local --remote=testos testos-repo testos/buildmain/x86_64-runtime
|
${CMD_PREFIX} ostree --repo=sysroot/ostree/repo pull-local --remote=testos testos-repo testos/buildmain/x86_64-runtime
|
||||||
rev=$(${CMD_PREFIX} ostree --repo=sysroot/ostree/repo rev-parse testos/buildmain/x86_64-runtime)
|
rev=$(${CMD_PREFIX} ostree --repo=sysroot/ostree/repo rev-parse testos/buildmain/x86_64-runtime)
|
||||||
|
|
@ -69,3 +69,13 @@ ${CMD_PREFIX} ostree admin deploy --os=testos --karg-append=FOO=TESTORDERED --k
|
||||||
assert_file_has_content sysroot/boot/loader/entries/ostree-2-testos.conf 'options.*APPENDARG=VALAPPEND .*APPENDARG=2NDAPPEND .*FOO=TESTORDERED .*APPENDARG=3RDAPPEND'
|
assert_file_has_content sysroot/boot/loader/entries/ostree-2-testos.conf 'options.*APPENDARG=VALAPPEND .*APPENDARG=2NDAPPEND .*FOO=TESTORDERED .*APPENDARG=3RDAPPEND'
|
||||||
|
|
||||||
echo "ok deploy --karg-append"
|
echo "ok deploy --karg-append"
|
||||||
|
|
||||||
|
assert_file_has_content sysroot/boot/loader/entries/ostree-2-testos.conf 'options.*quiet .*TESTARG=TESTVALUE .*APPENDARG=VALAPPEND .*APPENDARG=2NDAPPEND'
|
||||||
|
${CMD_PREFIX} ostree admin deploy --os=testos --karg-delete=TESTARG=TESTVALUE testos:testos/buildmain/x86_64-runtime
|
||||||
|
assert_not_file_has_content sysroot/boot/loader/entries/ostree-2-testos.conf 'options.*TESTARG=TESTVALUE'
|
||||||
|
${CMD_PREFIX} ostree admin deploy --os=testos --karg-delete=quiet testos:testos/buildmain/x86_64-runtime
|
||||||
|
assert_not_file_has_content sysroot/boot/loader/entries/ostree-2-testos.conf 'options.*quiet'
|
||||||
|
${CMD_PREFIX} ostree admin deploy --os=testos --karg-delete=APPENDARG=VALAPPEND testos:testos/buildmain/x86_64-runtime
|
||||||
|
assert_not_file_has_content sysroot/boot/loader/entries/ostree-2-testos.conf 'options.*APPENDARG=VALAPPEND'
|
||||||
|
|
||||||
|
echo "ok deploy --karg-delete"
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <stdbool.h>
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
|
|
@ -476,6 +477,76 @@ test_big_metadata (void)
|
||||||
g_assert (ret);
|
g_assert (ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
compare_xattrs (GVariant *orig, GVariant *new)
|
||||||
|
{
|
||||||
|
g_assert_cmpint (g_variant_n_children (orig) + 1, ==, g_variant_n_children (new));
|
||||||
|
GVariant *kp, *vp;
|
||||||
|
GVariantIter iter;
|
||||||
|
g_variant_iter_init (&iter, new);
|
||||||
|
bool found = false;
|
||||||
|
while (g_variant_iter_loop (&iter, "(@ay@ay)", &kp, &vp))
|
||||||
|
{
|
||||||
|
const char *k = g_variant_get_bytestring (kp);
|
||||||
|
if (!g_str_equal (k, "user.ostreetesting"))
|
||||||
|
continue;
|
||||||
|
g_assert_cmpint (g_variant_get_size (vp), ==, 4);
|
||||||
|
found = true;
|
||||||
|
}
|
||||||
|
g_assert (found);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
test_read_xattrs (void)
|
||||||
|
{
|
||||||
|
g_autoptr(GError) local_error = NULL;
|
||||||
|
GError **error = &local_error;
|
||||||
|
|
||||||
|
g_auto(GLnxTmpDir) tmpd = { 0, };
|
||||||
|
// Use /var/tmp to hope we get xattr support
|
||||||
|
glnx_mkdtempat (AT_FDCWD, "/var/tmp/ostree-xattrs-test.XXXXXX", 0700, &tmpd, error);
|
||||||
|
g_assert_no_error (local_error);
|
||||||
|
|
||||||
|
const char value[] = "foo";
|
||||||
|
|
||||||
|
{
|
||||||
|
g_autoptr(GVariant) current_xattrs = ostree_fs_get_all_xattrs (tmpd.fd, NULL, error);
|
||||||
|
g_assert_no_error (local_error);
|
||||||
|
|
||||||
|
int r = fsetxattr (tmpd.fd, "user.ostreetesting", value, sizeof (value), 0);
|
||||||
|
g_assert_cmpint (r, ==, 0);
|
||||||
|
|
||||||
|
g_autoptr(GVariant) new_xattrs = ostree_fs_get_all_xattrs (tmpd.fd, NULL, error);
|
||||||
|
g_assert_no_error (local_error);
|
||||||
|
|
||||||
|
compare_xattrs (current_xattrs, new_xattrs);
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
if (symlinkat ("nosuchtarget", tmpd.fd, "somelink") < 0)
|
||||||
|
glnx_throw_errno_prefix (error, "symlinkat");
|
||||||
|
g_assert_no_error (local_error);
|
||||||
|
|
||||||
|
g_autoptr(GVariant) current_xattrs = ostree_fs_get_all_xattrs_at (tmpd.fd, "somelink", NULL, error);
|
||||||
|
g_assert_no_error (local_error);
|
||||||
|
(void) current_xattrs;
|
||||||
|
|
||||||
|
// OK, can't do user. xattrs on symlinks unfortunately.
|
||||||
|
|
||||||
|
// char pathbuf[PATH_MAX];
|
||||||
|
// snprintf (pathbuf, sizeof (pathbuf), "/proc/self/fd/%d/%s", tmpd.fd, "somelink");
|
||||||
|
// int r = lsetxattr (pathbuf, "user.ostreetesting", value, sizeof (value), 0);
|
||||||
|
// if (r < 0)
|
||||||
|
// glnx_throw_errno_prefix (error, "lsetxattr");
|
||||||
|
// g_assert_no_error (local_error);
|
||||||
|
|
||||||
|
// g_autoptr(GVariant) new_xattrs = ostree_fs_get_all_xattrs_at (tmpd.fd, "somelink", NULL, error);
|
||||||
|
// g_assert_no_error (local_error);
|
||||||
|
|
||||||
|
// compare_xattrs (current_xattrs, new_xattrs);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
int main (int argc, char **argv)
|
int main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
g_autoptr(GError) error = NULL;
|
g_autoptr(GError) error = NULL;
|
||||||
|
|
@ -494,6 +565,7 @@ int main (int argc, char **argv)
|
||||||
g_test_add_func ("/break-hardlink", test_break_hardlink);
|
g_test_add_func ("/break-hardlink", test_break_hardlink);
|
||||||
g_test_add_func ("/remotename", test_validate_remotename);
|
g_test_add_func ("/remotename", test_validate_remotename);
|
||||||
g_test_add_func ("/big-metadata", test_big_metadata);
|
g_test_add_func ("/big-metadata", test_big_metadata);
|
||||||
|
g_test_add_func ("/read-xattrs", test_read_xattrs);
|
||||||
|
|
||||||
return g_test_run();
|
return g_test_run();
|
||||||
out:
|
out:
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ echo 'ok documented symbols'
|
||||||
|
|
||||||
# ONLY update this checksum in release commits!
|
# ONLY update this checksum in release commits!
|
||||||
cat > released-sha256.txt <<EOF
|
cat > released-sha256.txt <<EOF
|
||||||
4f0600ad7af4ba937f463dc0bdc38aef6f53b154e88730b935552330c6a19a3f ${released_syms}
|
fb66f84d9af5270ed34fdf9f70f97e59394336a9559f493917704bdffa19027d ${released_syms}
|
||||||
EOF
|
EOF
|
||||||
sha256sum -c released-sha256.txt
|
sha256sum -c released-sha256.txt
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue