Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
4ee09262
Commit
4ee09262
authored
Aug 08, 2023
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
efi, grub: use/efi/shell is now compatible with grub and doesn't use mki-efiboot
Note: efi shell is not signed.
parent
2415129f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
config.mk
features.in/efi/config.mk
+2
-1
40-efi-shell
features.in/efi/stage1/scripts.d/40-efi-shell
+7
-0
91shell_efi.cfg
features.in/grub/cfg.in/91shell_efi.cfg
+3
-4
No files found.
features.in/efi/config.mk
View file @
4ee09262
...
...
@@ -27,7 +27,8 @@ use/efi/grub: use/efi use/bootloader/grub
ifeq (x86_64,$(ARCH))
use/efi/shell: use/efi
@$(call try,EFI_SHELL,efi-shell)
@$(call add,STAGE1_PACKAGES,efi-shell)
@$(call add,GRUB_CFG,shell_efi)
use/efi/signed: use/efi
@$(call set,EFI_CERT,altlinux)
...
...
features.in/efi/stage1/scripts.d/40-efi-shell
0 → 100755
View file @
4ee09262
#!/bin/sh -efu
EFI_SHELL
=
/usr/lib64/efi/shell.efi
[
-s
"
$EFI_SHELL
"
]
||
exit
0
mkdir
-p
"
$WORKDIR
"
/boot
cp
"
$EFI_SHELL
"
"
$WORKDIR
"
/boot/
features.in/grub/cfg.in/91shell_efi.cfg
View file @
4ee09262
if [ "$grub_platform" = "efi" ]; then
menuentry $"EFI shell" --id 'efishell' {
chainloader /EFI/shellx64.efi
boot
}
menuentry $"UEFI Shell (may not work with Secure Boot)" --id 'efishell' {
chainloader /boot/shell.efi
}
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment