Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: svs: disabling via bootloader



Does this do the trick?
(Unfortunately for linux-installed grub you'll need to upstream it and
wait for a new version...)

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/grub2/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo	25 Nov 2018 15:51:01 -0000	1.8
+++ distinfo	17 May 2019 18:05:41 -0000
@@ -8,5 +8,6 @@
 RMD160 (unifont-5.1.20080820.pcf.gz) = ddc87231a7c1e18e81a6f4578a4f0279bcd0c292
 SHA512 (unifont-5.1.20080820.pcf.gz) = 8939e2bc82ca97b60e6678f3ff079a2be7ba9b702f2e8ee289e853af5823695f7baafbf14b674fc5e41071f2a6de4f2dadd56bf8b4653849dd756d59622f1649
 Size (unifont-5.1.20080820.pcf.gz) = 1379965 bytes
+SHA1 (patch-grub-core_loader_i386_bsd.c) = 0e8efc385b1bb4dbee751231a7956aafaf73276e
 SHA1 (patch-grub-core_osdep_bsd_hostdisk.c) = 4cd60bf75811c3f72ed47ccc6dd2dec7bc77f991
 SHA1 (patch-util_getroot.c) = 7c2f148ffa778872de4f59b6fcf365bd1a497acf
Index: patches/patch-grub-core_loader_i386_bsd.c
===================================================================
RCS file: patches/patch-grub-core_loader_i386_bsd.c
diff -N patches/patch-grub-core_loader_i386_bsd.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-grub-core_loader_i386_bsd.c	17 May 2019 18:05:41 -0000
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Support no SVS option
+
+--- grub-core/loader/i386/bsd.c.orig	2019-05-17 18:03:59.975933128 +0000
++++ grub-core/loader/i386/bsd.c
+@@ -155,6 +155,7 @@ static const struct grub_arg_option netb
+   {
+     {"no-smp", '1', 0, N_("Disable SMP."), 0, 0},
+     {"no-acpi", '2', 0, N_("Disable ACPI."), 0, 0},
++    {"no-svs", '3', 0, N_("Disable SVS."), 0, 0,},
+     {"askname", 'a', 0, N_("Ask for file name to reboot from."), 0, 0},
+     {"halt", 'b', 0, N_("Don't reboot, just halt."), 0, 0},
+     {"config", 'c', 0, N_("Change configured devices."), 0, 0},



Home | Main Index | Thread Index | Old Index