QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
532 stars 46 forks source link

Easy system requirements checker (SRC) #3925

Open tokideveloper opened 6 years ago

tokideveloper commented 6 years ago

Hello,

When I tried to check my computer for the Qubes system requirements, especially CPU capabilities, this time for Qubes Release 4.x, I had to encourage myself to go on and on again and again and not to quit. It's a quite frustrating process and with this issue I wish to get a more convenient one.

So, this is (or could be) annoying:

So, I'd like to have a simple way to check the system requirements. Sorted descending by convenience:

Such a system requirements checker (SRC) should

This sounds nice (from the installation guide):

The installer loads Xen right at the beginning, so chances are high that if you can see the installer’s graphical screen and you pass the compatibility check that runs immediately after that, Qubes will work on your system. :)

I didn't check the sources but I think that a SRC could consist just of that mentioned compatibility check plus a result screen.

Some other notes:

marmarek commented 6 years ago

I think the easiest thing to do would be to have installer image stripped of actual packages. The installer for Qubes 4.0 already perform mentioned checks and present error if anything is missing (but do nothing if everything is ok).

tokideveloper commented 6 years ago

I think the easiest thing to do would be to have installer image stripped of actual packages.

Yes, I guess this way wouldn't consume too much development time. So, it might be worth a try.

The installer for Qubes 4.0 already perform mentioned checks and present error if anything is missing (but do nothing if everything is ok).

So, for the second case, we could just add printing a "Success! Qubes 4.0 will work on this system." message, don't we?

Sounds like that Qubes 3.2 doesn't perform such checks. Would it be easy to add?

Is it possible to run these checks on a running Windows/Linux/Mac system by a simple application rather than booting from a USB drive or something?

fosslinux commented 6 years ago

Is it possible to run these checks on a running Windows/Linux/Mac system by a simple application rather than booting from a USB drive or something?

@tokideveloper Depends. It would be rather difficult to write a cross-platform script for this as all three have different ways of detecting CPU flags.

tokideveloper commented 6 years ago

Is it possible to run these checks on a running Windows/Linux/Mac system by a simple application rather than booting from a USB drive or something?

@tokideveloper Depends. It would be rather difficult to write a cross-platform script for this as all three have different ways of detecting CPU flags.

@sstt011 Then let's develop one version for every platform! Is it feasible?

fosslinux commented 6 years ago

@tokideveloper Probably. I'll try to create a preliminary Python script for 4.0 - see what we can do about cross-platform compatibility. I'll post back here once I've done that.

I'll use the system requirements here: https://www.qubes-os.org/doc/system-requirements/

It won't be a GUI program to start off with, once I have a CLI working I'll look into GUI with Python. The only GUI library I am familiar with in Python is pyGame.

@marmarek Any thoughts?