mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-26 22:16:11 +00:00
Use grub2-mkrelpath for CentOS
This commit is contained in:
@@ -800,7 +800,10 @@ EOF
|
||||
save_grub_cfg="tee -a $grub_cfg"
|
||||
}
|
||||
|
||||
installer_directory=$(grub-mkrelpath "$installer_directory")
|
||||
installer_directory=$(grub-mkrelpath "$installer_directory" 2> /dev/null) ||
|
||||
installer_directory=$(grub2-mkrelpath "$installer_directory" 2> /dev/null) || {
|
||||
err 'Could not find "grub-mkrelpath" or "grub2-mkrelpath" command'
|
||||
}
|
||||
|
||||
kernel_params="$kernel_params lowmem/low=1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user