diff options
author | Claudius Heine <ch@denx.de> | 2022-04-05 12:13:26 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-05 22:23:40 +0100 |
commit | 498f9c58c8855eface861aa3fbf6df11d416f015 (patch) | |
tree | 4500149e06ed7ca01300ca115c8933aaf3df2646 /scripts | |
parent | 4a77431efcffeeaef980c1533a2a39add64944b7 (diff) | |
download | poky-498f9c58c8855eface861aa3fbf6df11d416f015.tar.gz |
os-release: add os-release-initrd package
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions