All of lore.kernel.org
 help / color / mirror / Atom feed
From: Måns <mans.zigher@gmail.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>,
	Yocto-mailing-list <yocto@lists.yoctoproject.org>
Subject: Re: [yocto] [Question] How to handle GPLv3 packages?
Date: Tue, 12 Apr 2022 11:45:26 +0200	[thread overview]
Message-ID: <CAEhQi8k-3D6yrH5NE8w5g+Avkp=_fa2Forq-oOvjqkvwdsb_kw@mail.gmail.com> (raw)
In-Reply-To: <CAMKF1srdg40=F3Zvm2z_KYYWoM1raES-cK2ZHMFxpEXCiWn_WQ@mail.gmail.com>

Hi,

Thanks for the advice. I am right now unsure how to solve it since I
am on thud but I will continue to work on this so once I get this done
and I have a solution that works I will try and remember to come back
and try to write something together for anyone else encountering this
issue.

/Måns

Den mån 11 apr. 2022 kl 18:20 skrev Khem Raj <raj.khem@gmail.com>:
>
> On Mon, Apr 11, 2022 at 1:29 AM Mans Zigher <mans.zigher@gmail.com> wrote:
> >
> > This is my first time working with them so I am learning a lot but
> > never encountered anything like it. Trying to look into what it would
> > require to move to a newer version it appears as if they have set up
> > their layers inside the poky dir and then they are using COREBASE when
> > one layer depends on the content of another layer. So again something
> > that should have been fairly simple will now require some additional
> > work. But thanks for all your help I appreciate it. I am getting a bit
> > off topic in this thread.
>
> This will be valiant effort but my advice is don't go alone if you
> want to undertake this
> SOC sdks have lot of nitty gritty issues that will pop up along the
> way and unless you
> have someone from SOC suppliers actively supporting you on this upgrade you will
> burn your time to no end.
>
> >
> > For anyone having issues with enabling INCOMPATIBLE_LICENSE make sure
> > to set it per image but before that you will have to make sure you are
> > not including any packages that have the incompatible license there is
> > some tedious work but it needs to be done.
>
> Perhaps a write-up will be beneficial for someone who trips into these
> issues in future.
>
> >
> > Thanks
> >
> > Den mån 11 apr. 2022 kl 09:16 skrev Alexander Kanavin <alex.kanavin@gmail.com>:
> > >
> > > It's a contracting issue. You need to specify in writing that the
> > > vendor cannot provide ancient Yocto. Otherwise they won't bother.
> > >
> > > Alex
> > >
> > > On Mon, 11 Apr 2022 at 09:13, Måns <mans.zigher@gmail.com> wrote:
> > > >
> > > > Yes I know. Not sure why QC is stuck on Thud. Even newer releases from
> > > > QC for the target that we are working on is stuck at Thud.
> > > >
> > > > Mans
> > > >
> > > > Den fre 8 apr. 2022 kl 18:59 skrev Alexander Kanavin <alex.kanavin@gmail.com>:
> > > > >
> > > > > Thud has been EOL for a long time. You can see when the support been
> > > > > added here (end of 2019 it seems):
> > > > > https://git.yoctoproject.org/poky/log/meta/lib/oeqa/selftest/cases/incompatible_lic.py?h=master-next
> > > > >
> > > > > Alex
> > > > >
> > > > > On Fri, 8 Apr 2022 at 18:56, Måns <mans.zigher@gmail.com> wrote:
> > > > > >
> > > > > > I am currently on Thud so I am missing the support from what I can
> > > > > > tell to set INCOMPATIBLE_LICENSE per image. I have tried to find the
> > > > > > commit that adds that support but am having some problems finding it.
> > > > > > Do you maybe know what I should look for to find the commit that adds
> > > > > > this support?
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > > Den fre 8 apr. 2022 kl 10:16 skrev Alexander Kanavin <alex.kanavin@gmail.com>:
> > > > > > >
> > > > > > > Hello Mans,
> > > > > > >
> > > > > > > please refer to the tests we have for the feature:
> > > > > > > https://git.yoctoproject.org/poky/tree/meta/lib/oeqa/selftest/cases/incompatible_lic.py?h=master-next#n95
> > > > > > > (line 95 and below)
> > > > > > >
> > > > > > > The key bit is:
> > > > > > > INCOMPATIBLE_LICENSE:pn-core-image-minimal = "GPL-3.0* LGPL-3.0*"
> > > > > > > e.g. apply the restriction only to core-image-minimal.
> > > > > > >
> > > > > > > Alex
> > > > > > >
> > > > > > > On Fri, 8 Apr 2022 at 08:06, Måns <mans.zigher@gmail.com> wrote:
> > > > > > > >
> > > > > > > > Hi Alex,
> > > > > > > >
> > > > > > > > Could you maybe clarify what you mean with "setting
> > > > > > > > INCOMPATIBLE_LICENSE per image"? Do you mean that you have one
> > > > > > > > specific image that is used when you build an image for release to the
> > > > > > > > customer and then one image for development?
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > >
> > > > > > > > Den ons 6 apr. 2022 kl 11:04 skrev Alexander Kanavin <alex.kanavin@gmail.com>:
> > > > > > > > >
> > > > > > > > > I'd suggest you start by setting INCOMPATIBLE_LICENSE per image, e.g.
> > > > > > > > > enable gpl3 ban only in the images that ship to the customers and not
> > > > > > > > > across the entire build. Then carefully look at what pulls in bash
> > > > > > > > > into those images and why, and reconfigure those pieces to not do that
> > > > > > > > > (e.g. by reconfiguring the PACKAGECONFIGs), or rewrite the scripts in
> > > > > > > > > posix shell.
> > > > > > > > >
> > > > > > > > > Alex
> > > > > > > > >
> > > > > > > > > On Wed, 6 Apr 2022 at 10:59, Mans Zigher <mans.zigher@gmail.com> wrote:
> > > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > I cannot use GPLv3 packages in our image build. I am no legal expert
> > > > > > > > > > but from what I can understand most companies will not be able to
> > > > > > > > > > comply with this license without allowing the customer to compile and
> > > > > > > > > > deploy a new version of any GPLv3 package to the target. I know it is
> > > > > > > > > > possible to comply with this but we are using secure boot and have not
> > > > > > > > > > the time and probably no interest in setting up a solution for
> > > > > > > > > > allowing customers to be able to deploy GPLv3 packages on the target.
> > > > > > > > > > We are trying to make use of INCOMPATIBLE_LICENSE but that results in
> > > > > > > > > > several issues. We have made sure that we don't include GPLv3 in the
> > > > > > > > > > image build using a manual process but would like to use
> > > > > > > > > > INCOMPATIBLE_LICENSE to alert any developer about the issue. It seems
> > > > > > > > > > like INCOMPATIBLE_LICENSE is a bit harsh since it will catch any
> > > > > > > > > > packages even if it is only part of the SDK and also for native
> > > > > > > > > > packages that are not part of the image build.
> > > > > > > > > >
> > > > > > > > > > I cannot be the only one with this problem so how are other companies
> > > > > > > > > > solving this issue? Are they just not using the INCOMPATIBLE_LICENSE?
> > > > > > > > > > Are you setting up a parallel process for checking for any
> > > > > > > > > > incompatible licenses issues?
> > > > > > > > > >
> > > > > > > > > > A more specific issue is that there are so many packages with bash
> > > > > > > > > > dependencies which are pulling in bash which is GPLv3 so how have you
> > > > > > > > > > solved that? Currently we have done some pretty uggly hacks which I am
> > > > > > > > > > not that happy with but we needed to keep it out of the image.
> > > > > > > > > >
> > > > > > > > > > Thanks
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > You automatically follow any topics you start or reply to.
> > View/Reply Online (#56717): https://lists.yoctoproject.org/g/yocto/message/56717
> > Mute This Topic: https://lists.yoctoproject.org/mt/90285507/1997914
> > Group Owner: yocto+owner@lists.yoctoproject.org
> > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >


  reply	other threads:[~2022-04-12 16:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-06  8:59 [Question] How to handle GPLv3 packages? Måns
2022-04-06  9:03 ` [yocto] " Alexander Kanavin
2022-04-08  6:06   ` Måns
2022-04-08  8:15     ` Alexander Kanavin
2022-04-08 16:56       ` Måns
2022-04-08 16:59         ` Alexander Kanavin
2022-04-11  7:12           ` Måns
2022-04-11  7:16             ` Alexander Kanavin
2022-04-11  8:29               ` Måns
2022-04-11 16:19                 ` Khem Raj
2022-04-12  9:45                   ` Måns [this message]
2022-04-06  9:10 ` Ross Burton
2022-04-08  8:18   ` Måns
2022-04-08  8:22     ` Alexander Kanavin
2022-04-08  8:32     ` Mikko.Rapeli
2022-04-08  9:22       ` Alexander Kanavin
2022-04-08 10:17         ` Måns
2022-04-06  9:23 ` Mikko.Rapeli
2022-04-06  9:31   ` Måns

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEhQi8k-3D6yrH5NE8w5g+Avkp=_fa2Forq-oOvjqkvwdsb_kw@mail.gmail.com' \
    --to=mans.zigher@gmail.com \
    --cc=alex.kanavin@gmail.com \
    --cc=raj.khem@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.