summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-04 11:58:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-05 14:06:10 +0000
commit34c747f01777448559d5961c0cdee143a4ce7461 (patch)
treeca3adedca7109c0520d02dfa4bafd96e0842fd04 /meta/conf
parent670bc40b695dcafc14832ccb318044d08e832aac (diff)
downloadpoky-34c747f01777448559d5961c0cdee143a4ce7461.tar.gz
conf: Move selftest config to dedicated inc file
Create a no-gplv3.inc file based upon knowledge currently encoded into one of the selftests. There is a risk that people try and take this idea too far, or have unrealistic expectations. That said, it would be better to collect this knowledge together in one location rather than handling it piecemeal. Therefore move the configuration information from the test into a common incude file. (From OE-Core rev: fb822fb2029c69934cf43073f95b396c2d60298e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/distro/include/no-gplv3.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/conf/distro/include/no-gplv3.inc b/meta/conf/distro/include/no-gplv3.inc
new file mode 100644
index 0000000000..48cff29ad4
--- /dev/null
+++ b/meta/conf/distro/include/no-gplv3.inc
@@ -0,0 +1,24 @@
1#
2# This include file is to document commonly used configuration options to minimise
3# GPLv3 content in images.
4#
5# The intent is to allow some images/configurations to build, not everything. There
6# will be a cost in reduced functionality.
7
8# Settings for full-cmdline
9RDEPENDS:packagegroup-core-full-cmdline-utils:remove = "bash bc coreutils cpio ed findutils gawk grep mc mc-fish mc-helpers mc-helpers-perl sed tar time"
10RDEPENDS:packagegroup-core-full-cmdline-dev-utils:remove = "diffutils m4 make patch"
11RDEPENDS:packagegroup-core-full-cmdline-multiuser:remove = "gzip"
12
13# Settings for weston
14# direct gpl3 dependencies
15RRECOMMENDS:packagegroup-base-vfat:remove = "dosfstools"
16PACKAGECONFIG:remove:pn-bluez5 = "readline"
17
18# dnf pulls in gpg which is gpl3; it also pulls in python3-rpm which pulls in rpm-build which pulls in bash
19# so install rpm but not dnf
20IMAGE_FEATURES:remove:pn-core-image-weston = "package-management"
21CORE_IMAGE_EXTRA_INSTALL:pn-core-image-weston += "rpm"
22
23# matchbox-terminal depends on vte, which is gpl3
24CORE_IMAGE_BASE_INSTALL:remove:pn-core-image-weston = "matchbox-terminal"