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
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>
Colin Walters [Tue, 29 Aug 2023 16:25:42 +0000 (12:25 -0400)]
Merge pull request #3020 from cgwalters/less-return-if-fail-1
mutable-tree: Change some `g_return_if_fail` to `g_assert()`
Colin Walters [Tue, 29 Aug 2023 16:25:24 +0000 (12:25 -0400)]
Merge pull request #3019 from cgwalters/more-analyzer-fixes-4
mutable-tree: Quiet clang-analyzer warning
Colin Walters [Tue, 29 Aug 2023 14:15:52 +0000 (10:15 -0400)]
mutable-tree: Change some `g_return_if_fail` to `g_assert()`
We did this in some prior patches because it's better for
static analyzers; code is either reachable or not, and we don't
want the default desktop-style behavior of "try to stumble on
without crashing". It's just likely to lead to a crash somewhere
else.
Colin Walters [Tue, 29 Aug 2023 14:09:25 +0000 (10:09 -0400)]
mutable-tree: Quiet clang-analyzer warning
The warning here was about a use-after-free which is serious, but
I don't think it was reachable in practice, because we'd only
enter the second conditional if `contents_checksum != self->contents_checksum`,
yet we made them the same thing here.
Nevertheless, refactor the code to do a direct return in this
case because that's basically what happened before, and doing
so is a lot clearer.
Joseph Marrero Corchado [Tue, 29 Aug 2023 04:11:36 +0000 (00:11 -0400)]
Merge pull request #3017 from cgwalters/more-analyzer-fixes-3
More analyzer fixes 3
Colin Walters [Mon, 28 Aug 2023 21:29:57 +0000 (17:29 -0400)]
repo: Quiet clang-analyzer warning
Another conditional ownership.
Colin Walters [Mon, 28 Aug 2023 21:28:59 +0000 (17:28 -0400)]
commit: Quiet clang-analyzer warning
Another conditional ownership.
Colin Walters [Mon, 28 Aug 2023 21:28:20 +0000 (17:28 -0400)]
commit: Quiet clang-analyzer warning
Another conditional ownership.
Colin Walters [Mon, 28 Aug 2023 21:27:04 +0000 (17:27 -0400)]
lib/commit: Quiet clang-analyzer warning
Another conditional ownership.
Colin Walters [Mon, 28 Aug 2023 21:26:28 +0000 (17:26 -0400)]
lib/delta: Remove dead code
Found by clang-analyzer.
Colin Walters [Mon, 28 Aug 2023 20:10:58 +0000 (16:10 -0400)]
Merge pull request #3016 from cgwalters/more-analyzer-fixes-2
More analyzer fixes 2
Colin Walters [Mon, 28 Aug 2023 14:44:15 +0000 (10:44 -0400)]
Merge pull request #2994 from cgwalters/refactor-composefs-warnings
Refactor composefs warnings
Colin Walters [Sat, 26 Aug 2023 16:26:39 +0000 (12:26 -0400)]
pull: Quiet clang-analyzer warning
Just used for side-effects.
Colin Walters [Sat, 26 Aug 2023 16:26:39 +0000 (12:26 -0400)]
commit: Quiet clang-analyzer warning
This is just another instance of the "conditionally owned"
pattern.
Colin Walters [Sat, 26 Aug 2023 16:23:36 +0000 (12:23 -0400)]
pull: Add assertions to quiet clang-analyzer
It's warning the value can be NULL, but I don't think that's true.
I believe we're just hitting analysis limit (the path length is 119).
Colin Walters [Sat, 26 Aug 2023 16:18:48 +0000 (12:18 -0400)]
lib/repo-finder: Squash memory leak
We want to free this value on each iteration; it's moved below
if the value is used.
Colin Walters [Sat, 26 Aug 2023 16:10:55 +0000 (12:10 -0400)]
Merge pull request #3013 from cgwalters/more-analyzer-fixes
2023.6 coverity minor fixes
Eric Curtin [Sat, 26 Aug 2023 12:13:24 +0000 (13:13 +0100)]
Merge pull request #3006 from cgwalters/misc-c99-style-5
Misc c99 style 5
Colin Walters [Fri, 25 Aug 2023 20:58:44 +0000 (16:58 -0400)]
switchroot: Use g_new/g_free consistently
Coverity complains about this, even though they're the same thing.
Colin Walters [Fri, 25 Aug 2023 20:57:12 +0000 (16:57 -0400)]
sign/
ed25519: Fix two memory leaks
Spotted by coverity.
Colin Walters [Fri, 25 Aug 2023 20:53:11 +0000 (16:53 -0400)]
commit: Drop dead code
Coverity points out that since we're now *always* initializing
metadata, the `create_empty_gvariant_dict()` is unreachable.
Colin Walters [Fri, 25 Aug 2023 19:54:20 +0000 (15:54 -0400)]
switchroot: Lower config parser to otcore, add unit tests
Part of the continuation of unit testing coverage.
Colin Walters [Mon, 21 Aug 2023 21:19:35 +0000 (17:19 -0400)]
composefs: Hard error except on ENOENT even in "optional" case
Since we enabled composefs at build time, the default (non-composefs)
case now always prints
`composefs: Optional support failed: No such file or directory`
But that's normal and expected.
Rework things here so that in the very special case where
we are in "maybe/optional" mode and we get ENOENT, then we
output a much more normal-looking message that doesn't include
the string "failed".
Now on the flip side - if I have explicitly enabled signature
checking, I think we *do* want to make that fatal even if
composefs is in "maybe" mode.
(This part is more debatable; perhaps we should just disallow
the case of "maybe" + signatures at all; but I think this is
an improvement in that direction)
Colin Walters [Mon, 21 Aug 2023 21:12:08 +0000 (17:12 -0400)]
prepare-root: Fold together composefs signature cases
Now that we don't support digest-but-not-signature verification
for composefs, the logic here was unnecessarily complicated.
With a prior prep patch that moved the composefs option
initialization up, we can just have everything related to signature
verification in a single conditonal.
Colin Walters [Mon, 21 Aug 2023 21:11:32 +0000 (17:11 -0400)]
prepare-root: Init composefs options earlier
Prep for a later patch.
Colin Walters [Mon, 21 Aug 2023 18:05:14 +0000 (14:05 -0400)]
prepare-root: Drop redundant print about signature/digest
We print if we're doing a signature+digest verification; its absence is
sufficient in the other case. The goal here is to avoid polluting
the logs when signatures are not enabled.
Colin Walters [Fri, 25 Aug 2023 15:11:17 +0000 (11:11 -0400)]
Merge pull request #3005 from cgwalters/release
Release
Colin Walters [Wed, 23 Aug 2023 21:34:33 +0000 (17:34 -0400)]
configure: post-release version bump
Colin Walters [Wed, 23 Aug 2023 21:33:27 +0000 (17:33 -0400)]
Release 2023.6
Joseph Marrero Corchado [Fri, 25 Aug 2023 01:13:07 +0000 (21:13 -0400)]
Merge pull request #3010 from cgwalters/more-composefs-fixes
build-sys: Really fix composefs check
Colin Walters [Thu, 24 Aug 2023 23:48:22 +0000 (19:48 -0400)]
build-sys: Really fix composefs check
The ordering of the includes apparently matters...and I didn't
actually check that the previous change enables composefs on c9s.
But I did now. For reals.
While we have the patient open, I switched to `AC_LANG_PROGRAM`
because I originally thought the bug had something to do with that.
As far as I understand, more cleanly separating the includes
from the injected body text is a useful thing in `AC_LANG_PROGRAM`.
Colin Walters [Thu, 24 Aug 2023 23:38:22 +0000 (19:38 -0400)]
Merge pull request #3009 from cgwalters/c9s-ci
C9s CI && composefs build detection fix
Joseph Marrero Corchado [Thu, 24 Aug 2023 22:01:26 +0000 (18:01 -0400)]
Merge pull request #3007 from cgwalters/optin-new-bootloader-naming
deploy: Add bootloader-naming-2 opt-in
Colin Walters [Thu, 24 Aug 2023 21:24:29 +0000 (17:24 -0400)]
build-sys: Look for both linux/mount.h and sys/mount.h
Since that's what composefs uses.
Colin Walters [Thu, 24 Aug 2023 21:21:07 +0000 (17:21 -0400)]
ci: Add c9s build
Since it's an active target of this project.
Colin Walters [Thu, 24 Aug 2023 15:45:22 +0000 (11:45 -0400)]
Merge pull request #3008 from ostreedev/maybe_ostree
prepare-root: If composefs is configured as "maybe" don't fail
Eric Curtin [Thu, 24 Aug 2023 14:20:25 +0000 (15:20 +0100)]
prepare-root: If composefs is configured as "maybe" don't fail
If composefs is configured as "maybe", we should continue even if
composefs support is not built in.
Colin Walters [Thu, 24 Aug 2023 13:40:54 +0000 (09:40 -0400)]
deploy: Add bootloader-naming-2 opt-init
I've verified that this fixes compatibility with GRUB, which
parses the filename:
https://github.com/ostreedev/ostree/issues/2961
However, out of a large degree of conservatism I've made this
an opt-in behavior for now.
My plan is to test it out in the FCOS development streams first.
Eric Curtin [Thu, 24 Aug 2023 08:59:46 +0000 (09:59 +0100)]
Merge pull request #3003 from cgwalters/prepare-root-oscore-and-units
Move prepare-root karg helpers into otcore, add unit tests
Colin Walters [Thu, 24 Aug 2023 01:22:49 +0000 (21:22 -0400)]
cmd/show-remote-url: Port to C99 style
Just keeping up momentum.