From fcae0cb46ff8d730f0334fb3471954dcee8d61f8 Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Wed, 30 Oct 2019 12:19:51 +0800 Subject: [PATCH] 1-install: avoid unnecessary errors from cp Since ESP is a vfat partition, we cannot preserve attributes from ext4. --- install/scripts/1-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/scripts/1-install b/install/scripts/1-install index b01a49b..7689db6 100644 --- a/install/scripts/1-install +++ b/install/scripts/1-install @@ -477,7 +477,7 @@ install_to() fi echo -e '\nsource $cmdpath/android.cfg' >> $grubcfg if [ -d src/boot/grub/theme ]; then - cp -a src/boot/grub/[ft]* efi/boot/grub + cp -R src/boot/grub/[ft]* efi/boot/grub find efi/boot/grub -name TRANS.TBL -delete fi -- 2.11.0