diff --git a/libs/oci-cfg-generators/src/linglong/oci-cfg-generators/90_legacy.cpp b/libs/oci-cfg-generators/src/linglong/oci-cfg-generators/90_legacy.cpp index 1b5e18964..eea52d52b 100644 --- a/libs/oci-cfg-generators/src/linglong/oci-cfg-generators/90_legacy.cpp +++ b/libs/oci-cfg-generators/src/linglong/oci-cfg-generators/90_legacy.cpp @@ -47,12 +47,7 @@ bool Legacy::generate(ocppi::runtime::config::types::Config &config) const noexc { "/etc/machine-id", "/etc/machine-id" }, { "/etc/ssl/certs", "/run/host/etc/ssl/certs" }, { "/etc/ssl/certs", "/etc/ssl/certs" }, - { "/var/cache/fontconfig", "/run/host/appearance/fonts-cache" }, - // FIXME: app can not display normally due to missing cjk font cache file,so we need bind - // /var/cache/fontconfig to container. this is just a temporary solution,need to be repaired - // later. - { "/var/cache/fontconfig", "/var/cache/fontconfig" }, - { "/usr/share/fonts", "/usr/share/fonts" }, + { "/usr/local/share/fonts", "/usr/local/share/fonts" }, { "/usr/lib/locale/", "/usr/lib/locale/" }, { "/usr/share/themes", "/usr/share/themes" }, { "/usr/share/icons", "/usr/share/icons" },