agama/rust/agama-server/src
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
..
bootloader Fix some bootloader comments 2025-03-12 21:54:27 +00:00
files changes from review 2025-03-14 13:47:41 +01:00
hostname Some fixes based on code review 2025-03-12 22:37:25 +00:00
l10n allow minimal installed system without libzypp (#2512) 2025-06-26 14:00:41 +02:00
manager feat(rust): use the ProgressService to track the progress 2025-05-23 07:51:01 +01:00
network Changes based on code review 2025-06-05 17:47:53 +01:00
profile /api/profile/execute_script: remove, now unused 2025-06-05 14:53:09 +02:00
questions feat(rust): add a WebSocketClient to receive events 2025-05-19 07:34:19 +01:00
scripts trace also errors from scripts and files 2025-03-13 15:50:49 +01:00
security Apply suggestions from code review 2025-04-23 18:12:59 +02:00
software first implementation of only required flag 2025-06-18 14:17:58 +02:00
storage storage: extend HTTP API with available and candidate devices 2025-06-10 14:03:02 +01:00
users feat(rust): use the IssuesService in the users API 2025-05-22 09:22:15 +01:00
web chore(web): improve handling of WebSocket messages 2025-06-17 13:13:56 +01:00
agama-dbus-server.rs fix(rust): use tracing instead of log in agama-server 2025-05-07 16:04:13 +01:00
agama-web-server.rs fix(rust): stop serving the UI from ~/.local/share/agama 2025-05-28 14:29:17 +01:00
bootloader.rs Add bootloader section to agama config (jsc#AGM-54) 2024-12-19 19:13:46 +01:00
cert.rs chore(rust): add license headers to source code 2024-09-20 12:26:24 +01:00
dbus.rs refactor(rust): change agama-lib:dbus deps to agama-utils 2025-05-13 23:21:23 +01:00
error.rs feat(rust): improve error tracking when sending Issues and Progress commands 2025-05-23 13:00:17 +01:00
files.rs initial work on unattended files support 2025-03-06 10:06:15 +01:00
hostname.rs Added specific hostname management support 2025-03-12 21:54:27 +00:00
l10n.rs fix(rust): rename l10::l10n to l10n::model 2024-12-02 11:44:24 +00:00
lib.rs add web part of security 2025-04-22 22:51:54 +02:00
logs.rs feat(rust): add logging configuration through the AGAMA_LOG variable 2024-12-18 12:21:56 +00:00
manager.rs chore(rust): add license headers to source code 2024-09-20 12:26:24 +01:00
network.rs refactor(rust): remove outdated documentation 2025-05-14 07:09:51 +01:00
profile.rs WIP try GET /api/profile/validate?path=/to/profile.json 2025-03-21 14:12:44 +01:00
questions.rs fix(rust): fix questions interactive mode 2025-05-13 10:31:06 +01:00
scripts.rs feat(rust): add a simple API to register and run scripts 2024-10-17 09:56:24 +01:00
security.rs add web part of security 2025-04-22 22:51:54 +02:00
software.rs docs(rust): describe the licenses API in OpenAPI 2025-01-21 13:22:05 +00:00
storage.rs chore(rust): add license headers to source code 2024-09-20 12:26:24 +01:00
users.rs chore(rust): add license headers to source code 2024-09-20 12:26:24 +01:00
web.rs feat(rust): remove progress_router and progress_stream 2025-05-23 07:51:01 +01:00