docs(os-release): Add note about module placement (#423)
* docs(os-release): Add note about module placement Modifying `ID` may cause failures in identification and installation of COPR packages during the build process, and is ideally placed later in the recipe. * fix: use starlight note format Co-authored-by: Gerald Pinder <gmpinder@gmail.com> * fix: minor rephrasements * docs: add more details to suggestion --------- Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com> Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
This commit is contained in:
parent
1941d5ace1
commit
7a4576eed5
1 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
|||
# **`os-release` Module**
|
||||
|
||||
The `os-release` module offers a way to modify and set values in the [`/etc/os-release`](https://www.freedesktop.org/software/systemd/man/latest/os-release.html) file in your image. This file contains metadata about the running Linux operating system and is read by various programs.
|
||||
|
||||
:::note
|
||||
Modifying the `ID` value within `/etc/os-release` can cause COPR package identification and installation failures during the build process. When changing the `ID`, you should always set `ID_LIKE` to the type of base image you are using, ex. `ID_LIKE: fedora`. Errors from setting the `ID` may also be alleviated by running the module at the end of the build process, but beware that those errors would still be present in images derived from your image.
|
||||
:::
|
||||
|
||||
## Example
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue