nixpkgs/pkgs
Adam Joseph 8485bfc9bf arm-trusted-firmware: unfree only if hdcp.bin used; otherwise delete it
The `unfreeIncludeHDCPBlob` parameter was introduced as a result of
this reviewer request:

  https://github.com/NixOS/nixpkgs/issues/148890#issuecomment-1032002903

The default value `unfreeIncludeHDCPBlob?true` causes a change in the
`meta.license` field for all of the subpackages within
`pkgs/misc/arm-trusted-firmware/`, and results in them needing
`NIXPKGS_ALLOW_NONFREE=1`.

For non-Rockchip platforms the file hdcp.bin does not get included in
the output; the blob is for a Synopsys HDCP core that is currently
used only by Rockchip (although other companies could license it from
Synopsys in the future). Therefore on non-Rockchip we can delete
hdcp.bin before building instead of changing the license. This
preserves the ability to build them without NIXPKGS_ALLOW_NONFREE=1.

Let's do that.

Deleting hdcp.bin ensures that we won't be caught by surprise if some
future non-Rockchip Arm CPU licenses the same Synopsys HDCP core that
Rockchip is using.

Use easier-to-follow names for controlling the blob
inclusion/exclusion.  Also, if the blob is believed to be unnecessary,
delete it beforehand so we will know if we were wrong about that belief.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-05-29 16:07:15 -07:00
..
applications Wrap vi when using makeCustomizable 2022-05-30 00:02:59 +02:00
build-support Merge pull request #172391 from Artturin/deprecate-stdenv-glibc 2022-05-27 17:56:19 +03:00
common-updater unstableGitUpdater: fix updating fetchzip-based sources 2022-05-24 19:12:12 +02:00
data Merge branch 'master' into haskell-updates 2022-05-29 19:01:15 +02:00
desktops Merge pull request #175236 from r-ryantm/auto-update/gnome.gnome-terminal 2022-05-29 12:06:46 +02:00
development Merge pull request #175336 from risicle/ris-pomegranate-0.14.8 2022-05-30 00:47:27 +02:00
games Merge pull request #172761 from viric/srb2-master 2022-05-29 12:39:23 +02:00
misc arm-trusted-firmware: unfree only if hdcp.bin used; otherwise delete it 2022-05-29 16:07:15 -07:00
os-specific Merge pull request #175180 from fabaff/atop-bump 2022-05-29 16:50:33 +00:00
pkgs-lib
servers Merge pull request #173725 from trofi/workaround-fno-common-for-dspam 2022-05-29 16:01:04 +00:00
shells Merge pull request #174514 from marsam/update-dash 2022-05-28 20:50:23 -05:00
stdenv Merge pull request #172391 from Artturin/deprecate-stdenv-glibc 2022-05-27 17:56:19 +03:00
test pkgs.tests: Add regression test for #175196 2022-05-29 10:23:16 +02:00
tools Merge pull request #175142 from fabaff/acme-client-bump 2022-05-30 00:24:34 +02:00
top-level Merge pull request #175291 from fabaff/laundrify-aio 2022-05-30 00:23:18 +02:00