all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH v6 proxmox{, -backup} 0/5] Add boot_mode, improve kernel version
@ 2023-11-29 13:28 Gabriel Goller
  2023-11-29 13:28 ` [pbs-devel] [PATCH v6 proxmox 1/5] sys: add helper to get bootmode and secureboot status Gabriel Goller
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Gabriel Goller @ 2023-11-29 13:28 UTC (permalink / raw)
  To: pbs-devel

Ported the recent changes from the PVE NodeSummary (done by @Thomas) to
the PBS NodeDashboard.

It consists of:
* Adding the bootmode field, shows either Legacy BIOS, EFI, or EFI
    (Secure Boot)
* Declutter the kernel-version field and only show the release version
    and build-date.

Changes since v6:
  * Forgot adding some changes :) 

Changes since v5:
  * Rename function
  * Substitute lazy_cell + Mutex with std::sync::OnceLock

Changes since v4:
  * Split functions into BootMode and SecureBoot status

Changes since v3:
  * Removed leftover debug print

Changes since v2:
 * Return the exact same stuff as in pve, so create a struct that holds
    mode and secureboot boolean
 * Fix indentation in js
 * Add efi spec link

Changes since v1:
 * Moved boot_mode detection to proxmox-sys
 * Added caching to boot_mode detection (lazy_static)
 * Return legacy kernel-version as well



proxmox:

Gabriel Goller (1):
  sys: add helper to get bootmode and secureboot status

 proxmox-sys/src/boot_mode.rs | 60 ++++++++++++++++++++++++++++++++++++
 proxmox-sys/src/lib.rs       |  1 +
 2 files changed, 61 insertions(+)
 create mode 100644 proxmox-sys/src/boot_mode.rs


proxmox-backup:

Gabriel Goller (4):
  node: status: added bootmode
  ui: dashboard: show the bootmode
  node: status: declutter kernel-version
  ui: dashboard: nicely display kernel version

 pbs-api-types/src/node.rs | 70 ++++++++++++++++++++++++++++++++++++---
 src/api2/node/status.rs   | 41 ++++++++++++++++++-----
 www/panel/NodeInfo.js     | 28 ++++++++++++++--
 3 files changed, 125 insertions(+), 14 deletions(-)


Summary over all repositories:
  5 files changed, 186 insertions(+), 14 deletions(-)

-- 
murpp v0.4.0





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-11-29 14:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-29 13:28 [pbs-devel] [PATCH v6 proxmox{, -backup} 0/5] Add boot_mode, improve kernel version Gabriel Goller
2023-11-29 13:28 ` [pbs-devel] [PATCH v6 proxmox 1/5] sys: add helper to get bootmode and secureboot status Gabriel Goller
2023-11-29 13:58   ` [pbs-devel] applied: " Wolfgang Bumiller
2023-11-29 13:28 ` [pbs-devel] [PATCH v6 proxmox-backup 2/5] node: status: added bootmode Gabriel Goller
2023-11-29 13:40   ` Lukas Wagner
2023-11-29 13:50     ` Lukas Wagner
2023-11-29 13:28 ` [pbs-devel] [PATCH v6 proxmox-backup 3/5] ui: dashboard: show the bootmode Gabriel Goller
2023-11-29 13:29 ` [pbs-devel] [PATCH v6 proxmox-backup 4/5] node: status: declutter kernel-version Gabriel Goller
2023-11-29 13:29 ` [pbs-devel] [PATCH v6 proxmox-backup 5/5] ui: dashboard: nicely display kernel version Gabriel Goller
2023-11-29 13:55 ` [pbs-devel] [PATCH v6 proxmox{, -backup} 0/5] Add boot_mode, improve " Lukas Wagner
2023-11-29 14:31 ` [pbs-devel] applied-series: " Wolfgang Bumiller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal