upvote
That would be a violation of the copyright law or the GPL licence - you aren't permitted to take GPL code and redistribute it with some extra restrictions added on to it.

If it's not (fully) your code, you aren't free to set the licence conditions; Linus can't do that without getting approval from 100% (not 99% or so) of authors who contributed code.

What one can do is add an informative disclaimer saying "To the best of our knowledge, installing or running this thing in California is prohibited - we permit to do whatever you want with it, but how you'll comply with that law is your business".

reply
You can if you own the copyright to the content. I don't know the state of Linux, but this is a reason the FSF (and many other projects) requires people assign their copyright to them when they submit code.

It also helps when you take an offender to court. If I contribute to a project but don't assign copyright, then they cannot take offenders to court if my code was copied illegally. The burden is on me to do so.

Of course, all code released prior to the change still remains on the original license.

reply
The FSF stopped requiring copyright assignment in 2021.
reply
deleted
reply
The Linux kernel is licensed GPLv2. The GPLv2 license forbids adding addition terms that further restrict the use of the software.

A "Linux distro" is not the Linux kernel. It's possible for some distros to add such license terms to their distribution media, but others like Debian and Debian-based ones adhere to the GPL so no go.

reply
Because they want market share, and throwing a hissyfit over being asked to add an "I am over 18" checkbox is not good PR. If Debian starts refusing to work in California because it doesn't want to add a checkbox, it will simply be replaced by someone who adds that checkbox and doesn't throw the fit.
reply
As the article says, it's not about just checking a box:

"Every OS provider must then: provide an interface at account setup collecting a birth date or age, and expose a real-time API that broadcasts the user's age bracket (under 13, 13 to 15, 16 to 17, 18+) to any application running on the system."

reply
deleted
reply
There is no requirement that the OS has to verify the person's ID. It literally just requires a dropdown menu to select your age bracket.
reply
Fine, a drop-down menu, not a checkbox. They're throwing a hissy fit over a drop-down menu with 4 items.
reply
I disagree slightly. It may not be good business, but it could be good PR, situationally. I expect a lot of 2nd-tier distros will refuse to implement it, and see a boost in their installs as a result.

Debian, Ubuntu, etc., they'll all fall right in line because the clear and immediate losses will outweigh any PR issue.

reply
When they fall in line and add the age bracket drop-down menu, we'll keep using them because throwing a hissy fit over a distribution allowing you to select your age bracket is very obviously stupid.
reply
Would be funny indeed... And also curious why nobody does that.
reply
https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html

    6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
It would be in violation of the GPL and such a license would not be an OSI approved license.

https://opensource.org/osd

    5. No Discrimination Against Persons or Groups

    The license must not discriminate against any person or group of persons.
reply