mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
move grub2_map to correct place, right after package installation
This commit is contained in:
parent
a850ed673c
commit
ae3c8a7618
1 changed files with 2 additions and 4 deletions
|
@ -3636,8 +3636,6 @@ dogrub2_common_before() {
|
|||
USE_DMRAID=""
|
||||
RAID_ON_LVM=""
|
||||
common_bootloader_checks
|
||||
get_grub2_map
|
||||
|
||||
}
|
||||
|
||||
dogrub2_config() {
|
||||
|
@ -3827,7 +3825,7 @@ dogrub2_bios() {
|
|||
# reset PACKAGES after installing
|
||||
PACKAGES=""
|
||||
fi
|
||||
|
||||
get_grub2_map
|
||||
# try to auto-configure GRUB2...
|
||||
if [[ "${PART_ROOT}" != "" ]]; then
|
||||
check_bootpart
|
||||
|
@ -3975,7 +3973,7 @@ dogrub2_efi_common() {
|
|||
run_pacman
|
||||
# reset PACKAGES after installing
|
||||
PACKAGES=""
|
||||
|
||||
get_grub2_map
|
||||
DISC=$(mount | grep ${DESTDIR}/boot/efi | cut -d' ' -f 1 | sed 's/\(.\{8\}\).*/\1/')
|
||||
|
||||
if [[ "${DISC}" = "" ]]; then
|
||||
|
|
Loading…
Reference in a new issue