GfA-buildroot_remove_CJK_Fonts_in_Update.patch 490 B

12345678910111213141516171819202122
  1. diff --git a/UpdateRootfs.sh.in b/UpdateRootfs.sh.in
  2. index 97d46256b2..81448e77db 100644
  3. --- a/UpdateRootfs.sh.in
  4. +++ b/UpdateRootfs.sh.in
  5. @@ -153,11 +153,15 @@ if [ "$DONE" == "0" ]; then
  6. echo "Unknown Display Resolution"
  7. fi
  8. -
  9. -
  10. +#=== erase opentype fonts
  11. +#=== fonttype library uses huge amount of tim for creating cache
  12. +#=== so remove CJK Fonts
  13. +rm -rf /usr/share/fonts/opentype
  14. +sync
  15. #=================
  16. echo "Update Done, pls. reboot System"
  17. umount /mnt
  18. echo "."
  19. exit 0
  20. +