diff options
Diffstat (limited to 'documentation/ref-manual/ref-images.rst')
| -rw-r--r-- | documentation/ref-manual/ref-images.rst | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/documentation/ref-manual/ref-images.rst b/documentation/ref-manual/ref-images.rst index 56ec8562f8..70feadf1ff 100644 --- a/documentation/ref-manual/ref-images.rst +++ b/documentation/ref-manual/ref-images.rst | |||
| @@ -14,16 +14,17 @@ image you want. | |||
| 14 | Building an image without GNU General Public License Version 3 | 14 | Building an image without GNU General Public License Version 3 |
| 15 | (GPLv3), GNU Lesser General Public License Version 3 (LGPLv3), and | 15 | (GPLv3), GNU Lesser General Public License Version 3 (LGPLv3), and |
| 16 | the GNU Affero General Public License Version 3 (AGPL-3.0) components | 16 | the GNU Affero General Public License Version 3 (AGPL-3.0) components |
| 17 | is only supported for minimal and base images. Furthermore, if you | 17 | is only tested for core-image-minimal image. Furthermore, if you would like to |
| 18 | are going to build an image using non-GPLv3 and similarly licensed | 18 | build an image and verify that it does not include GPLv3 and similarly licensed |
| 19 | components, you must make the following changes in the ``local.conf`` | 19 | components, you must make the following changes in the image recipe |
| 20 | file before using the BitBake command to build the minimal or base | 20 | file before using the BitBake command to build the image: |
| 21 | image: | ||
| 22 | :: | ||
| 23 | 21 | ||
| 24 | 1. Comment out the EXTRA_IMAGE_FEATURES line | 22 | INCOMPATIBLE_LICENSE = "GPL-3.0* LGPL-3.0*" |
| 25 | 2. Set INCOMPATIBLE_LICENSE = "GPL-3.0 LGPL-3.0 AGPL-3.0" | ||
| 26 | 23 | ||
| 24 | Alternatively, you can adjust ``local.conf`` file, repeating and adjusting the line | ||
| 25 | for all images where the license restriction must apply: | ||
| 26 | |||
| 27 | INCOMPATIBLE_LICENSE_pn-your-image-name = "GPL-3.0* LGPL-3.0*" | ||
| 27 | 28 | ||
| 28 | From within the ``poky`` Git repository, you can use the following | 29 | From within the ``poky`` Git repository, you can use the following |
| 29 | command to display the list of directories within the :term:`Source Directory` | 30 | command to display the list of directories within the :term:`Source Directory` |
