OSDN Git Service

1-install: avoid unnecessary errors from cp android-x86-8.1-r3
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 30 Oct 2019 04:19:51 +0000 (12:19 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 30 Oct 2019 04:19:51 +0000 (12:19 +0800)
Since ESP is a vfat partition, we cannot preserve attributes from ext4.

install/scripts/1-install

index b01a49b..7689db6 100644 (file)
@@ -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