From c7be82c38ae67193c9a6e49fb16d5615ce3ce006 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 19 Sep 2023 03:21:34 +0000 Subject: automatic import of lorax --- disable-GeoIP.patch | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 disable-GeoIP.patch (limited to 'disable-GeoIP.patch') diff --git a/disable-GeoIP.patch b/disable-GeoIP.patch new file mode 100644 index 0000000..be9b521 --- /dev/null +++ b/disable-GeoIP.patch @@ -0,0 +1,32 @@ +diff -Nur a/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg b/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg +--- a/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg 2019-03-28 16:01:10.192000000 +0800 ++++ b/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg 2019-03-28 16:55:11.264000000 +0800 +@@ -27,11 +27,11 @@ + + ### BEGIN /etc/grub.d/10_linux ### + 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 ++ linux @KERNELPATH@ @ROOT@ ro inst.text inst.geoloc=0 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 inst.text console=ttyAMA0 console=tty0 ++ linux @KERNELPATH@ @ROOT@ rd.live.check inst.text inst.geoloc=0 console=ttyAMA0 console=tty0 + initrd @INITRDPATH@ + } + menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os { +diff -Nur lorax-29.16_old/share/templates.d/99-generic/config_files/aarch64/grub.conf lorax-29.16/share/templates.d/99-generic/config_files/aarch64/grub.conf +--- lorax-29.16_old/share/templates.d/99-generic/config_files/aarch64/grub.conf 2019-03-28 16:01:10.188000000 +0800 ++++ lorax-29.16/share/templates.d/99-generic/config_files/aarch64/grub.conf 2019-03-28 16:53:11.692000000 +0800 +@@ -5,9 +5,9 @@ + hiddenmenu + title Install @PRODUCT@ @VERSION@ + findiso +- kernel @KERNELPATH@ @ROOT@ quiet inst.text ++ kernel @KERNELPATH@ @ROOT@ quiet inst.text inst.geoloc=0 + initrd @INITRDPATH@ + title Test this media & install @PRODUCT@ @VERSION@ + findiso +- kernel @KERNELPATH@ @ROOT@ rd.live.check quiet inst.text ++ kernel @KERNELPATH@ @ROOT@ rd.live.check quiet inst.text inst.geoloc=0 + initrd @INITRDPATH@ -- cgit v1.2.3