Skip to content

Comments

Add system information script#1775

Draft
vunnyso wants to merge 2 commits intotiiuae:mainfrom
vunnyso:vs-cv
Draft

Add system information script#1775
vunnyso wants to merge 2 commits intotiiuae:mainfrom
vunnyso:vs-cv

Conversation

@vunnyso
Copy link
Collaborator

@vunnyso vunnyso commented Feb 23, 2026

Description of Changes

  • Introduce the ghaf-sysinfo service to provide essential Ghaf system information.
  • Expose a ghaf-sysinfo CLI that outputs data in human-readable format or JSON.
  • Report the following details:
    • Ghaf version
    • Secure Boot status (Enabled/Disabled/Unknown)
    • Disk encryption status (Enabled/Disabled/Unknown)
  • Update the ghaf-ctrl panel and givc dependencies

Type of Change

  • New Feature
  • Bug Fix
  • Improvement / Refactor

Related Issues / Tickets

tiiuae/ghaf-givc#362
tiiuae/ghaf-ctrl-panel#188

Checklist

  • Clear summary in PR description
  • Detailed and meaningful commit message(s)
  • Commits are logically organized and squashed if appropriate
  • Contribution guidelines followed
  • Ghaf documentation updated with the commit - https://tiiuae.github.io/ghaf/
  • Author has run make-checks and it passes
  • All automatic GitHub Action checks pass - see actions
  • Author has added reviewers and removed PR draft status

Testing Instructions

Applicable Targets

  • Orin AGX aarch64
  • Orin NX aarch64
  • Lenovo X1 x86_64
  • Dell Latitude x86_64
  • System 76 x86_64

Installation Method

  • Requires full re-installation
  • Can be updated with nixos-rebuild ... switch
  • Other:

Test Steps To Verify:

  1. Open Control Panel
  2. Go to Applications -> System --> Ghaf Control Panel
  3. Go to Settings -> About this System

Output example:
image

- Introduce the `ghaf-sysinfo` service to provide essential
  Ghaf system information.

- Expose a `ghaf-sysinfo` CLI that outputs data in
  human-readable format or JSON.

- Report the following details:
  - Ghaf version
  - Secure Boot status (Enabled/Disabled/Unknown)
  - Disk encryption status (Enabled/Disabled/Unknown)

Signed-off-by: Vunny Sodhi <vunny.sodhi@unikie.com>
@milva-unikie
Copy link

Could we also get the device ID in the system information?

Signed-off-by: Vunny Sodhi <vunny.sodhi@unikie.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants