Commit graph

192 commits

Author SHA1 Message Date
schutzbot
6ed754946d Post release version bump
[skip ci]
2024-10-09 08:27:18 +00:00
Ondřej Budai
e5e3aad7b8 spec: remove unneeded dnf depedendency
This was added years ago in 3c19420b3e.
Back then, we were constructing the initial buildroot using dnf directly
(stages had network access at that point). We reworked this with the
introduction of the rpm stage, sources and an external depsolver. The
dnf stage itself was actually removed in
892342b978. Thus, I think we don't need
to pull dnf anymore, so this commit removes the dependency.
2024-09-26 12:11:13 +02:00
Yaakov Selkowitz
68b6481f54 spec: use python3-libdnf5 in RHEL 11 and ELN 2024-09-25 12:44:19 +02:00
schutzbot
186cf23255 Post release version bump
[skip ci]
2024-09-25 08:29:11 +00:00
Tomáš Hozza
ca1a21b923 Fix dependencies and test for DNF4 based osbuild-depsolve-dnf
For the DNF4 version, we actually use 'dnf' package and not 'libdnf'.
Fix the SPEC file dependencies and also the check in unit test.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-09-20 14:58:57 +02:00
schutzbot
59734733c0 Post release version bump
[skip ci]
2024-09-18 11:32:51 +00:00
schutzbot
6953ea89b4 Post release version bump
[skip ci]
2024-09-11 08:27:12 +00:00
schutzbot
d893e81004 Post release version bump
[skip ci]
2024-08-28 08:26:06 +00:00
schutzbot
347c0dec4a Post release version bump
[skip ci]
2024-08-21 17:07:31 +00:00
Michael Vogt
8a9c6aba3c osbuild: add "Conflicts" to avoid breaking older composer
osbuild 126 added a new "solver" field in the osbuild-dnf-json
output and osbuild-composer only supports this since 116.

This broke production (sorry!). This commit helps mitigate it.
2024-08-21 17:17:25 +02:00
schutzbot
761c03611b Post release version bump
[skip ci]
2024-08-14 08:26:53 +00:00
Brian C. Lane
d30fca16c6 spec: Use dnf >= 5.2.1 on Fedora 41 and later 2024-08-01 08:57:30 +02:00
Brian C. Lane
f17ab5cbaf osbuild-depsolve-dnf: refactor into osbuild.solver module
This moves the dnf and dnf5 code into a new osbuild module called
solver. The dnf specific code is in dnf.py and dnf5 is in dnf5.py

At runtime the osbuild-depsolve-dnf script reads a config file from
/usr/lib/osbuild/solver.json and imports the selected solver. This
currently just contains a 'use_dnf5' bool but can be extended to support
other configuration options or depsolvers.

At build time a config file is selected from tools/solver-dnf.json or
tools/solver-dnf5.json and installed. Currently dnf5 is not installed,
it will be added when dnf5 5.2.1.0 becomes available in rawhide (Fedora
41).

The error messages have been normalized since the top level functions in
osbuild-depsolve-dnf do not know which version of dnf is being used.
2024-08-01 08:57:30 +02:00
schutzbot
89b3221b2c Post release version bump
[skip ci]
2024-07-31 08:15:39 +00:00
schutzbot
2b2fec85b2 Post release version bump
[skip ci]
2024-07-17 08:16:09 +00:00
schutzbot
8507b32a87 Post release version bump
[skip ci]
2024-07-03 08:16:19 +00:00
schutzbot
477a164492 Post release version bump
[skip ci]
2024-06-19 08:15:53 +00:00
schutzbot
49b86f0b5a Post release version bump
[skip ci]
2024-06-05 08:15:18 +00:00
schutzbot
6b8f2ad20b Post release version bump
[skip ci]
2024-05-22 08:15:46 +00:00
schutzbot
77ce02c3d3 Post release version bump
[skip ci]
2024-05-08 08:13:38 +00:00
Brian C. Lane
107593a1fd spec: Install osbuild-depsolve-dnf not dnf5
On Fedora 40 we switched to dnf5 too early. There is going to be a new
version in Fedora 41 soon, with breaking API changes, so in order to
reduce the number of things we need to support, switch back to using
libdnf on Fedora 40 (and 41 until dnf5 version 5.2.0 is available,
see #1769)
2024-05-02 10:50:53 +02:00
schutzbot
59bff6d742 Post release version bump
[skip ci]
2024-04-24 08:16:01 +00:00
schutzbot
130ca6ad64 Post release version bump
[skip ci]
2024-04-15 09:09:06 +00:00
schutzbot
e32b25a1b5 Post release version bump
[skip ci]
2024-04-10 08:17:22 +00:00
schutzbot
9a4f4552f5 Post release version bump
[skip ci]
2024-03-29 12:35:05 +00:00
schutzbot
62e1570ef9 Post release version bump
[skip ci]
2024-03-27 08:18:03 +00:00
schutzbot
435c6d3460 Post release version bump
[skip ci]
2024-03-13 08:16:16 +00:00
schutzbot
87dce84b90 Post release version bump
[skip ci]
2024-02-28 08:13:32 +00:00
schutzbot
3824c9c868 Post release version bump
[skip ci]
2024-02-26 15:06:35 +00:00
schutzbot
badca79801 Post release version bump
[skip ci]
2024-02-22 11:53:23 +00:00
Gianluca Zuccarelli
26aac90eb4 util/containers: read host config
Add utility function to read the host's container storage config.
2024-02-21 17:55:37 +01:00
schutzbot
c164665db1 Post release version bump
[skip ci]
2024-02-14 08:13:58 +00:00
schutzbot
a85b51bb2c Post release version bump
[skip ci]
2024-02-08 14:03:15 +00:00
schutzbot
21626926f7 Post release version bump
[skip ci]
2024-01-31 17:48:02 +00:00
schutzbot
348438303e Post release version bump
[skip ci]
2024-01-31 08:13:08 +00:00
Brian C. Lane
18e5481ae8 osbuild-depsolve-dnf5: Add libdnf5 based depsolving for Fedora 40
dnf5-json will be used for building Fedora 40 and later.  RHEL and
Fedora < 40 will continue to use python3-libdnf via dnf-json.
2024-01-24 09:55:49 -08:00
schutzbot
c4ff215149 Post release version bump
[skip ci]
2024-01-16 13:48:47 +00:00
schutzbot
25d198da3c Post release version bump
[skip ci]
2024-01-03 08:14:11 +00:00
schutzbot
975057a0a9 Post release version bump
[skip ci]
2023-12-20 08:12:39 +00:00
schutzbot
c53c60e694 Post release version bump
[skip ci]
2023-12-06 08:15:39 +00:00
Alexander Larsson
d66b2faa41 Move org.osbuild.experimental.ostree.config to osbuild-ostree subpackage 2023-11-22 19:28:06 +01:00
schutzbot
016407284a Post release version bump
[skip ci]
2023-11-22 08:16:02 +00:00
schutzbot
fb1bc6fdab Post release version bump
[skip ci]
2023-11-08 08:14:06 +00:00
Michael Vogt
ed95c10530 stages: add new unit test for kickstart stage
This commit adds a simple and lightweight unit test for the new
kickstart options. It's pretty simple but also cheap and runs
fast.
2023-11-07 15:12:08 +01:00
schutzbot
5579257c65 Post release version bump
[skip ci]
2023-10-25 08:14:34 +00:00
Simon de Vlieger
7c35b945ee depsolve: import dnf-json
Import the `dnf-json` Python script that is included in the "images" and
"osbuild-composer" repository into "osbuild".

`dnf-json` provides dependency solving capabilities by taking in some
JSON and then outputting the package set that JSON resolves to. Since it
is a Python script it moves into a subpackage of `osbuild`.

The script is renamed to `osbuild-depsolve-dnf`.
2023-10-16 20:47:17 +02:00
schutzbot
f0982873e2 Post release version bump
[skip ci]
2023-10-11 08:14:13 +00:00
schutzbot
ad2fed1a3b Post release version bump
[skip ci]
2023-09-27 08:13:30 +00:00
schutzbot
4e2f17bfca Post release version bump
[skip ci]
2023-09-13 08:16:15 +00:00
schutzbot
feee1255b0 Post release version bump
[skip ci]
2023-08-30 08:17:13 +00:00