Colin Walters [Mon, 20 Nov 2023 14:47:40 +0000 (09:47 -0500)]
lib: Don't hardcode year in sample symver section
The 2021 was misleading.
Colin Walters [Mon, 20 Nov 2023 14:45:39 +0000 (09:45 -0500)]
devel: Fix symbol versioning number
The .11 was wrong.
Colin Walters [Tue, 14 Nov 2023 22:40:08 +0000 (17:40 -0500)]
Merge pull request #3095 from alexlarsson/fix-post-copy-symlinks
Fix admin post-copy handling of symlinks
Alexander Larsson [Tue, 14 Nov 2023 21:36:58 +0000 (22:36 +0100)]
Fix admin post-copy handling of symlinks
The code to enable fs-verity on an object file was failing with ENOENT
for symlink objects.
Colin Walters [Tue, 14 Nov 2023 14:01:41 +0000 (09:01 -0500)]
Merge pull request #3094 from alexlarsson/admin-deploy-post-copy
Add `ostree admin post-copy` command
Alexander Larsson [Mon, 13 Nov 2023 16:33:57 +0000 (17:33 +0100)]
Add `ostree admin post-copy` command
This command will apply fs-verity on all objects that need it and
needs to be called when an ostree deployment has been copied on a
file-by-file basis, which would loose information such as fs-verity.
This is needed by osbuild which works by creating the final image in a
rootfs, and then separately copying that rootfs file-by-file to a
loopback mounted filesystem image.
Eric Curtin [Fri, 10 Nov 2023 16:39:13 +0000 (16:39 +0000)]
Merge pull request #3091 from cgwalters/fix-soup3
build-sys: Enable libsoup3 by default if installed
Colin Walters [Fri, 10 Nov 2023 01:53:52 +0000 (20:53 -0500)]
unlock: Don't pass options again to overlayfs
There seems to be a tricky regression here with the util-linux
support for the new mount API, plus overlays support for it.
```
[2023-11-09T21:05:30.633Z] Nov 09 21:05:26 qemu0 kola-runext-unlock-transient.sh[2108]: + unshare -m -- /bin/sh -c 'mount -o remount,rw /usr && echo hello from transient unlock >/usr/share/writable-usr-test'
[2023-11-09T21:05:30.633Z] Nov 09 21:05:26 qemu0 kola-runext-unlock-transient.sh[2148]: mount: /usr: mount point not mounted or bad option.
[2023-11-09T21:05:30.633Z] Nov 09 21:05:26 qemu0 kola-runext-unlock-transient.sh[2148]: dmesg(1) may have more information after failed mount system call.
```
OK this seems related to the new mount API support in util-linux and overlayfs. From a strace:
```
2095 open_tree(AT_FDCWD, "/usr", OPEN_TREE_CLOEXEC) = 3
2095 mount_setattr(-1, NULL, 0, NULL, 0) = -1 EINVAL (Invalid argument)
...
2095 fspick(3, "", FSPICK_NO_AUTOMOUNT|FSPICK_EMPTY_PATH) = 4
2095 fsconfig(4, FSCONFIG_SET_FLAG, "seclabel", NULL, 0) = 0
2095 fsconfig(4, FSCONFIG_SET_STRING, "lowerdir", "usr", 0) = -1 EINVAL (Invalid argument)
```
I think the core problem here is it's trying to reconfigure the mount with existing options,
but in the new mount namespace we can't see the lowerdir.
Here we really really just want to remount writable. Telling
util-linux to not pass existing options fixes it.
Colin Walters [Thu, 9 Nov 2023 20:21:47 +0000 (15:21 -0500)]
Merge pull request #3093 from cgwalters/rust-alias-stateroot
rust: Add a `stateroot()` alias in the Rust bindings
Colin Walters [Thu, 9 Nov 2023 19:08:41 +0000 (14:08 -0500)]
tests: Work around systemd regression for boot id parsing
cc https://github.com/systemd/systemd/issues/29275
Colin Walters [Thu, 9 Nov 2023 19:53:53 +0000 (14:53 -0500)]
rust: Add a `stateroot()` alias in the Rust bindings
Easy to do here, super annoying in C.
Colin Walters [Thu, 9 Nov 2023 00:58:27 +0000 (19:58 -0500)]
build-sys: Enable libsoup3 by default if installed
In f39 we switched to libsoup3 by default; this ensures our CI
picks that up automatically so we still have ostree-trivial-httpd.
Colin Walters [Thu, 9 Nov 2023 00:59:31 +0000 (19:59 -0500)]
Merge pull request #3089 from cgwalters/fix-undeploy-parsing
undeploy: Parse integer more properly
Colin Walters [Wed, 8 Nov 2023 21:15:01 +0000 (16:15 -0500)]
undeploy: Parse integer more properly
`atoi` doesn't offer any error checking.
Closes: https://github.com/ostreedev/ostree/issues/3088
Colin Walters [Tue, 7 Nov 2023 21:42:07 +0000 (16:42 -0500)]
Merge pull request #3080 from nikita-dubrovskii/s390x_secure_boot
lib/bootloader-zipl: Check for Secure Boot before zipl
Nikita Dubrovskii [Tue, 17 Oct 2023 14:10:34 +0000 (16:10 +0200)]
lib/bootloader-zipl: Check for Secure Boot before zipl
Jonathan Lebon [Tue, 24 Oct 2023 20:40:12 +0000 (16:40 -0400)]
Merge pull request #3085 from cgwalters/s390x-units
Colin Walters [Tue, 24 Oct 2023 14:40:51 +0000 (10:40 -0400)]
bootloader/zipl: No-op if run as non-root
Closes: https://github.com/ostreedev/ostree/issues/3084
Not the most elegant fix but should get the job done.
Colin Walters [Fri, 20 Oct 2023 14:56:55 +0000 (10:56 -0400)]
Merge pull request #3083 from cgwalters/release
Release 2023.7
Colin Walters [Fri, 20 Oct 2023 13:26:09 +0000 (09:26 -0400)]
configure: post-release version bump
Colin Walters [Fri, 20 Oct 2023 13:24:56 +0000 (09:24 -0400)]
Release 2023.7
Colin Walters [Fri, 20 Oct 2023 13:36:10 +0000 (09:36 -0400)]
Merge pull request #3081 from jlebon/pr/log-selinux-refresh
lib/deploy: Log SELinux policy refresh
Jonathan Lebon [Thu, 19 Oct 2023 15:35:25 +0000 (11:35 -0400)]
lib/deploy: Log SELinux policy refresh
I have a suspicion that the `semodule -N --refresh` we do here is
involved in https://github.com/coreos/fedora-coreos-tracker/issues/1597.
Let's log when we execute it and include its time.
While we're here, also log the time it takes to `syncfs()` and the
fsfreeze/thaw cycling. It's logged in a structured journal entry, but
that's less accessible than just having it in the journal message field.
Colin Walters [Wed, 18 Oct 2023 13:07:46 +0000 (09:07 -0400)]
Merge pull request #2843 from jmarrero/retry
ostree-fetcher-curl: handle non 404 errors as G_IO_ERROR_TIMED_OUT
Joseph Marrero [Mon, 3 Apr 2023 23:04:57 +0000 (19:04 -0400)]
ostree-repo-pull: add options to configure retry behavior
This introduces the "retry-all-network-errors" option which
is enabled by default. This is a behavior change as now
ostree will retry on requests that fail except when
they fail with NOT_FOUND. It also introduces the options
"low-speed-limit-bytes" and "low-speed-time-seconds these"
map to CURL options only at the moment. Which have defaults
set following librepo:
https://github.com/rpm-software-management/librepo/blob/
7c9af219abd49f8961542b7622fc82cfdaa572e3/librepo/handle.h#L90
https://github.com/rpm-software-management/librepo/blob/
7c9af219abd49f8961542b7622fc82cfdaa572e3/librepo/handle.h#L96
Currently these changes only apply when using libcurl.
Finally this change adds a final option that affects all
backends to control the max amount of connections of the
fetcher "max-outstanding-fetcher-requests".
Colin Walters [Tue, 17 Oct 2023 13:44:24 +0000 (09:44 -0400)]
Merge pull request #3078 from HuijingHei/karg-delete-array
karg-delete: support multiple times
HuijingHei [Tue, 17 Oct 2023 12:23:07 +0000 (20:23 +0800)]
doc: add `ostree admin deploy` option `--karg-delete`
HuijingHei [Mon, 16 Oct 2023 02:56:59 +0000 (10:56 +0800)]
karg-delete: support multiple times
Fix https://github.com/ostreedev/ostree/pull/2612#issuecomment-
1764412141
Colin Walters [Mon, 16 Oct 2023 14:24:10 +0000 (10:24 -0400)]
Merge pull request #3075 from cgwalters/reenable-composefs
tests: Use ext4, re-enable composefs test
Joseph Marrero Corchado [Fri, 13 Oct 2023 20:05:44 +0000 (16:05 -0400)]
Merge pull request #3077 from cgwalters/debug-finalization-lock
deploy: Remove lock when re-staging
Colin Walters [Fri, 13 Oct 2023 17:45:04 +0000 (13:45 -0400)]
deploy: Remove lock when re-staging
This closes the biggest foot-gun when doing e.g.
`rpm-ostree rebase` when zincati is running on a FCOS system.
Previously if zincati happened to have staged + locked a deployment,
we'd keep around the lock which is definitely not what is desired.
Colin Walters [Thu, 12 Oct 2023 22:24:00 +0000 (18:24 -0400)]
tests: Use ext4, re-enable composefs test
Until the XFS fsverity stuff lands.
Joseph Marrero Corchado [Thu, 12 Oct 2023 18:52:36 +0000 (14:52 -0400)]
Merge pull request #3074 from cgwalters/more-errcontext-composefs
composefs: Add more error prefixing
Joseph Marrero Corchado [Thu, 12 Oct 2023 18:49:28 +0000 (14:49 -0400)]
Merge pull request #3073 from cgwalters/context-no-stateroot
deploy: Improve error message for nonexistent stateroot
Colin Walters [Thu, 12 Oct 2023 17:30:38 +0000 (13:30 -0400)]
composefs: Add more error prefixing
To help debug https://github.com/coreos/rpm-ostree/issues/4649
Colin Walters [Thu, 12 Oct 2023 17:22:00 +0000 (13:22 -0400)]
deploy: Improve error message for nonexistent stateroot
Came up on an internal chat; previously we were only erroring
out when trying to do the SELinux labeling for `/var` which
was really misleading.
Add some other error prefixing while we have the patient open.
Colin Walters [Thu, 12 Oct 2023 16:21:27 +0000 (12:21 -0400)]
Merge pull request #3062 from alexlarsson/transient-etc
Support transient /etc
Alexander Larsson [Fri, 29 Sep 2023 11:37:22 +0000 (13:37 +0200)]
Support transient /etc
If the `prepare-root.conf` file contains:
```
[etc]
transient=yes
```
Then during prepare-root, an overlayfs is mounted as /etc, with the
upper dir being in /run. If composefs is used, the lower dir is
`usr/etc` from the composefs image , or it is the deployed
`$deploydir/usr/etc`.
Note that for this to work with selinux, the commit must have been
built with OSTREE_REPO_COMMIT_MODIFIER_FLAGS_USRETC_AS_ETC. Otherwise
the lowerdir (/usr/etc) will have the wrong selinux contexts for the
final location of the mount (/etc).
We also set the transient-etc key in the ostree-booted file, pointing it
to the directory that is used for the overlayfs.
There are some additional work happening in ostree-remount, mostly
related to selinux (as this needs to happen post selinux policy
load):
* Recent versions of selinux-poliy have issues with the overlayfs
mount being kernel_t, and that is not allowed to manage files as
needed. This is fixed in
https://github.com/fedora-selinux/selinux-policy/pull/1893
* Any /etc files created in the initramfs will not be labeled,
because the selinux policy has not been loaded. In addition, the
upper dir is on a tmpfs, and any manually set xattr-based selinux
labels on those are reset during policy load. To work around this
ostree-remount will relabel all files on /etc that have
corresponding files in overlayfs upper dir.
* During early boot, systemd mounts /run/machine-id on top of
/etc/machine-id (as /etc is readonly). Later during boot, when etc
is readwrite, systemd-machine-id-commit.service will remove the
mount and update the real file under it with the right content. To
ensure that this keeps working, we need to ensure that when we
relabel /etc/machine-id we relabel the real (covered) file, not the
temporary bind-mount.
* ostree-remount no longer needs to remount /etc read-only in the
transient-etc case.
Signed-off-by: Alexander Larsson <alexl@redhat.com>
Colin Walters [Thu, 12 Oct 2023 14:25:40 +0000 (10:25 -0400)]
Merge pull request #3072 from alexlarsson/fix-whiteout-test
tests: Fix whiteout test
Colin Walters [Thu, 12 Oct 2023 11:57:05 +0000 (07:57 -0400)]
Merge pull request #3063 from cgwalters/label-usretc-as-etc
repo: Add an option to label /usr/etc as /etc
Alexander Larsson [Thu, 12 Oct 2023 08:18:36 +0000 (10:18 +0200)]
tests: Fix whiteout test
This test was always skipped, because the check:
if touch overlay/baz/.wh.cow &&
touch overlay/.wh.deeper &&
touch overlay/baz/another/.wh..wh..opq; then
always fails due to the missing overlay/baz/another directory.
Fix by creating the directory.
Colin Walters [Mon, 2 Oct 2023 15:05:31 +0000 (11:05 -0400)]
repo: Add an option to label /usr/etc as /etc
This will be very useful for enabling a "transient /etc" option
because we won't have to do hacks relabling in the initramfs, or
forcing it on just for composefs.
Jonathan Lebon [Wed, 11 Oct 2023 16:03:39 +0000 (12:03 -0400)]
Merge pull request #3067 from cgwalters/ci-composefs
Colin Walters [Wed, 11 Oct 2023 12:15:25 +0000 (08:15 -0400)]
ci: Disable composefs test for now
Need to change the framework to boot with an Ignition config
that switches to ext4 soon.
Colin Walters [Thu, 5 Oct 2023 23:54:54 +0000 (19:54 -0400)]
ci: Ensure composefs+openssl are is enabled on Fedora
For some reason we're not picking this up in the Prow build,
which breaks things because now rpm-ostree hard requires it.
Let's make this a fatal build time error for more clear
debugging.
Colin Walters [Tue, 3 Oct 2023 14:08:36 +0000 (10:08 -0400)]
Merge pull request #3060 from owtaylor/export-hardlinks
When exporting, use hardlinks for duplicated files
Owen W. Taylor [Fri, 29 Sep 2023 16:09:04 +0000 (12:09 -0400)]
When exporting, use hardlinks for duplicated files
For ostree_repo_export_tree_to_archive(), and 'ostree export', when the
exported tree contains multiple files with the same checksum, write an
archive with hard links.
Without this, importing a tree, then exporting it again breaks
hardlinks.
As an example of savings: this reduces the (compressed) size of the
Fedora Flatpak Runtime image from 1345MiB to 712MiB.
Resolves: #2925
Colin Walters [Thu, 28 Sep 2023 13:12:44 +0000 (09:12 -0400)]
Merge pull request #3049 from jlebon/pr/revert-virtiofs-hack
Revert "ci: Run cosa unprivileged"
Jonathan Lebon [Thu, 28 Sep 2023 12:18:16 +0000 (08:18 -0400)]
Merge pull request #3059 from cgwalters/zipl-default-s390x
Jonathan Lebon [Tue, 19 Sep 2023 18:41:36 +0000 (14:41 -0400)]
Revert "ci: Run cosa unprivileged"
This reverts commit
2fe88f80fae83e206f811003a072c73ceebcea59.
This shouldn't be necessary now with the workaround built in cosa:
https://github.com/coreos/coreos-assembler/pull/3625
Colin Walters [Wed, 27 Sep 2023 23:34:30 +0000 (19:34 -0400)]
Merge pull request #3046 from ostreedev/dependabot/submodules/composefs-
cca8be4
build(deps): bump composefs from `
af86742` to `
cca8be4`
Colin Walters [Wed, 27 Sep 2023 15:41:55 +0000 (11:41 -0400)]
repo: Default bootloader to zipl on s390x
This will allow us to drop code like
https://github.com/coreos/coreos-assembler/blob/
87fc693c115eae1e7ff0e1621ce26c9167af6e84/src/create_disk.sh#L503
which is really just unnecessary since there aren't any other
bootloaders we care about on this architecture.
Joseph Marrero Corchado [Wed, 27 Sep 2023 19:27:26 +0000 (15:27 -0400)]
Merge pull request #3058 from cgwalters/doc-authenticated-repos
docs: Add authenticated-repos.md
Colin Walters [Wed, 27 Sep 2023 18:02:25 +0000 (14:02 -0400)]
docs: Add authenticated-repos.md
Document options for accessing repositories that require authentication.
Colin Walters [Thu, 21 Sep 2023 23:50:05 +0000 (19:50 -0400)]
Merge pull request #3021 from cgwalters/insttest-composefs-binding
tests: Add an integration test for composefs signatures
Colin Walters [Thu, 21 Sep 2023 17:13:27 +0000 (13:13 -0400)]
Merge pull request #3053 from ericcurtin/add_overlay_and_erofs_to_initrd
boot/dracut: Add erofs and overlayfs kernel modules
Eric Curtin [Tue, 19 Sep 2023 13:32:10 +0000 (14:32 +0100)]
boot/dracut: Add erofs and overlayfs kernel modules
These kernel modules are required for composefs usage in the initramfs.
The composefs use-case as of today uses an overlayfs on top of EROFS.
Colin Walters [Tue, 29 Aug 2023 18:51:38 +0000 (14:51 -0400)]
tests: Add an integration test for composefs signatures
Ensure we have some automated test coverage for this.
Eric Curtin [Wed, 20 Sep 2023 13:18:31 +0000 (14:18 +0100)]
Merge pull request #3051 from cgwalters/rust-tests-update
rust/tests: Adjust for new ostree
Colin Walters [Wed, 20 Sep 2023 12:48:17 +0000 (08:48 -0400)]
Merge pull request #3052 from cgwalters/switch-libglnx-source
gitmodules: Use github GNOME mirror
Colin Walters [Wed, 20 Sep 2023 11:58:44 +0000 (07:58 -0400)]
gitmodules: Use github GNOME mirror
gitlab.gnome.org is down right now, but it's been somewhat
flaky in the past. Our CI uptime becomes an *intersection*
of all systems it depends on, and by cutting out gitlab.gnome.org
we increase its reliability.
Colin Walters [Tue, 19 Sep 2023 19:25:36 +0000 (15:25 -0400)]
tests: Rework detection of trivial-httpd
Because it's now at the toplevel.
Jonathan Lebon [Mon, 18 Sep 2023 15:08:13 +0000 (11:08 -0400)]
Merge pull request #3047 from ostreedev/dependabot/submodules/libglnx-
aff1eea
dependabot[bot] [Mon, 18 Sep 2023 12:18:48 +0000 (12:18 +0000)]
build(deps): bump libglnx from `
54ad67d` to `
aff1eea`
Bumps libglnx from `
54ad67d` to `
aff1eea`.
---
updated-dependencies:
- dependency-name: libglnx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Mon, 18 Sep 2023 12:18:47 +0000 (12:18 +0000)]
build(deps): bump composefs from `
af86742` to `
cca8be4`
Bumps [composefs](https://github.com/containers/composefs) from `
af86742` to `
cca8be4`.
- [Release notes](https://github.com/containers/composefs/releases)
- [Commits](https://github.com/containers/composefs/compare/
af867425799db92c92d35feb51d2c957f3e16ac7...
cca8be49843385ce556fccf51f75821f70fb7769)
---
updated-dependencies:
- dependency-name: composefs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Jonathan Lebon [Tue, 12 Sep 2023 13:10:11 +0000 (09:10 -0400)]
Merge pull request #3039 from cgwalters/rust-switch-include
Colin Walters [Fri, 8 Sep 2023 11:50:37 +0000 (07:50 -0400)]
rust: Switch to using `include`
This way we don't randomly pick up bits from the C library
unintentionally as things change on that side.
I think the support for `!` in `include` may be relatively new
and that's why the original author here chose to do things
via `exclude`. But using `include` with a few specific exclusions
is just way better.
Colin Walters [Mon, 11 Sep 2023 13:41:13 +0000 (09:41 -0400)]
Merge pull request #2054 from jlebon/pr/static-delta-fetch-no-scan
lib/pull: Don't scan commit objects we fetch via deltas
Jonathan Lebon [Mon, 11 Sep 2023 02:14:39 +0000 (22:14 -0400)]
lib/pull: Drop static delta superblocks references
We don't need them long-lived anymore. They were just used for reporting
at this point, but we can use the new `static_delta_targets` hash table
size for that now.
Jonathan Lebon [Sat, 9 Sep 2023 00:40:07 +0000 (20:40 -0400)]
ci: Run cosa unprivileged
As a workaround for a virtiofs bug:
https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/197
xref coreos/coreos-assembler#3428 (comment)
Just like in https://github.com/coreos/rpm-ostree/pull/4585.
Jonathan Lebon [Fri, 8 Sep 2023 20:54:29 +0000 (16:54 -0400)]
lib/pull: Don't scan commit objects we fetch via deltas
When we're fetching a commit via static delta, we already take care of
fetching the full commit, so there's no need to also scan it using the
regular object workflow.
Closes: #2053
Jonathan Lebon [Fri, 8 Sep 2023 20:50:47 +0000 (16:50 -0400)]
lib/pull: Fix miscounting of missing metadata
If e.g. detached metadata or a parent commit is missing, we
don't consider it an error but we erroneously still increment the
`n_fetched_metadata` counter, causing it to be higher than it should.
This will implicitly be tested by a test added in the next patch.
Jonathan Lebon [Fri, 8 Sep 2023 19:05:37 +0000 (15:05 -0400)]
app/pull-local: Add `--disable-static-delta`
For completeness with `pull`.
Prep for using it in testing to assert we'll never use static deltas.
Colin Walters [Fri, 8 Sep 2023 16:03:21 +0000 (12:03 -0400)]
Merge pull request #3038 from cgwalters/rust-drop-composefs
rust: Drop composefs from crate
Eric Curtin [Fri, 8 Sep 2023 11:52:44 +0000 (12:52 +0100)]
Merge pull request #3037 from cgwalters/add-labeler-flow
ci: Add an automatic labeler action
Colin Walters [Fri, 8 Sep 2023 11:37:10 +0000 (07:37 -0400)]
rust: Drop composefs from crate
This greatly reduces the size. TODO: switch to using `include`.
Colin Walters [Fri, 8 Sep 2023 11:24:56 +0000 (07:24 -0400)]
Merge pull request #3035 from cgwalters/release-rust
rust/sys: Also bump semver for this
Colin Walters [Thu, 7 Sep 2023 21:38:59 +0000 (17:38 -0400)]
ci: Add an automatic labeler action
To automate a bit.
Colin Walters [Thu, 7 Sep 2023 20:21:39 +0000 (16:21 -0400)]
Merge pull request #3030 from ostreedev/dependabot/submodules/composefs-
af86742
build(deps): bump composefs from `
d085fbf` to `
af86742`
Colin Walters [Thu, 7 Sep 2023 18:54:56 +0000 (14:54 -0400)]
rust/sys: Also bump semver for this
Since we bumped the glib major.
dependabot[bot] [Wed, 6 Sep 2023 13:39:35 +0000 (13:39 +0000)]
build(deps): bump composefs from `
d085fbf` to `
af86742`
Bumps [composefs](https://github.com/containers/composefs) from `
d085fbf` to `
af86742`.
- [Release notes](https://github.com/containers/composefs/releases)
- [Commits](https://github.com/containers/composefs/compare/
d085fbf6c8364f3781de7988b13c0f6dbf9e975b...
af867425799db92c92d35feb51d2c957f3e16ac7)
---
updated-dependencies:
- dependency-name: composefs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Colin Walters [Wed, 6 Sep 2023 13:32:33 +0000 (09:32 -0400)]
Merge pull request #3028 from ostreedev/dependabot/submodules/composefs-
d085fbf
build(deps): bump composefs from `
597a766` to `
d085fbf`
Colin Walters [Wed, 6 Sep 2023 13:06:04 +0000 (09:06 -0400)]
Merge pull request #3029 from cgwalters/bump-glib
rust: Port to glib 0.18
Colin Walters [Fri, 1 Sep 2023 12:36:16 +0000 (08:36 -0400)]
rust: Bump semver to 0.19
- New glib 0.18 dependency
- Drop cap-std APIs and features
- Other minor changes
Colin Walters [Thu, 31 Aug 2023 18:40:01 +0000 (14:40 -0400)]
rust: Port to glib 0.18
- Also rolls up a few other changes in the C API
- Drop `&mut` from `OstreeKernelArgs`; it now confuses type inference.
More generally while using `&mut` here was well intentioned, it
goes against the glib standard of mapping everything to `&` and
accepting interior mutability.
dependabot[bot] [Fri, 1 Sep 2023 12:27:47 +0000 (12:27 +0000)]
build(deps): bump composefs from `
597a766` to `
d085fbf`
Bumps [composefs](https://github.com/containers/composefs) from `
597a766` to `
d085fbf`.
- [Release notes](https://github.com/containers/composefs/releases)
- [Commits](https://github.com/containers/composefs/compare/
597a76609574cf9133d1e17ec0a7b99877a0b709...
d085fbf6c8364f3781de7988b13c0f6dbf9e975b)
---
updated-dependencies:
- dependency-name: composefs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Joseph Marrero Corchado [Thu, 31 Aug 2023 21:48:15 +0000 (17:48 -0400)]
Merge pull request #3027 from cgwalters/drop-cap-std-public
Drop cap-std from our public APIs
Colin Walters [Thu, 31 Aug 2023 20:33:07 +0000 (16:33 -0400)]
ci: Move lints into main build
And drop another hardcoded MSRV.
Colin Walters [Thu, 31 Aug 2023 19:23:57 +0000 (15:23 -0400)]
rust: Bump rust-version = 1.70
To pick up the new `AsFd` etc.
Colin Walters [Thu, 31 Aug 2023 18:08:15 +0000 (14:08 -0400)]
Drop cap-std from our public APIs
Since it bumped semver (when I didn't expect it to; xref
https://github.com/bytecodealliance/cap-std/commit/
963eebf3ab52b04a2e8b9ba88ce6308bbed5cbd0#r121651362
It's not load-bearing enough here to matter versus just passing
an untyped file descriptor.
This mainly means that it will be the `glib` ecosystem which
forces transitive semver bumps for us, not both.
Colin Walters [Thu, 31 Aug 2023 16:16:50 +0000 (12:16 -0400)]
Merge pull request #3018 from ostreedev/dependabot/submodules/composefs-
597a766
build(deps): bump composefs from `
1aed878` to `
597a766`
Eric Curtin [Thu, 31 Aug 2023 15:30:26 +0000 (16:30 +0100)]
Merge pull request #3012 from cgwalters/default-early-prune
sysroot: Promote the "early prune" behavior to default
Colin Walters [Thu, 24 Aug 2023 14:00:13 +0000 (10:00 -0400)]
sysroot: Promote the "early prune" behavior to default
I think we have enough testing for this, let's default it to
on, and change the variable to allow opt-out in case it does
introduce a regression.
Colin Walters [Wed, 30 Aug 2023 20:24:37 +0000 (16:24 -0400)]
Merge pull request #2968 from cgwalters/drop-global-syncfs-by-default
deploy: Remove global `sync` by default
Joseph Marrero Corchado [Wed, 30 Aug 2023 20:14:28 +0000 (16:14 -0400)]
Merge pull request #3024 from cgwalters/clang-analyzer-fixes-5
Clang analyzer fixes 5
dependabot[bot] [Tue, 29 Aug 2023 12:07:40 +0000 (12:07 +0000)]
build(deps): bump composefs from `
1aed878` to `
597a766`
Bumps [composefs](https://github.com/containers/composefs) from `
1aed878` to `
597a766`.
- [Release notes](https://github.com/containers/composefs/releases)
- [Commits](https://github.com/containers/composefs/compare/
1aed8781d6ce617234175d5d3b0458f91a6e38f3...
597a76609574cf9133d1e17ec0a7b99877a0b709)
---
updated-dependencies:
- dependency-name: composefs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Colin Walters [Wed, 30 Aug 2023 13:58:01 +0000 (09:58 -0400)]
Merge pull request #3023 from ostreedev/dependabot/submodules/libglnx-
54ad67d
build(deps): bump libglnx from `
c02eb59` to `
54ad67d`
Colin Walters [Wed, 30 Aug 2023 13:23:13 +0000 (09:23 -0400)]
commit: Quiet clang-analyzer warning
Another conditional ownership.
Colin Walters [Wed, 30 Aug 2023 13:19:42 +0000 (09:19 -0400)]
keyfile-utils: Quiet a clang-analyzer warning
It complains that we could leak memory if the return value
pointer isn't set. That's actually a nonsensical case, there's
no reason to call this and ignore the return value.
So change things to require it be set, and also change the
`g_return_val_if_fail` to be hard assertions per our new policy.
dependabot[bot] [Wed, 30 Aug 2023 12:21:09 +0000 (12:21 +0000)]
build(deps): bump libglnx from `
c02eb59` to `
54ad67d`
Bumps libglnx from `
c02eb59` to `
54ad67d`.
---
updated-dependencies:
- dependency-name: libglnx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>