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-shell 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"
22IMAGE_FEATURES:remove:pn-core-image-full-cmdline = "package-management"
23CORE_IMAGE_EXTRA_INSTALL:pn-core-image-full-cmdline += "rpm"
24
25# matchbox-terminal depends on vte, which is gpl3
26CORE_IMAGE_BASE_INSTALL:remove:pn-core-image-weston = "matchbox-terminal"
27
28# Some python-tests use bash outside of ptest
29RDEPENDS:${PN}-tests:remove:class-target:pn-python3 = "${MLPREFIX}bash"
30INSANE_SKIP:${PN}-tests:pn-python3 = "file-rdeps"
31