forked from mirrored-repos/manjaro-tools
util-iso: set the grub theme by $iso_name
This commit is contained in:
parent
25ddeb1593
commit
a1492e8d1e
1 changed files with 5 additions and 0 deletions
|
@ -388,6 +388,10 @@ configure_grub(){
|
|||
-i $1
|
||||
}
|
||||
|
||||
configure_grub_theme(){
|
||||
sed -e "s|@ISO_NAME@|${iso_name}|" -i "$1"
|
||||
}
|
||||
|
||||
make_grub(){
|
||||
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
|
||||
msg "Prepare [/iso/boot/grub]"
|
||||
|
@ -397,6 +401,7 @@ make_grub(){
|
|||
prepare_grub "${path}" "${iso_root}"
|
||||
|
||||
configure_grub "${iso_root}/boot/grub/kernels.cfg"
|
||||
configure_grub_theme "${iso_root}/boot/grub/variable.cfg"
|
||||
|
||||
: > ${work_dir}/build.${FUNCNAME}
|
||||
msg "Done [/iso/boot/grub]"
|
||||
|
|
Loading…
Reference in a new issue