Skip to content

Info param doc#42

Merged
jreidinger merged 7 commits intomainfrom
info_param_doc
Mar 12, 2025
Merged

Info param doc#42
jreidinger merged 7 commits intomainfrom
info_param_doc

Conversation

@jreidinger
Copy link
Contributor

@jreidinger jreidinger commented Jan 31, 2025

@jreidinger jreidinger marked this pull request as ready for review February 18, 2025 11:46
jreidinger added a commit to agama-project/agama that referenced this pull request Feb 19, 2025
## Problem

The linuxrc provides quite useful option to specify remote "info" file
that contain additional parameters. It helps when kernel command line is
restricted by amount of characters or if writing to it is annoying and
it is better to point to that info file.


## Solution

Implement support for `agama.info`. Also implement filtering of agama
specific kernel options and write it to `/etc/agama/kernel.cmdline.conf`
so yast2-bootloader can use it for proposal.

Note: agama.info does not support all linuxrc info features like it
quire correct name `agama.info=` without any additional dots, dashes or
different letter case. It also currently support only single info
parameter and it cannot be recursive, so additional info parameters are
not expanded. And last but not least it supports only url that is
supported by curl.

## Testing

- tested manually with own iso and passing `live.password=` param.

## TODO:

- [x] merged after Beta1
- [x] add changelog before merge to avoid too much conflicts
- [x] document new option in agama github page -
agama-project/agama-project.github.io#42
Copy link
Contributor

@imobachgs imobachgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some suggestions.

```

:::warning
Available from Agama12.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would omit this, because we are not putting this information for other options.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeap, but on other hand as first beta for SLES is out, we should somehow start indicating when it is available.

:::

:::warning
Supports only parameters specified on this section. Kernel parameters are ignored.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think it is a warning. You can make it part of the description of the options or, if you want to emphasize this, let's use a simple note.

jreidinger and others added 2 commits February 19, 2025 11:07
Co-authored-by: Imobach González Sosa <igonzalezsosa@suse.com>
@jreidinger jreidinger merged commit e9fae41 into main Mar 12, 2025
4 checks passed
@jreidinger jreidinger deleted the info_param_doc branch March 12, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants