Jump to content

Clarification on GPL 2.0 License Applicability


Recommended Posts

Posted (edited)

As someone not familiar with all the ins and outs of GPL specifically, how does GPL in the armbian/build project play with userpatches? Is it expected that a commercial hardware device using Armbian would need to open-source the customize-image.sh script?

 

Thanks!

Edited by Clark McCauley
Posted

This seems like an excellent question for a lawyer.

 

That said, the Armbian Build system is GPL v2, which Wikipedia has an excellent Article on, and has the following to say:

 

Quote

Use of licensed software

 

Software under the GPL may be used for any purposes, including commercial ones, and even as a tool for creating proprietary software, such as when using GPL-licensed compilers.[52] Users or companies who distribute GPL-licensed works (e.g., software), may charge a fee for copies or provide them free of charge. This distinguishes the GPL from two other kinds of license: shareware software licenses that allow copying for personal use but prohibit commercial distribution, and proprietary licenses where copying is prohibited by copyright law. The FSF asserts that freedom-respecting free software should not restrict commercial use and distribution (including redistribution):[51][53]

 

In purely private (or internal) use—with no sales and no distribution—the software code may be modified and parts reused without requiring the source code to be released. For sales or distribution, the entire source code needs to be made available to end users, including any code changes and additions—in that case, copyleft is applied to ensure that end users retain the freedoms defined above.

 

That said, even if you're not distributing modifications of the build system, the final image still has GPL components.

Posted

Thank you for the resources, and you're right, I should probably be asking a lawyer.

 

That said, the thing that's been throwing me off is that the GPL FAQ specifically states that

Quote

...the copyright on the editors and tools does not cover the code you write. Using them does not place any restrictions, legally, on the license you use for your code.

and uses GCC as an example. Using GCC to build a binary does not make the binary subject to GPL. It seems like there's a similarity here to armbian/build which is a tool that produces an artifact and the code within customize-image.sh is my own code.

 

This question really came up for me when I was modifying a DTS file to disable a peripheral on my device and was investigating whether that change would need to be open sourced. I found that the parent DTS file that I was patching was licensed under GPL 2.0 OR MIT, so if I'm reading everything correctly, it seems like neither the customize-image.sh script nor my DTS patches need to published and licensed under GPL 2.0.

 

But I'm posing here in case I've egregiously misunderstood something. If there's nuance and subtlety here, where my assumptions above might be correct, or might not be depending on other factors, then I may need to get an attorney involved.

Posted
Quote

it seems like neither the customize-image.sh script nor my DTS patches need to published and licensed under GPL 2.0.

 

GPL requires source code be offered for any software distributed. Changes to the build system probably aren't covered, but a modified DTB probably is. The final image also has the Linux kernel and other GPL components, so that definitely is.

 

Bottom line is that GPL is supposed to be permissive. DTS is easily gotten from DTB. And you're probably good as long as you're not being a jerk about it.

 

If that bothers you, you could also make a overlay (dtbo) and just patch the DTB on boot. You'd avoid the custom image and also make it more clear that your DTB is tweaked.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines