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"
25
26# Some python-tests use bash outside of ptest
27RDEPENDS:${PN}-tests:remove:class-target:pn-python3 = "${MLPREFIX}bash"
28INSANE_SKIP:${PN}-tests:pn-python3 = "file-rdeps"
29