Re: Docker and GPLv3
Mikko Rapeli <mikko.rapeli@...>
On Fri, Feb 04, 2022 at 04:03:52PM +0100, Joakim Roubert wrote:
On 2022-02-04 15:30, Mans Zigher wrote:While this would work, I can't recommend using meta-gplv2 as it contains unmaintainedI think this is a situation where
Just configure the build to avoid GPLv3 via distro config, e.g.
INCOMPATIBLE_LICENSE_append += " GPLv3 GPLv3+ LGPLv3 LGPLv3+"
and configure SW components to build without GPLv3 dependencies.
lxc for examples compiles just fine without rsync and bash.
Additionally a lot of GPLv3 recipes can be enabled to build but be forbidden
images images, e.g. in distro config:
WHITELIST_GPL-3.0 += "bash"
PACKAGE_EXCLUDE += "bash-ptest bash-dbg bash-staticdev bash-dev bash-doc bash-locale bashbug bash"
Some refactoring of SW architecture may be needed to remove any dependencies to GPLv3
licensed SW. For development and testing GPLv3 components can often be used.