summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/faq.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/faq.rst')
-rw-r--r--documentation/ref-manual/faq.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst
index bab284bbfd..9e3418e10d 100644
--- a/documentation/ref-manual/faq.rst
+++ b/documentation/ref-manual/faq.rst
@@ -259,6 +259,25 @@ Within the :term:`Build Directory`, is the ``tmp`` directory. To remove all the
259build output yet preserve any source code or downloaded files from 259build output yet preserve any source code or downloaded files from
260previous builds, simply remove the ``tmp`` directory. 260previous builds, simply remove the ``tmp`` directory.
261 261
262Why isn't there a way to append bbclass files like bbappend for recipes?
263------------------------------------------------------------------------
264
265The Yocto Project has consciously chosen not to implement such functionality.
266Class code is designed to be shared and reused, and exposes some level of
267configuration to its users. We want to encourage people to share these changes
268so we can build the best classes.
269
270If the ``append`` functionality was available for classes, our evidence and
271experience suggest that people would create their custom changes in their
272layer instead of sharing and discussing the issues and/or limitations they
273encountered. This would lead to bizarre class interactions when new layers are
274included. We therefore consciously choose to have a natural pressure to share
275class code improvements or fixes.
276
277There are also technical considerations like which recipes a class append would
278apply to and how that would fit within the layer model. These are complications
279we think we can live without!
280
262Customizing generated images 281Customizing generated images
263============================ 282============================
264 283