Xpra: Ticket #2331: /usr/libexec on RedHat systems

Fedora, CentOS, and Red Hat systems are very nearly identical. The attached patch adds RedHat? to Fedora and CentOS when /usr/libexec is needed. It also fixes a bug for is_RedHat() function in the xpra.os_utils module.



Thu, 13 Jun 2019 17:15:34 GMT - Eric Lemings: attachment set

Patch for /usr/libexec paths on Red Hat systems


Thu, 13 Jun 2019 17:23:27 GMT - Eric Lemings:

An lsb_release -a command on RHEL 6 and RHEL 7 systems outputs a "Distributor ID" with the values "RedHatEnterpriseServer?" or "RedHatEnterpriseWorkstation?".


Thu, 13 Jun 2019 17:31:16 GMT - Antoine Martin: status changed; resolution set

Thanks, applied in r22941 (will backport) with one change: we also skip CFLAGS in setup.py because redhat ships a patched distutils. (just like centos and fedora do)


Thu, 13 Jun 2019 17:51:32 GMT - Antoine Martin:

2.5.x backport in r22942


Sat, 23 Jan 2021 05:48:27 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2331