Bug 8393 - Remove yum support from tl-setup
Summary: Remove yum support from tl-setup
Status: RESOLVED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.19.0
Assignee: Pierre Ossman
URL:
Keywords: adaha_tester, relnotes
Depends on:
Blocks: 8361
  Show dependency treegraph
 
Reported: 2024-07-23 11:47 CEST by Pierre Ossman
Modified: 2025-05-22 16:32 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2024-07-23 11:47:19 CEST
RHEL 7 is now EOL, which means that no current distribution uses YUM anymore. This allows us to reduce our maintenance burden by removing this backend.

Besides cleaning up tl-setup, it also means removing the last part that needs Python 2, which means further cleanups in the build system.
Comment 1 Pierre Ossman cendio 2025-05-19 09:39:41 CEST
Python 2 doesn't build with a new gcc, so this blocks bug 8361. Doing now.
Comment 2 Pierre Ossman cendio 2025-05-19 11:12:42 CEST
Our ancient mesa also uses Python 2. Upgrading to the lates Mesa is probably a lot of work (e.g. bug 4594). But hopefully, we can do a minor upgrade just to get Python 3 support.
Comment 3 Pierre Ossman cendio 2025-05-19 11:31:32 CEST
I tested removing the YUM backend, and upgrading Mesa to 18.3.6. Everything seems to work nicely, both automatic package installation in tl-setup, and OpenGL in the session.

Tested on RHEL 8, and Ubuntu 24.04.
Comment 6 Adam Halim cendio 2025-05-19 16:32:22 CEST
Tested server build 4067 RHEL 8 and 9.

Server installer worked as expected.

Tested some WebGL demos [1], did not see any issues or difference in performance.

Commits look good, could no longer find any references to "yum" in our code.


[1] https://webglsamples.org/
Comment 7 Adam Halim cendio 2025-05-19 16:33:42 CEST
Reopening as this caused issued with our jenkins TigerVNC builds.
Comment 8 Pierre Ossman cendio 2025-05-20 10:41:58 CEST
False alarm. The TigerVNC build wasn't updated with the changes we did for the mesa build in bug 5241.
Comment 11 Pierre Ossman cendio 2025-05-20 16:31:19 CEST
Mesa build is failing when Python 3 is being used.

Note You need to log in before you can comment on or make changes to this bug.