Copy sub-directories as well as files in grub config directory
This is to cover the case of a theme included in that directory.
This commit is contained in:
parent
2ea1329746
commit
63af37b9c5
|
@ -374,7 +374,7 @@ fi
|
|||
|
||||
# Copying templates
|
||||
mkdir -p binary/boot/grub
|
||||
cp "${_SOURCE}"/* binary/boot/grub/
|
||||
cp -a "${_SOURCE}"/* binary/boot/grub/
|
||||
|
||||
sed -i -e "s|LINUX_LIVE|${LINUX_LIVE}|" -e "s|LINUX_INSTALL|${LINUX_INSTALL}|" -e "s|MEMTEST|${MEMTEST}|" binary/boot/grub/*.cfg
|
||||
sed -i -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" binary/boot/grub/*.cfg
|
||||
|
|
Loading…
Reference in New Issue