forked from pool/cockpit-machines
Compare commits
1 Commits
b6d2fd0cb0
...
811c1084d4
Author | SHA256 | Date | |
---|---|---|---|
811c1084d4 |
@@ -3,12 +3,6 @@ Mon Mar 10 08:49:16 UTC 2025 - Miika Alikirri <miika.alikirri@suse.com>
|
|||||||
|
|
||||||
- Remove qemu-spice from SLFO_16
|
- Remove qemu-spice from SLFO_16
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Mar 6 07:44:37 UTC 2025 - Miika Alikirri <miika.alikirri@suse.com>
|
|
||||||
|
|
||||||
- Patch cockpit-machines to use UEFI as default firmware
|
|
||||||
* added uefi-default-firmware.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 19 18:01:04 UTC 2025 - Alice Brooks <alice.brooks@suse.com>
|
Wed Feb 19 18:01:04 UTC 2025 - Alice Brooks <alice.brooks@suse.com>
|
||||||
|
|
||||||
|
@@ -29,7 +29,6 @@ Source12: update_version.sh
|
|||||||
%include %_sourcedir/node_modules.spec.inc
|
%include %_sourcedir/node_modules.spec.inc
|
||||||
Patch10: hide-docs.patch
|
Patch10: hide-docs.patch
|
||||||
Patch11: load-css-overrides.patch
|
Patch11: load-css-overrides.patch
|
||||||
Patch12: uefi-default-firmware.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: appstream-glib
|
BuildRequires: appstream-glib
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
@@ -1,41 +0,0 @@
|
|||||||
From a580aa1ee6c24aab29fc7710b82187c15f21e6ec Mon Sep 17 00:00:00 2001
|
|
||||||
From: Miika Alikirri <miika.alikirri@suse.com>
|
|
||||||
Date: Thu, 6 Mar 2025 09:25:08 +0200
|
|
||||||
Subject: Use UEFI as default firmware instead of bios
|
|
||||||
|
|
||||||
---
|
|
||||||
src/components/vm/overview/firmware.jsx | 4 ++--
|
|
||||||
src/components/vm/overview/helpers.jsx | 2 +-
|
|
||||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/components/vm/overview/firmware.jsx b/src/components/vm/overview/firmware.jsx
|
|
||||||
index e99c893a..f04dc023 100644
|
|
||||||
--- a/src/components/vm/overview/firmware.jsx
|
|
||||||
+++ b/src/components/vm/overview/firmware.jsx
|
|
||||||
@@ -32,8 +32,8 @@ import { supportsUefiXml, labelForFirmwarePath } from './helpers.jsx';
|
|
||||||
|
|
||||||
const _ = cockpit.gettext;
|
|
||||||
|
|
||||||
-const xmlToState = value => value || 'bios';
|
|
||||||
-const stateToXml = value => value == 'bios' ? null : value;
|
|
||||||
+const xmlToState = value => value || 'efi';
|
|
||||||
+const stateToXml = value => value == 'efi' ? null : value;
|
|
||||||
|
|
||||||
class FirmwareModal extends React.Component {
|
|
||||||
static contextType = DialogsContext;
|
|
||||||
diff --git a/src/components/vm/overview/helpers.jsx b/src/components/vm/overview/helpers.jsx
|
|
||||||
index e0702ac6..582225fd 100644
|
|
||||||
--- a/src/components/vm/overview/helpers.jsx
|
|
||||||
+++ b/src/components/vm/overview/helpers.jsx
|
|
||||||
@@ -69,7 +69,7 @@ export function labelForFirmwarePath(path, guest_arch) {
|
|
||||||
};
|
|
||||||
if (!path) {
|
|
||||||
if (["i686", "x86_64"].includes(guest_arch))
|
|
||||||
- return "bios";
|
|
||||||
+ return "efi";
|
|
||||||
else
|
|
||||||
return "unknown";
|
|
||||||
} else {
|
|
||||||
--
|
|
||||||
2.48.1
|
|
||||||
|
|
Reference in New Issue
Block a user