mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00: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=""
|
USE_DMRAID=""
|
||||||
RAID_ON_LVM=""
|
RAID_ON_LVM=""
|
||||||
common_bootloader_checks
|
common_bootloader_checks
|
||||||
get_grub2_map
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dogrub2_config() {
|
dogrub2_config() {
|
||||||
|
@ -3827,7 +3825,7 @@ dogrub2_bios() {
|
||||||
# reset PACKAGES after installing
|
# reset PACKAGES after installing
|
||||||
PACKAGES=""
|
PACKAGES=""
|
||||||
fi
|
fi
|
||||||
|
get_grub2_map
|
||||||
# try to auto-configure GRUB2...
|
# try to auto-configure GRUB2...
|
||||||
if [[ "${PART_ROOT}" != "" ]]; then
|
if [[ "${PART_ROOT}" != "" ]]; then
|
||||||
check_bootpart
|
check_bootpart
|
||||||
|
@ -3975,7 +3973,7 @@ dogrub2_efi_common() {
|
||||||
run_pacman
|
run_pacman
|
||||||
# reset PACKAGES after installing
|
# reset PACKAGES after installing
|
||||||
PACKAGES=""
|
PACKAGES=""
|
||||||
|
get_grub2_map
|
||||||
DISC=$(mount | grep ${DESTDIR}/boot/efi | cut -d' ' -f 1 | sed 's/\(.\{8\}\).*/\1/')
|
DISC=$(mount | grep ${DESTDIR}/boot/efi | cut -d' ' -f 1 | sed 's/\(.\{8\}\).*/\1/')
|
||||||
|
|
||||||
if [[ "${DISC}" = "" ]]; then
|
if [[ "${DISC}" = "" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue