Message ID | 20240207164849.4039004-1-ross.burton@arm.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v2] base-files: add usage warning to motd | expand |
On Wed, 7 Feb 2024 at 10:48, Ross Burton <ross.burton@arm.com> wrote: <SNIP> > > diff --git a/meta-poky/recipes-core/base-files/base-files_%.bbappend b/meta-poky/recipes-core/base-files/base-files_%.bbappend > new file mode 100644 > index 00000000000..8802adbb46b > --- /dev/null > +++ b/meta-poky/recipes-core/base-files/base-files_%.bbappend > @@ -0,0 +1 @@ > +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" Should this be FILESEXTRAPATHS:prepend:poky :=.....? That way meta-poky can be included (as it is with a default configuration) even with a custom distribution layer? This is what the psplash bbappend in meta-poky does. I need to start monitoring this mailing list more; I didn't see it until it was merged :/
On Fri, 2024-02-23 at 10:15 -0600, Dan McGregor wrote: > On Wed, 7 Feb 2024 at 10:48, Ross Burton <ross.burton@arm.com> wrote: > <SNIP> > > > > diff --git a/meta-poky/recipes-core/base-files/base- > > files_%.bbappend b/meta-poky/recipes-core/base-files/base- > > files_%.bbappend > > new file mode 100644 > > index 00000000000..8802adbb46b > > --- /dev/null > > +++ b/meta-poky/recipes-core/base-files/base-files_%.bbappend > > @@ -0,0 +1 @@ > > +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" > > Should this be FILESEXTRAPATHS:prepend:poky :=.....? That way > meta-poky can be included (as it is with a default configuration) > even > with a custom distribution layer? This is what the psplash bbappend > in > meta-poky does. > > I need to start monitoring this mailing list more; I didn't see it > until it was merged :/ I did ask this previously. The file is in a poky subdirectory under files so the change is only active for the poky distro. Cheers, Richard
On Fri, 23 Feb 2024 at 10:20, Richard Purdie <richard.purdie@linuxfoundation.org> wrote: > > On Fri, 2024-02-23 at 10:15 -0600, Dan McGregor wrote: > > On Wed, 7 Feb 2024 at 10:48, Ross Burton <ross.burton@arm.com> wrote: > > <SNIP> > > > > > > diff --git a/meta-poky/recipes-core/base-files/base- > > > files_%.bbappend b/meta-poky/recipes-core/base-files/base- > > > files_%.bbappend > > > new file mode 100644 > > > index 00000000000..8802adbb46b > > > --- /dev/null > > > +++ b/meta-poky/recipes-core/base-files/base-files_%.bbappend > > > @@ -0,0 +1 @@ > > > +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" > > > > Should this be FILESEXTRAPATHS:prepend:poky :=.....? That way > > meta-poky can be included (as it is with a default configuration) > > even > > with a custom distribution layer? This is what the psplash bbappend > > in > > meta-poky does. > > > > I need to start monitoring this mailing list more; I didn't see it > > until it was merged :/ > > I did ask this previously. The file is in a poky subdirectory under > files so the change is only active for the poky distro. > Great, missed that. We can ignore the patch I just sent then. > Cheers, > > Richard
diff --git a/meta-poky/recipes-core/base-files/base-files_%.bbappend b/meta-poky/recipes-core/base-files/base-files_%.bbappend new file mode 100644 index 00000000000..8802adbb46b --- /dev/null +++ b/meta-poky/recipes-core/base-files/base-files_%.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 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 00000000000..0fb6e633f0a --- /dev/null +++ b/meta-poky/recipes-core/base-files/files/poky/motd @@ -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. +