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:
Raphaël Hertzog 2016-11-28 21:05:06 +01:00
parent 2ea1329746
commit 63af37b9c5
1 changed files with 1 additions and 1 deletions

View File

@ -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