summaryrefslogtreecommitdiff
path: root/disable-graphics-install.patch
diff options
context:
space:
mode:
Diffstat (limited to 'disable-graphics-install.patch')
-rw-r--r--disable-graphics-install.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/disable-graphics-install.patch b/disable-graphics-install.patch
new file mode 100644
index 0000000..b14c05e
--- /dev/null
+++ b/disable-graphics-install.patch
@@ -0,0 +1,51 @@
+diff -urN b/share/templates.d/99-generic/config_files/aarch64/grub.conf a/share/templates.d/99-generic/config_files/aarch64/grub.conf
+--- b/share/templates.d/99-generic/config_files/aarch64/grub.conf 2019-02-12 00:00:00.000000000 +0000
++++ a/share/templates.d/99-generic/config_files/aarch64/grub.conf 2019-02-12 00:00:00.000000000 +0000
+@@ -5,9 +5,9 @@
+ hiddenmenu
+ title Install @PRODUCT@ @VERSION@
+ findiso
+- kernel @KERNELPATH@ @ROOT@ quiet
++ kernel @KERNELPATH@ @ROOT@ quiet inst.text
+ initrd @INITRDPATH@
+ title Test this media & install @PRODUCT@ @VERSION@
+ findiso
+- kernel @KERNELPATH@ @ROOT@ rd.live.check quiet
++ kernel @KERNELPATH@ @ROOT@ rd.live.check quiet inst.text
+ initrd @INITRDPATH@
+diff -urN b/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg a/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg
+--- b/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg 2019-02-12 00:00:00.000000000 +0000
++++ a/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg 2019-02-12 00:00:00.000000000 +0000
+@@ -26,25 +26,15 @@
+ search --no-floppy --set=root -l '@ISOLABEL@'
+
+ ### BEGIN /etc/grub.d/10_linux ###
+-menuentry 'Install @PRODUCT@ @VERSION@ with GUI mode' --class red --class gnu-linux --class gnu --class os {
+- linux @KERNELPATH@ @ROOT@ ro
+- initrd @INITRDPATH@
++menuentry 'Install @PRODUCT@ @VERSION@ with text mode' --class red --class gnu-linux --class gnu --class os {
++ linux @KERNELPATH@ @ROOT@ ro inst.text console=ttyAMA0 console=tty0
++ initrd @INITRDPATH@
+ }
+ menuentry 'Test this media & install @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
+- linux @KERNELPATH@ @ROOT@ rd.live.check
++ linux @KERNELPATH@ @ROOT@ rd.live.check inst.text console=ttyAMA0 console=tty0
+ initrd @INITRDPATH@
+ }
+-menuentry 'Install @PRODUCT@ @VERSION@ with text mode' --class red --class gnu-linux --class gnu --class os {
+- linux @KERNELPATH@ @ROOT@ ro inst.text
+- initrd @INITRDPATH@
+-}
+-submenu 'Troubleshooting -->' {
+- menuentry 'Install @PRODUCT@ @VERSION@ in basic graphics mode' --class red --class gnu-linux --class gnu --class os {
+- linux @KERNELPATH@ @ROOT@ nomodeset
+- initrd @INITRDPATH@
+- }
+- menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
+- linux @KERNELPATH@ @ROOT@ rescue console=ttyAMA0 console=tty0
+- initrd @INITRDPATH@
+- }
++menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
++ linux @KERNELPATH@ @ROOT@ rescue console=ttyAMA0 console=tty0
++ initrd @INITRDPATH@
+ }