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
0
Merge Requests
0
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
8497d394
Commit
8497d394
authored
Jul 18, 2023
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tar2fs: install grub-efi to EFI/altlinux also (--no-nvram)
grub-efi-autoupdate does not update grub in EFI/BOOT if there is no shim and EFI/altlinux. See
https://bugzilla.altlinux.org/41959
parent
2d64c255
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
tar2fs
bin/tar2fs
+9
-0
No files found.
bin/tar2fs
View file @
8497d394
...
@@ -440,6 +440,10 @@ grub-efi)
...
@@ -440,6 +440,10 @@ grub-efi)
case
"
$ARCH
"
in
case
"
$ARCH
"
in
x86_64
)
x86_64
)
chroot
"
$ROOTFS
"
grub-install
--target
=
i386-efi
--recheck
\
chroot
"
$ROOTFS
"
grub-install
--target
=
i386-efi
--recheck
\
--no-nvram
--uefi-secure-boot
chroot
"
$ROOTFS
"
grub-install
--target
=
x86_64-efi
--recheck
\
--no-nvram
--uefi-secure-boot
chroot
"
$ROOTFS
"
grub-install
--target
=
i386-efi
--recheck
\
--removable
--uefi-secure-boot
--removable
--uefi-secure-boot
chroot
"
$ROOTFS
"
grub-install
--target
=
x86_64-efi
--recheck
\
chroot
"
$ROOTFS
"
grub-install
--target
=
x86_64-efi
--recheck
\
--removable
--uefi-secure-boot
--removable
--uefi-secure-boot
...
@@ -448,11 +452,16 @@ grub-efi)
...
@@ -448,11 +452,16 @@ grub-efi)
;;
;;
aarch64
)
aarch64
)
chroot
"
$ROOTFS
"
grub-install
--target
=
arm64-efi
--recheck
\
chroot
"
$ROOTFS
"
grub-install
--target
=
arm64-efi
--recheck
\
--no-nvram
--uefi-secure-boot
chroot
"
$ROOTFS
"
grub-install
--target
=
arm64-efi
--recheck
\
--removable
--uefi-secure-boot
--removable
--uefi-secure-boot
;;
;;
riscv64
)
riscv64
)
chroot
"
$ROOTFS
"
grub-install
--target
=
riscv64-efi
--recheck
\
chroot
"
$ROOTFS
"
grub-install
--target
=
riscv64-efi
--recheck
\
--no-nvram
--uefi-secure-boot
chroot
"
$ROOTFS
"
grub-install
--target
=
riscv64-efi
--recheck
\
--removable
--uefi-secure-boot
--removable
--uefi-secure-boot
;;
esac
esac
sed
-i
'/GRUB_DISABLE_OS_PROBER=true/d'
"
$ROOTFS
/etc/sysconfig/grub2"
sed
-i
'/GRUB_DISABLE_OS_PROBER=true/d'
"
$ROOTFS
/etc/sysconfig/grub2"
;;
;;
...
...
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