ALT Linux Bugzilla
– Attachment 10342 Details for
Bug 42039
Запускать install-kernel с опцией --u-boot при наличии /sys/firmware/devicetree
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч для kernel.filetrigger
0001-kernel.filetrigger-add-option-u-boot-if-sys-firmware.patch (text/plain), 1.07 KB, created by
Антон Мидюков
on 2022-02-25 21:34:13 MSK
(
hide
)
Description:
Патч для kernel.filetrigger
Filename:
MIME Type:
Creator:
Антон Мидюков
Created:
2022-02-25 21:34:13 MSK
Size:
1.07 KB
patch
obsolete
>From 268ea8ad489c3d5d1babfddb403434d73d17d157 Mon Sep 17 00:00:00 2001 >From: Anton Midyukov <antohami@altlinux.org> >Date: Sat, 26 Feb 2022 00:37:30 +0700 >Subject: [PATCH] kernel.filetrigger: add option --u-boot, if > /sys/firmware/devicetree exists > >u-boot has EFI mode, and in this mode dtb can boot from /boot/dtb/. >Since u-boot can boot the same system both through extlinux.conf and >through EFI, it will not be superfluous to update extlinux.conf if >it exists. >Also, when installing on a system with u-boot, you need to create a >symlink /boot/dtb so that the actual dtb is loaded. >--- > kernel.filetrigger | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/kernel.filetrigger b/kernel.filetrigger >index aa794cc..c362935 100755 >--- a/kernel.filetrigger >+++ b/kernel.filetrigger >@@ -23,7 +23,7 @@ elif [ "$INITRD_AUTOUPDATE" = none ]; then > KEEP_INITRD=--keep-initrd > fi > >-if [ -d /sys/firmware/devicetree -a ! -d /sys/firmware/efi ]; then >+if [ -d /sys/firmware/devicetree ]; then > WITH_UBOOT=--uboot > INSTALLKERNEL_ARGS="$INSTALLKERNEL_ARGS ${WITH_UBOOT}" > fi >-- >2.33.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42039
: 10342