Imagebakery - collect sources

Topics about the Software of Revolution Pi
Post Reply
KoenW
Posts: 24
Joined: 12 May 2019, 16:15
Location: Sydney
Contact:

Imagebakery - collect sources

Post by KoenW »

Hi everyone,

What is the purpose of the script collect-sources.sh in the imagebakery?

I run it and just puts a lot of repositories on my USB stick. I thought it was going to make further changes to the image file, but that doesn't seem to be the case.

On github it just says 'it is for GPL compliance'.

Can anyone explain?

Best regards
Koen
User avatar
lukas
Expert
Posts: 186
Joined: 13 Feb 2017, 10:29

Re: Imagebakery - collect sources

Post by lukas »

The GNU General Public License mandates that we supply the entire source code of GPL-licensed packages on our image to our customers. On a physical medium, if necessary. (At a small charge.)

The vast majority of the packages on our image are Debian packages whose source code is readily available on the Internet. Of the packages that we've created ourselves, the source code is available in our GitHub repository. Thus, there's not much reason for customers to ask for source code. But we have to be prepared for the possibility.

The collect_sources.sh script generates that source collection from our image. We've made it available because some of our customers resell RevPis (e.g. as part of a machine). If their image is derived from ours, they can use the script to fulfill their GPL obligations.
Post Reply