-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove loongarch64 ABI1.0 patch.
- Loading branch information
Showing
4 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
grub2 (2.12-1deepin3) unstable; urgency=medium | ||
|
||
* remove loongarch64 patch. | ||
|
||
-- LiChengGang <[email protected]> Wed, 13 Mar 2024 11:18:10 +0800 | ||
|
||
grub2 (2.12-1deepin2) unstable; urgency=medium | ||
|
||
* Apply patches from deepin grub2 2.06 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
debian/patches/uniontech0033-enable-grub-background-on-huawei-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- grub2-2.12.orig/util/grub.d/00_header.in | ||
+++ grub2-2.12/util/grub.d/00_header.in | ||
@@ -17,6 +17,13 @@ set -e | ||
# You should have received a copy of the GNU General Public License | ||
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
+PC_TYPE=$(dmidecode -s system-product-name|awk '{print $NF}') | ||
+case "$PC_TYPE" in | ||
+ KLVV*|KLVU*|PGUV*|PGUW*) | ||
+ background_support=true | ||
+ ;; | ||
+esac | ||
+ | ||
prefix="@prefix@" | ||
exec_prefix="@exec_prefix@" | ||
datarootdir="@datarootdir@" | ||
@@ -154,7 +161,7 @@ EOF | ||
else | ||
# If all_video.mod isn't available load all modules available | ||
# with versions prior to introduction of all_video.mod | ||
-if [ "$machine" = "aarch64" ];then | ||
+if [ "$machine" = "aarch64" ] && [ "x$background_support" = "x" ];then | ||
cat <<EOF | ||
echo | ||
EOF | ||
@@ -288,6 +295,13 @@ terminal_output ${GRUB_TERMINAL_OUTPUT} | ||
EOF | ||
|
||
fi | ||
+ | ||
+if [ "x$background_support" = x"true" ];then | ||
+ cat << EOF | ||
+terminal_output ${GRUB_TERMINAL_OUTPUT} | ||
+EOF | ||
+fi | ||
+ | ||
;; | ||
esac | ||
|