From 63af37b9c51294d6a176dcd726176047790a7589 Mon Sep 17 00:00:00 2001 From: Raphaƫl Hertzog Date: Mon, 28 Nov 2016 21:05:06 +0100 Subject: Copy sub-directories as well as files in grub config directory This is to cover the case of a theme included in that directory. --- scripts/build/binary_loopback_cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/binary_loopback_cfg b/scripts/build/binary_loopback_cfg index 52943dc44..4688d49d2 100755 --- a/scripts/build/binary_loopback_cfg +++ b/scripts/build/binary_loopback_cfg @@ -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 -- cgit v1.2.3