Skip to content

Draft: ! nongnu: raspberrypi-firmware: Change build system to binary.

Petr Hodina requested to merge phodina/nonguix:patch/raspberry into master
  • [build-system]: Change to binary-build-system.
  • [source]: Keep 'opt' and 'hardfp' directories.
  • [outputs]: Add 'opt' and 'opt-fp'.
  • [arguments]: Replace install and patchelf phases.

This patch packages the userspace tools for controling the VC GPU on Raspberry Pi. It supports both the hard-float and soft-float variant.

However, currently the validate-runpath is disabled as the binaries are for some reason not patched.

/gnu/store/4av5xbm3q6i3sghqsp3z7ikzdfv9f3dk-raspberrypi-firmware-1.20220331-opt/bin/containers_check_frame_int: error: depends on 'libcontainers.so', which cannot be found in RUNPATH ()
/gnu/store/4av5xbm3q6i3sghqsp3z7ikzdfv9f3dk-raspberrypi-firmware-1.20220331-opt/bin/containers_check_frame_int: error: depends on 'libvcos.so', which cannot be found in RUNPATH ()
...

Plus the code in the patchelf needs some optimization.

What I dislike about this solution is the change of simple copy-build-system and introduction of dependency on glib and gcc.

Therefore my idea for next iteration is to inherit from the original package.

What do you think? @shlyakpavel

#195

Edited by Petr Hodina

Merge request reports