ostree.git
3 years agoMake fast forward from 2022.5-4
Simon McVittie [Sat, 15 Oct 2022 09:48:34 +0000 (10:48 +0100)]
Make fast forward from 2022.5-4

[dgit --quilt=unapplied]

3 years agoSkip test-pull-repeated during CI
Simon McVittie [Mon, 30 Jul 2018 15:51:01 +0000 (16:51 +0100)]
Skip test-pull-repeated during CI

This test is expected to fail a small proportion of the time. During
the build of ostree 2018.7-1 in Debian, it seems we were unlucky on
s390x. Non-deterministic tests are also problematic for autopkgtest,
where they can gate migration of our dependencies like GLib, so skip
this test unless the caller has opted-in to non-deterministic tests.

It would be appropriate to enable this test in environments where
failures can easily be retried and are not disruptive to other
packages.

Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-test-pull-repeated-during-CI.patch

3 years agoRelease to unstable
Simon McVittie [Sat, 15 Oct 2022 09:48:42 +0000 (10:48 +0100)]
Release to unstable

3 years agoInstall another early-boot service in ostree-boot
Simon McVittie [Sat, 15 Oct 2022 09:48:29 +0000 (10:48 +0100)]
Install another early-boot service in ostree-boot

3 years agoDon't install s390x-se-luks-gencpio script
Simon McVittie [Sat, 15 Oct 2022 09:34:23 +0000 (10:34 +0100)]
Don't install s390x-se-luks-gencpio script

It was reimplemented in C as part of ostree(1).

3 years agoBuild-depend on libext2fs-dev instead of transitional e2fslibs-dev
Simon McVittie [Fri, 14 Oct 2022 19:09:53 +0000 (20:09 +0100)]
Build-depend on libext2fs-dev instead of transitional e2fslibs-dev

3 years agoNew upstream release
Simon McVittie [Fri, 14 Oct 2022 18:36:51 +0000 (19:36 +0100)]
New upstream release

3 years agoUpdate upstream source from tag 'upstream/2022.6'
Simon McVittie [Fri, 14 Oct 2022 18:30:41 +0000 (19:30 +0100)]
Update upstream source from tag 'upstream/2022.6'

Update to upstream version '2022.6'
with Debian dir aa2d2bcf6bc7bc23045622be07e8a8a3cd2faab5

3 years agoNew upstream version 2022.6
Simon McVittie [Fri, 14 Oct 2022 18:30:33 +0000 (19:30 +0100)]
New upstream version 2022.6

3 years agoRelease 2022.6
Luca BRUNO [Fri, 7 Oct 2022 07:54:09 +0000 (07:54 +0000)]
Release 2022.6

3 years agoRelease to unstable
Simon McVittie [Mon, 3 Oct 2022 09:20:01 +0000 (10:20 +0100)]
Release to unstable

3 years agoMake fast forward from 2022.5-3
Simon McVittie [Mon, 3 Oct 2022 09:19:36 +0000 (10:19 +0100)]
Make fast forward from 2022.5-3

[dgit --quilt=unapplied]

3 years agoSkip test-pull-repeated during CI
Simon McVittie [Mon, 30 Jul 2018 15:51:01 +0000 (16:51 +0100)]
Skip test-pull-repeated during CI

This test is expected to fail a small proportion of the time. During
the build of ostree 2018.7-1 in Debian, it seems we were unlucky on
s390x. Non-deterministic tests are also problematic for autopkgtest,
where they can gate migration of our dependencies like GLib, so skip
this test unless the caller has opted-in to non-deterministic tests.

It would be appropriate to enable this test in environments where
failures can easily be retried and are not disruptive to other
packages.

Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-test-pull-repeated-during-CI.patch

3 years agod/watch: Adapt to Github website changes
Simon McVittie [Mon, 3 Oct 2022 09:19:31 +0000 (10:19 +0100)]
d/watch: Adapt to Github website changes

3 years agoMerge pull request #2721 from cgwalters/link-otto
Luca Bruno [Wed, 28 Sep 2022 21:54:53 +0000 (21:54 +0000)]
Merge pull request #2721 from cgwalters/link-otto

README.md: Link otto

3 years agoMerge pull request #2717 from mangelajo/support-whiteouts
Colin Walters [Wed, 28 Sep 2022 12:35:24 +0000 (08:35 -0400)]
Merge pull request #2717 from mangelajo/support-whiteouts

Support overlayfs whiteouts on checkout

3 years agoREADME.md: Link otto
Colin Walters [Wed, 28 Sep 2022 12:30:18 +0000 (08:30 -0400)]
README.md: Link otto

Another project in the ostree/container space.

3 years agoSupport overlayfs whiteouts on checkout
Miguel Angel Ajo [Mon, 19 Sep 2022 15:15:24 +0000 (17:15 +0200)]
Support overlayfs whiteouts on checkout

Introduces an intermediate format for overlayfs storage, where
.wh-ostree. prefixed files will be converted into char 0:0
whiteout devices used by overlayfs to mark deletions across layers.

The CI scripts now uses a volume for the scratch directories
previously in /var/tmp otherwise we cannot create whiteout
devices into an overlayfs mounted filesystem.

Related-Issue: #2712

3 years agoMerge pull request #2720 from lucab/ups/lib-deploy-ignore-result
Luca Bruno [Mon, 26 Sep 2022 12:40:04 +0000 (12:40 +0000)]
Merge pull request #2720 from lucab/ups/lib-deploy-ignore-result

lib/sysroot-deploy: explicitly handle `g_variant_lookup` results

3 years agolib/sysroot-deploy: explicitly handle `g_variant_lookup` results
Luca BRUNO [Mon, 26 Sep 2022 07:42:12 +0000 (07:42 +0000)]
lib/sysroot-deploy: explicitly handle `g_variant_lookup` results

This explicitly ignores the results of two optional variant lookups,
in order to pacify a RHT internal static analyzer.

3 years agoRevert "d/control, d/rules: Disable gjs-based tests on armel"
Simon McVittie [Sun, 25 Sep 2022 09:28:02 +0000 (10:28 +0100)]
Revert "d/control, d/rules: Disable gjs-based tests on armel"

This reverts commit 87c78f16ad8d22dec4f6631f1dd03ba02d83d615.
Adrian Bunk and Mike Hommey were able to fix mozjs102 on armel, so we
can continue to have gjs on that architecture for Debian 12.

3 years agoMerge pull request #2718 from lucab/ups/repo-initialize-valid-bootloader
Colin Walters [Fri, 23 Sep 2022 15:09:13 +0000 (11:09 -0400)]
Merge pull request #2718 from lucab/ups/repo-initialize-valid-bootloader

lib/repo: properly initialize boolean variable

3 years agolib/repo: properly initialize boolean variable
Luca BRUNO [Fri, 23 Sep 2022 13:02:00 +0000 (13:02 +0000)]
lib/repo: properly initialize boolean variable

This initializes a boolean variable that was previously left
uninitialized. It was detected by a RHT internal static analyzer.

3 years agoMerge pull request #2716 from dbnicholson/max-metadata-size-doc
Colin Walters [Sun, 18 Sep 2022 19:04:54 +0000 (15:04 -0400)]
Merge pull request #2716 from dbnicholson/max-metadata-size-doc

lib/pull: Fix max-metadata-size documentation

3 years agolib/pull: Fix max-metadata-size documentation
Dan Nicholson [Sun, 18 Sep 2022 18:13:31 +0000 (12:13 -0600)]
lib/pull: Fix max-metadata-size documentation

The documented option is incorrect and has been since it's introduction
in 2c55bc6997.

3 years agoMerge pull request #2714 from andreamtp/patch-1
Dan Nicholson [Sat, 17 Sep 2022 18:12:09 +0000 (12:12 -0600)]
Merge pull request #2714 from andreamtp/patch-1

Fix recursive git archive reference

3 years agoFix recursive git archive reference
Andrea Perotti [Sat, 17 Sep 2022 09:00:46 +0000 (11:00 +0200)]
Fix recursive git archive reference

Broken link for "recursive git archive" example

3 years agoMerge pull request #2711 from lucab/ups/sign-assertions
Colin Walters [Fri, 9 Sep 2022 14:05:27 +0000 (10:05 -0400)]
Merge pull request #2711 from lucab/ups/sign-assertions

lib/sign: convert invariant checks to assertions

3 years agolib/sign: convert invariant checks to assertions
Luca BRUNO [Fri, 9 Sep 2022 13:20:43 +0000 (13:20 +0000)]
lib/sign: convert invariant checks to assertions

This converts several invariant checks to asserts. Most of the
functions in this file were already using assertions, so this aligns
the remaining few outliers to the rest.

3 years agoMerge pull request #2709 from lucab/ups/otutils-variant-builder-error
Luca Bruno [Thu, 8 Sep 2022 14:41:53 +0000 (14:41 +0000)]
Merge pull request #2709 from lucab/ups/otutils-variant-builder-error

otutil: add error handling to variant builders

3 years agootutil: add error handling to variant builders
Luca BRUNO [Thu, 8 Sep 2022 13:53:05 +0000 (13:53 +0000)]
otutil: add error handling to variant builders

This enhances a bunch of helpers related to GVariant building, in
order to properly handle errors and avoid some potential cases of
unexpected NULL results.

3 years agoMerge pull request #2708 from nikita-dubrovskii/sh_to_c
Colin Walters [Thu, 8 Sep 2022 11:45:04 +0000 (07:45 -0400)]
Merge pull request #2708 from nikita-dubrovskii/sh_to_c

s390x: drop shell code for `initrd` modification in SE case

3 years agos390x: use 'libarchive' to modify initrd in SE case
Nikita Dubrovskii [Mon, 5 Sep 2022 12:54:03 +0000 (14:54 +0200)]
s390x: use 'libarchive' to modify initrd in SE case

3 years agoMerge pull request #2710 from lucab/ups/lib-mtree-redundant-validation
Luca Bruno [Wed, 7 Sep 2022 13:24:36 +0000 (13:24 +0000)]
Merge pull request #2710 from lucab/ups/lib-mtree-redundant-validation

lib/mtree: drop redundant name checks

3 years agolib/mtree: drop redundant name checks
Luca BRUNO [Wed, 7 Sep 2022 12:33:37 +0000 (12:33 +0000)]
lib/mtree: drop redundant name checks

This drops several NULL checks against filename input argument.
Those checks are both redundant (as filename validation already
checks for that) and dangerous (as they return early without
setting an error value).

3 years agoMerge pull request #2707 from lucab/ups/libostree-bootloader-asserts
Luca Bruno [Tue, 6 Sep 2022 00:36:11 +0000 (00:36 +0000)]
Merge pull request #2707 from lucab/ups/libostree-bootloader-asserts

lib/bootloader: assert invariants

3 years agos390x: simplify 's390x-se-luks-gencpio' script
Nikita Dubrovskii [Mon, 5 Sep 2022 10:08:35 +0000 (12:08 +0200)]
s390x: simplify 's390x-se-luks-gencpio' script

3 years agoMerge pull request #2706 from git-bruh/main
Luca Bruno [Mon, 5 Sep 2022 09:29:29 +0000 (09:29 +0000)]
Merge pull request #2706 from git-bruh/main

ostree-fetcher-curl: check for HTTP2 support before trying to use it

3 years agolib/bootloader: assert invariants
Luca BRUNO [Mon, 5 Sep 2022 09:22:26 +0000 (09:22 +0000)]
lib/bootloader: assert invariants

This tweaks some invariants checks into full assertions, in order
to avoid returning to the caller in case of known invalid states.

3 years agos390x: ensure both 'root' and 'boot' luks keys exist
Nikita Dubrovskii [Thu, 1 Sep 2022 14:34:48 +0000 (16:34 +0200)]
s390x: ensure both 'root' and 'boot' luks keys exist

3 years agoostree-fetcher-curl: check for HTTP2 support before trying to use it
git-bruh [Sat, 3 Sep 2022 07:20:00 +0000 (12:50 +0530)]
ostree-fetcher-curl: check for HTTP2 support before trying to use it

3 years agoRelease to unstable
Simon McVittie [Wed, 31 Aug 2022 08:48:01 +0000 (09:48 +0100)]
Release to unstable

3 years agoMake fast forward from 2022.5-2
Simon McVittie [Wed, 31 Aug 2022 08:47:41 +0000 (09:47 +0100)]
Make fast forward from 2022.5-2

[dgit --quilt=unapplied]

3 years agoSkip test-pull-repeated during CI
Simon McVittie [Mon, 30 Jul 2018 15:51:01 +0000 (16:51 +0100)]
Skip test-pull-repeated during CI

This test is expected to fail a small proportion of the time. During
the build of ostree 2018.7-1 in Debian, it seems we were unlucky on
s390x. Non-deterministic tests are also problematic for autopkgtest,
where they can gate migration of our dependencies like GLib, so skip
this test unless the caller has opted-in to non-deterministic tests.

It would be appropriate to enable this test in environments where
failures can easily be retried and are not disruptive to other
packages.

Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-test-pull-repeated-during-CI.patch

3 years agod/control, d/rules: Re-enable gjs tests on s390x
Simon McVittie [Wed, 31 Aug 2022 08:47:24 +0000 (09:47 +0100)]
d/control, d/rules: Re-enable gjs tests on s390x

3 years agod/control, d/rules: Disable gjs-based tests on armel
Simon McVittie [Wed, 31 Aug 2022 08:44:06 +0000 (09:44 +0100)]
d/control, d/rules: Disable gjs-based tests on armel

It's looking as though mozjs102, and therefore the next gjs release,
will not support armel due to its lack of atomic instructions.

3 years agoMerge pull request #2704 from cgwalters/finalize-no-sigterm
Dan Nicholson [Tue, 30 Aug 2022 22:32:46 +0000 (16:32 -0600)]
Merge pull request #2704 from cgwalters/finalize-no-sigterm

finalize-staged: Don't listen to `SIGTERM`, just let kernel exit us

3 years agofinalize-staged: Don't listen to `SIGTERM`, just let kernel exit us
Colin Walters [Tue, 30 Aug 2022 20:23:38 +0000 (16:23 -0400)]
finalize-staged: Don't listen to `SIGTERM`, just let kernel exit us

Followup from discussion in
https://github.com/ostreedev/ostree/pull/2544#discussion_r958840936

This is more efficient; no need to have the kernel context switch
us in at shutdown time just so we can turn around and call
`exit()`.

3 years agoMerge pull request #2544 from dbnicholson/finalize-block
Colin Walters [Tue, 30 Aug 2022 19:12:32 +0000 (15:12 -0400)]
Merge pull request #2544 from dbnicholson/finalize-block

finalize-staged: Ensure /boot and /sysroot automounts don't expire

3 years agofinalize-staged: Ensure /boot automount doesn't expire
Dan Nicholson [Wed, 16 Feb 2022 22:58:58 +0000 (15:58 -0700)]
finalize-staged: Ensure /boot automount doesn't expire

If `/boot` is an automount, then the unit will be stopped as soon as the
automount expires. That's would defeat the purpose of using systemd to
delay finalizing the deployment until shutdown. This is not uncommon as
`systemd-gpt-auto-generator` will create an automount unit for `/boot`
when it's the EFI System Partition and there's no fstab entry.

To ensure that systemd doesn't stop the service early when the `/boot`
automount expires, introduce a new unit that holds `/boot` open until
it's sent `SIGTERM`. This uses a new `--hold` option for
`finalize-staged` that loads but doesn't lock the sysroot. A separate
unit is used since we want the process to remain active throughout the
finalization run in `ExecStop`. That wouldn't work if it was specified
in `ExecStart` in the same unit since it would be killed before the
`ExecStop` action was run.

Fixes: #2543
3 years agomain: Factor out sysroot loading
Dan Nicholson [Tue, 30 Aug 2022 14:38:36 +0000 (08:38 -0600)]
main: Factor out sysroot loading

It can be useful to parse the options and initialize the sysroot without
actually loading it until later. Factor out the sysroot loading to a new
`ostree_admin_sysroot_load` and add a new
`OSTREE_ADMIN_BUILTIN_FLAG_NO_LOAD` flag to accommodate this.

3 years agoMerge pull request #2695 from HuijingHei/kargs-stage
Colin Walters [Mon, 29 Aug 2022 12:23:15 +0000 (08:23 -0400)]
Merge pull request #2695 from HuijingHei/kargs-stage

Fix `ostree admin kargs edit-in-place` assertion when deployments are pending

3 years agoFix `ostree admin kargs edit-in-place` assertion when deployments
Huijing Hei [Fri, 19 Aug 2022 03:31:46 +0000 (11:31 +0800)]
Fix `ostree admin kargs edit-in-place` assertion when deployments
are pending

This is to support pending deployments instead of rasing assertion.
For example:
```
$ sudo rpm-ostree kargs --append=foo=bar
$ sudo ostree admin kargs edit-in-place --append-if-missing=foobar
```
After reboot we get both `foo=bar foobar`.

Fix https://github.com/ostreedev/ostree/issues/2679

3 years agoMerge pull request #2701 from cgwalters/bind-list-commits
Colin Walters [Wed, 24 Aug 2022 16:03:58 +0000 (12:03 -0400)]
Merge pull request #2701 from cgwalters/bind-list-commits

 rust: Bind `ostree_repo_list_commits_starting_with`

3 years agorust: Bind `ostree_repo_list_commits_starting_with`
Colin Walters [Mon, 22 Aug 2022 18:10:16 +0000 (14:10 -0400)]
rust: Bind `ostree_repo_list_commits_starting_with`

I wanted to use this as a fallback for
https://github.com/ostreedev/ostree-rs-ext/pull/351/commits/30dee81c22ad5cb90e77198d3ddbcc25d388afb5

3 years agoMerge pull request #2702 from thesamesam/bashism
Luca Bruno [Wed, 24 Aug 2022 13:24:35 +0000 (13:24 +0000)]
Merge pull request #2702 from thesamesam/bashism

buildutil/glibtests.m4: fix bashism

3 years agoMerge pull request #2700 from jlebon/pr/staged-docs
Luca Bruno [Wed, 24 Aug 2022 13:17:41 +0000 (13:17 +0000)]
Merge pull request #2700 from jlebon/pr/staged-docs

docs: Add section about staged deployments

3 years agobuildutil/glibtests.m4: fix bashism
Sam James [Tue, 23 Aug 2022 22:37:06 +0000 (23:37 +0100)]
buildutil/glibtests.m4: fix bashism

configure scripts need to be runnable with a POSIX-compliant /bin/sh.

On many (but not all!) systems, /bin/sh is provided by Bash, so errors
like this aren't spotted. Notably Debian defaults to /bin/sh provided
by dash which doesn't tolerate such bashisms as '=='.

This retains compatibility with bash.

Fixes configure warnings/errors like:
```

checking whether to build static libraries... no
./configure: 14795: test: unexpected operator
```

Signed-off-by: Sam James <sam@gentoo.org>
3 years agoMerge pull request #2698 from cgwalters/update-gir
Jonathan Lebon [Tue, 23 Aug 2022 18:53:36 +0000 (14:53 -0400)]
Merge pull request #2698 from cgwalters/update-gir

3 years agodocs: Add section about staged deployments
Jonathan Lebon [Tue, 23 Aug 2022 14:56:28 +0000 (10:56 -0400)]
docs: Add section about staged deployments

I was explaining staged deployments to someone today and was looking for
a doc but we didn't have any. Fix that.

3 years agoMerge pull request #2699 from cgwalters/drop-debian-testing
Dan Nicholson [Tue, 23 Aug 2022 07:35:40 +0000 (01:35 -0600)]
Merge pull request #2699 from cgwalters/drop-debian-testing

ci: Also drop seccomp on debian testing

3 years agoci: Also drop seccomp on debian testing
Colin Walters [Mon, 22 Aug 2022 19:59:33 +0000 (15:59 -0400)]
ci: Also drop seccomp on debian testing

I didn't deep dive into debugging this but I'm pretty sure it's
 https://gitlab.gnome.org/GNOME/glib/-/issues/2580
which is us having an older Docker in the middle here.

3 years agorust: Update to latest git
Colin Walters [Mon, 22 Aug 2022 18:23:03 +0000 (14:23 -0400)]
rust: Update to latest git

In the future I may try to add CI that requires this to be
sync'd...

3 years agoMerge pull request #2692 from GeorgesStavracas/gbsneto/transaction-leak
Colin Walters [Mon, 22 Aug 2022 18:25:07 +0000 (14:25 -0400)]
Merge pull request #2692 from GeorgesStavracas/gbsneto/transaction-leak

lib/commit: Unref repo on success

3 years agoMerge pull request #2697 from tkfu/docs/add-related-projects
Colin Walters [Fri, 19 Aug 2022 14:53:56 +0000 (10:53 -0400)]
Merge pull request #2697 from tkfu/docs/add-related-projects

docs: Add aktualizr and TorizonCore to related projects

3 years agodocs: Add aktualizr and TorizonCore to related projects
Jon Oster [Fri, 19 Aug 2022 14:27:01 +0000 (16:27 +0200)]
docs: Add aktualizr and TorizonCore to related projects

Signed-off-by: Jon Oster <jon.oster@toradex.com>
3 years agoMerge pull request #2693 from lucab/ups/libostree-fix-annotation
Joseph Marrero Corchado [Fri, 19 Aug 2022 11:31:24 +0000 (07:31 -0400)]
Merge pull request #2693 from lucab/ups/libostree-fix-annotation

libostree: fix a typo in annotation

3 years agolibostree: fix a typo in annotation
Luca BRUNO [Fri, 19 Aug 2022 10:39:09 +0000 (10:39 +0000)]
libostree: fix a typo in annotation

This fixes a typo in the `allow-none` annotation on
`ostree_sysroot_deployment_set_kargs_in_place` argument.

3 years agoMerge pull request #2691 from cgwalters/rev-parse-single
Jonathan Lebon [Thu, 18 Aug 2022 16:07:19 +0000 (12:07 -0400)]
Merge pull request #2691 from cgwalters/rev-parse-single

3 years agocli/rev-parse: Add `--single` option
Colin Walters [Tue, 16 Aug 2022 21:27:46 +0000 (17:27 -0400)]
cli/rev-parse: Add `--single` option

In the current "ostree native container" flow, we're inserting
a commit object into the repo but with no refs.

We have hacks in a few places to find the commit digest via e.g.
`find repo/objects -name *.commit` but that's a horrible hack.
Add `ostree rev-parse --single` which will print the single commit,
and error out if there is not exactly one commit.

Co-authored-by: Jonathan Lebon <jonathan@jlebon.com>
3 years agoMerge pull request #2690 from cgwalters/cli-less-goto-1
Luca Bruno [Wed, 17 Aug 2022 07:21:55 +0000 (07:21 +0000)]
Merge pull request #2690 from cgwalters/cli-less-goto-1

cli/rev-parse: Port to new code style

3 years agolib/commit: Unref repo on success
Georges Basile Stavracas Neto [Tue, 16 Aug 2022 22:54:29 +0000 (19:54 -0300)]
lib/commit: Unref repo on success

Commit 540e60c3 introduced _ostree_repo_auto_transaction_new(), a
private constructor to OstreeRepoAutoTransaction, by factoring out
some code from _ostree_repo_auto_transaction_start(). This factored
code increased the refcount of the 'repo' variable.

Subsequent commit 71304e854c made ostree_repo_prepare_transaction()
use ths newly introduced constructor. However, in this function, the
happy path assumed no ref was taken, and therefore did not unref it.
Commit 71304e854c didn't add the corresponding unref either.

This leaks a reference to OstreeRepo when calling
ostree_repo_prepare_transaction().

Plug this leak by using g_clear_object() to clear the repo field
of OstreeRepoAutoTransaction, instead of simply setting it to NULL.

Closes https://github.com/flatpak/flatpak/issues/4928

3 years agocli/rev-parse: Port to new code style
Colin Walters [Tue, 16 Aug 2022 21:11:30 +0000 (17:11 -0400)]
cli/rev-parse: Port to new code style

Prep for future changes.

3 years agoMerge pull request #2684 from ostreedev/dependabot/submodules/libglnx-26375b5
Jonathan Lebon [Tue, 16 Aug 2022 13:03:07 +0000 (09:03 -0400)]
Merge pull request #2684 from ostreedev/dependabot/submodules/libglnx-26375b5

3 years agobuild(deps): bump libglnx from `c59eb27` to `26375b5`
dependabot[bot] [Tue, 16 Aug 2022 07:28:21 +0000 (07:28 +0000)]
build(deps): bump libglnx from `c59eb27` to `26375b5`

Bumps libglnx from `c59eb27` to `26375b5`.

---
updated-dependencies:
- dependency-name: libglnx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #2689 from jlebon/pr/ficlone-direct-payload
Colin Walters [Mon, 15 Aug 2022 22:33:55 +0000 (18:33 -0400)]
Merge pull request #2689 from jlebon/pr/ficlone-direct-payload

lib/commit: Directly use FICLONE for payload link

3 years agotests/kolainst/staged-deploy: parse `rpm-ostree status --json` instead
Jonathan Lebon [Mon, 15 Aug 2022 21:50:11 +0000 (17:50 -0400)]
tests/kolainst/staged-deploy: parse `rpm-ostree status --json` instead

Don't parse `rpm-ostree status` output, it's not meant for that. Use
`--json` output instead.

While we're here, fix an obsolete reference to Ansible.

Related: https://github.com/coreos/rpm-ostree/pull/3938

3 years agolib/commit: Directly use FICLONE for payload link
Jonathan Lebon [Mon, 15 Aug 2022 17:54:35 +0000 (13:54 -0400)]
lib/commit: Directly use FICLONE for payload link

The idea of payload linking is to reflink between objects where
possible. Instead of relying on `glnx_regfile_copy_bytes` to hit the
`FICLONE` path, just call `FICLONE` directly. At that point in the code,
we've already established that the source and dest repos are on the same
filesystem and that it supports `FICLONE`.

Related: https://gitlab.gnome.org/GNOME/libglnx/-/merge_requests/41
Related: https://github.com/ostreedev/ostree/pull/2684#issuecomment-1204068437

3 years agoMerge pull request #2688 from LukasKalbertodt/main
Colin Walters [Sat, 13 Aug 2022 18:02:07 +0000 (14:02 -0400)]
Merge pull request #2688 from LukasKalbertodt/main

Update to `libtest-mimic` 0.5.0

3 years agoUpdate to `libtest-mimic` 0.5.0
Lukas Kalbertodt [Sat, 13 Aug 2022 14:14:23 +0000 (16:14 +0200)]
Update to `libtest-mimic` 0.5.0

3 years agoRelease to unstable
Simon McVittie [Fri, 5 Aug 2022 09:00:13 +0000 (10:00 +0100)]
Release to unstable

3 years agoMake fast forward from 2022.5-1
Simon McVittie [Fri, 5 Aug 2022 09:00:02 +0000 (10:00 +0100)]
Make fast forward from 2022.5-1

[dgit --quilt=unapplied]

3 years agoSkip test-pull-repeated during CI
Simon McVittie [Mon, 30 Jul 2018 15:51:01 +0000 (16:51 +0100)]
Skip test-pull-repeated during CI

This test is expected to fail a small proportion of the time. During
the build of ostree 2018.7-1 in Debian, it seems we were unlucky on
s390x. Non-deterministic tests are also problematic for autopkgtest,
where they can gate migration of our dependencies like GLib, so skip
this test unless the caller has opted-in to non-deterministic tests.

It would be appropriate to enable this test in environments where
failures can easily be retried and are not disruptive to other
packages.

Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-test-pull-repeated-during-CI.patch

3 years agoBuild with libcurl http backend instead of libsoup2.4
Simon McVittie [Fri, 5 Aug 2022 08:57:41 +0000 (09:57 +0100)]
Build with libcurl http backend instead of libsoup2.4

This avoids library conflicts during the transition to GNOME 43, in
which core apps and libraries have switched to libsoup3, which conflicts
with libsoup2.4.

We still build-depend on libsoup2.4, because it's used in the test suite
and installed-tests.

Closes: #1016589
3 years agoMerge pull request #2686 from cgwalters/include-cleanups
Luca Bruno [Thu, 4 Aug 2022 07:02:08 +0000 (07:02 +0000)]
Merge pull request #2686 from cgwalters/include-cleanups

Handle conflicts between newer glibc and kernel headers

3 years agoMove FIFREEZE/FITHAW ioctl invocations into linuxfsutil.c
Colin Walters [Wed, 3 Aug 2022 14:43:43 +0000 (10:43 -0400)]
Move FIFREEZE/FITHAW ioctl invocations into linuxfsutil.c

Should help avoid conflicts between glibc and linux headers.

Closes: https://github.com/ostreedev/ostree/issues/2685
3 years agoRemove unused `linux/fs.h` includes
Colin Walters [Wed, 3 Aug 2022 14:37:40 +0000 (10:37 -0400)]
Remove unused `linux/fs.h` includes

Prep for fixing conflicts introduced by newer glibc.
cc https://github.com/ostreedev/ostree/issues/2685

3 years agoMerge pull request #2683 from cgwalters/sync-deny
Luca Bruno [Wed, 3 Aug 2022 11:41:18 +0000 (11:41 +0000)]
Merge pull request #2683 from cgwalters/sync-deny

deny.toml: Add `Unicode-DFS-2016`

3 years agodeny.toml: Add `Unicode-DFS-2016`
Colin Walters [Mon, 1 Aug 2022 18:43:31 +0000 (14:43 -0400)]
deny.toml: Add `Unicode-DFS-2016`

This is used by the unicode crate now and is definitely a compatible
FOSS license.

3 years agoRelease to unstable
Simon McVittie [Tue, 26 Jul 2022 18:01:16 +0000 (19:01 +0100)]
Release to unstable

3 years agoMake fast forward from 2022.4-2
Simon McVittie [Tue, 26 Jul 2022 18:00:58 +0000 (19:00 +0100)]
Make fast forward from 2022.4-2

[dgit --quilt=unapplied]

3 years agoSkip test-pull-repeated during CI
Simon McVittie [Mon, 30 Jul 2018 15:51:01 +0000 (16:51 +0100)]
Skip test-pull-repeated during CI

This test is expected to fail a small proportion of the time. During
the build of ostree 2018.7-1 in Debian, it seems we were unlucky on
s390x. Non-deterministic tests are also problematic for autopkgtest,
where they can gate migration of our dependencies like GLib, so skip
this test unless the caller has opted-in to non-deterministic tests.

It would be appropriate to enable this test in environments where
failures can easily be retried and are not disruptive to other
packages.

Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-test-pull-repeated-during-CI.patch

3 years agoUpdate Lintian overrides
Simon McVittie [Tue, 26 Jul 2022 18:00:52 +0000 (19:00 +0100)]
Update Lintian overrides

3 years agoStandards-Version: 4.6.1 (no changes required)
Simon McVittie [Tue, 26 Jul 2022 18:00:43 +0000 (19:00 +0100)]
Standards-Version: 4.6.1 (no changes required)

3 years agoDrop patches that were applied upstream
Simon McVittie [Tue, 26 Jul 2022 17:21:35 +0000 (18:21 +0100)]
Drop patches that were applied upstream

3 years agod/copyright: Update
Simon McVittie [Tue, 26 Jul 2022 17:17:30 +0000 (18:17 +0100)]
d/copyright: Update

3 years agoUpdate ABI symbols
Simon McVittie [Tue, 26 Jul 2022 17:15:41 +0000 (18:15 +0100)]
Update ABI symbols

3 years agoNew upstream release
Simon McVittie [Tue, 26 Jul 2022 17:15:27 +0000 (18:15 +0100)]
New upstream release

3 years agoUpdate upstream source from tag 'upstream/2022.5'
Simon McVittie [Tue, 26 Jul 2022 17:09:23 +0000 (18:09 +0100)]
Update upstream source from tag 'upstream/2022.5'

Update to upstream version '2022.5'
with Debian dir d2f2e62c69b4b0b4d41b516761da97f36a138848

3 years agoNew upstream version 2022.5
Simon McVittie [Tue, 26 Jul 2022 17:09:15 +0000 (18:09 +0100)]
New upstream version 2022.5