mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-05 05:04:44 +02:00
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>
This commit is contained in:
parent
4dba026177
commit
a226865c86
1
meta-poky/recipes-core/base-files/base-files_%.bbappend
Normal file
1
meta-poky/recipes-core/base-files/base-files_%.bbappend
Normal file
|
@ -0,0 +1 @@
|
|||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
5
meta-poky/recipes-core/base-files/files/poky/motd
Normal file
5
meta-poky/recipes-core/base-files/files/poky/motd
Normal file
|
@ -0,0 +1,5 @@
|
|||
|
||||
WARNING: Poky is a reference Yocto Project distribution that should be used for
|
||||
testing and development purposes only. It is recommended that you create your
|
||||
own distribution for production use.
|
||||
|
Loading…
Reference in New Issue
Block a user