rpm-ostree/rust
Jonathan Lebon 317b920667 extensions: Add support for development extensions
In RHCOS, we ship kernel development-related packages as an extension.
Those aren't really extensions that are meant to be layered onto the
host.  They're meant to be used in a build environment somewhere to
compile kernel modules.

This makes it very different from "OS extensions" in at least two
drastic ways:
1. we don't want to do any depsolving (e.g. we don't want to pull in
   `gcc` or something)
2. some of those packages may be present in the base already, but we
   still want to redownload them

Hesitated putting this functionality in rpm-ostree, but I think in the
end it cuts from the benefit of moving this code to rpm-ostree if we
can't entirely get rid of the Python script it obsoletes. Plus, being
able to use the `match-base-evr` is still really useful for this use
case.

Let's add a new `kind` key to support this. The traditional extensions
are called "OS extensions" and these new extensions are called
"development extensions".

The latter is not yet part of the state checksum, so change detection
doesn't work there. I think that's fine for now though because the
primary use case is the kernel, and there we want to match the base
version. So if the kernel changes, the base would change too. (Though
there's the corner case of adding a new package to the list while at the
same version...)
2021-02-03 12:22:38 -05:00
..
libdnf-sys rust/libdnf-sys: Drop Cargo.lock 2020-10-26 16:51:04 +01:00
src extensions: Add support for development extensions 2021-02-03 12:22:38 -05:00
.gitignore Add testutils generate-synthetic-upgrade 2020-08-18 17:23:15 +02:00
LICENSE-APACHE Clarify license situation to include GPLv2, relicense Rust code 2019-09-05 20:49:18 +00:00
LICENSE-MIT Clarify license situation to include GPLv2, relicense Rust code 2019-09-05 20:49:18 +00:00