diff options
author | Ross Burton <ross.burton@arm.com> | 2024-02-07 16:48:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-23 14:31:30 +0000 |
commit | a226865c8683398b5f58628ba2ec5aee1ee6c19d (patch) | |
tree | c7b846aace0cad864ecdea4e9eb68ae1022d827c /meta-poky/recipes-core/base-files/files | |
parent | 4dba026177680fb1c2d7d6cb21dff9ff4d611af3 (diff) | |
download | poky-a226865c8683398b5f58628ba2ec5aee1ee6c19d.tar.gz |
base-files: add usage warning to motd
The Poky distro is explicitly a _reference_ distribution for _testing_
and _development_ purposes. It enables most hardware and software
features so that they can be tested, but this also means that
from a security point of view the attack surface is very large.
We encourage anyone using OpenEmbedded for production use to create their
own distribution and not use Poky. To encourage this behaviour further,
add a warning to /etc/motd when Poky is used so the developer will see it
when they log in.
(From meta-yocto rev: 2e0cec1e9d97f78ba015da8812fd1888c47debcb)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky/recipes-core/base-files/files')
-rw-r--r-- | meta-poky/recipes-core/base-files/files/poky/motd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-poky/recipes-core/base-files/files/poky/motd b/meta-poky/recipes-core/base-files/files/poky/motd new file mode 100644 index 0000000000..0fb6e633f0 --- /dev/null +++ b/meta-poky/recipes-core/base-files/files/poky/motd | |||
@@ -0,0 +1,5 @@ | |||
1 | |||
2 | WARNING: Poky is a reference Yocto Project distribution that should be used for | ||
3 | testing and development purposes only. It is recommended that you create your | ||
4 | own distribution for production use. | ||
5 | |||