Skip to content

Commit

Permalink
fix: block terminal output
Browse files Browse the repository at this point in the history
add uniontech0035-block-terminal-output.patch

Log:
  • Loading branch information
liujianqiang-niu authored and deepin-ci-robot committed Sep 5, 2024
1 parent c48e339 commit 1e8e485
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
grub2 (2.12-1deepin12) unstable; urgency=medium

* add uniontech0035-block-terminal-output.patch

-- deepin <[email protected]> Wed, 04 Sep 2024 17:25:54 +0800

grub2 (2.12-1deepin11) unstable; urgency=medium

* fix boot_counter error
Expand Down
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,4 @@ deepin/0001-util-grub-mkrescue-use-capitalised-paths-for-removab.patch
0001-grub-install-loongarch64-efi-also-install-BOOTLOONGA.patch
deepin/0002-probe-grub-device-for-overlay-as-root.patch
reimplement_boot_counter.patch
uniontech0035-block-terminal-output.patch
40 changes: 40 additions & 0 deletions debian/patches/uniontech0035-block-terminal-output.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Index: grub2-2.12/util/grub.d/10_linux.in
===================================================================
--- grub2-2.12.orig/util/grub.d/10_linux.in
+++ grub2-2.12/util/grub.d/10_linux.in
@@ -177,23 +177,23 @@ linux_entry ()
fi
printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
fi
- if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
- message="$(gettext_printf "Loading Linux %s ..." ${version})"
- sed "s/^/$submenu_indentation/" << EOF
- echo '$(echo "$message" | grub_quote)'
-EOF
- fi
+# if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
+# message="$(gettext_printf "Loading Linux %s ..." ${version})"
+# sed "s/^/$submenu_indentation/" << EOF
+# echo '$(echo "$message" | grub_quote)'
+#EOF
+# fi
sed "s/^/$submenu_indentation/" << EOF
linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
EOF
if test -n "${initrd}" ; then
# TRANSLATORS: ramdisk isn't identifier. Should be translated.
- if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
- message="$(gettext_printf "Loading initial ramdisk ...")"
- sed "s/^/$submenu_indentation/" << EOF
- echo '$(echo "$message" | grub_quote)'
-EOF
- fi
+# if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
+# message="$(gettext_printf "Loading initial ramdisk ...")"
+# sed "s/^/$submenu_indentation/" << EOF
+# echo '$(echo "$message" | grub_quote)'
+#EOF
+# fi
initrd_path=
for i in ${initrd}; do
initrd_path="${initrd_path} ${rel_dirname}/${i}"

0 comments on commit 1e8e485

Please sign in to comment.