mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
When systemd is used inside an initramfs, it uses the presence of `/etc/initrd-release` to detect when the system is in the initrd phase. Otherwise `/etc/initrd-release` has the same format as `/etc/os-release`. Add `os-release-initrd` package to provide `/etc/initrd-release` as a symlink to the os-release file. To avoid adding this file to the `os-release` package, explicitly only add `/etc/os-release` to the `os-release` package. (From OE-Core rev: 6311fb6f412ef923cc0b34a821e875990fc043f5) Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>