agama/rust
Josef Reidinger e9b4908a72
allow minimal installed system without libzypp (#2512)
## Problem

- follow-up to #2493
- https://trello.com/c/czY7e3c0

For SLES16 the minimal system can be without libzypp. If it is case
together with onlyRequires flag, then software service crashes when
trying to load zypp.conf.


## Solution

Add check if file exists and if not, just log it and continue.
Also change as agreed modification of zypp.conf to explicitly write
onlyRequires if user explicitly mention it in profile to not just use
libzypp default.


## Testing

- *Tested manually*


## Documentation

*Remember to look at it from the user's perspective. Yes you have made
the compiler happy.*
*But will the **humans** even know about your contribution? Sometimes
they cannot miss it,*
*other times they need advertisement and explanation.*

*Look for relevant sections and adjust:*
- The description parts of the [JSON schema][profile.schema.json]
- Is the CLI affected? See [cli.md][] for a complete overview,
  change the `///` comments (rust doc)
  and update the .md with `cargo xtask markdown`
- <https://agama-project.github.io/> ([source][gh.io])
- Run: `git ls-files '*.md'`

[cli.md]:
https://github.com/agama-project/agama-project.github.io/blob/main/docs/user/cli.md
[profile.schema.json]:
https://github.com/agama-project/agama/blob/master/rust/agama-lib/share/profile.schema.json
[gh.io]: https://github.com/agama-project/agama-project.github.io/

---------

Co-authored-by: Ladislav Slezák <lslezak@suse.com>
2025-06-26 14:00:41 +02:00
..
.cargo chore(rust): set up xtask 2024-09-30 14:51:05 +01:00
agama-cli Merge branch 'master' into dud 2025-06-13 11:45:35 +01:00
agama-lib allow minimal installed system without libzypp (#2512) 2025-06-26 14:00:41 +02:00
agama-locale-data fix(i18n): Configure the console font (#2468) 2025-06-13 14:51:45 +02:00
agama-network Do not merge handled values & test fix 2025-06-23 09:53:25 +01:00
agama-server allow minimal installed system without libzypp (#2512) 2025-06-26 14:00:41 +02:00
agama-utils chore(rust): do not set a max_queue in build_properties_changed_stream 2025-05-22 13:25:31 +01:00
etc/agama.d fix(rust): add the agama.libsonnet file to the spec 2024-05-27 06:50:12 +01:00
package changes 2025-06-25 09:57:28 +02:00
share fix(rust): fix the localectl mock 2025-06-13 15:07:22 +01:00
xtask cargo xtask markdown: advertise itself in the output 2025-04-16 14:49:57 +02:00
.gitignore Split and refactor the Rust CI tests 2025-05-28 13:40:39 +02:00
Cargo.lock Send different NM dbus values depending on version 2025-05-28 17:05:48 +02:00
Cargo.toml refactor(rust): add an agama-network crate 2025-05-13 23:21:23 +01:00
install.sh fix(rust): add iscsi.schema.json to agama-cli package 2025-05-05 07:35:08 +01:00
LICENSE Add the CLI to the repository 2023-03-30 14:01:33 +01:00
README.md docs: Fix broken links after moving content to web site 2024-12-02 16:07:05 -05:00
rustfmt.toml Add some basic rustfmt configuration 2023-12-26 08:54:17 +00:00
WEB-SERVER.md Use port 80 by default 2024-05-16 07:48:25 +01:00

Agama Server

According to Agama's architecture this project implements the following components:

  • The Agama server, excluding Agama YaST which lives in the service directory.
  • The Agama D-Bus service.
  • The Command Line Interface.

Code organization

We have set up Cargo workspace with three packages:

Other resources