From 54ab7443017a3650d0d85320a8f46eed8ca5382d Mon Sep 17 00:00:00 2001 From: myml Date: Fri, 9 Aug 2024 16:24:37 +0800 Subject: [PATCH] fix: running the calendar reports a timezone error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit localtime直接挂载成文件, 当系统是北京时区会导致日历报时间格式错误 目前定位到QDateTime.isValid返回false, 具体原因还需要后续排查 Log: --- apps/generators/40-host-ipc/src/main.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/apps/generators/40-host-ipc/src/main.cpp b/apps/generators/40-host-ipc/src/main.cpp index 47821bfad..76ed556f6 100644 --- a/apps/generators/40-host-ipc/src/main.cpp +++ b/apps/generators/40-host-ipc/src/main.cpp @@ -247,13 +247,6 @@ int main() localtimePath = "/run/host/rootfs" + absoluteTarget; } } - // 为 /run/linglong/etc/ld.so.cache 创建父目录 - mounts.push_back({ - { "destination", "/run/linglong/etc" }, - { "options", nlohmann::json::array({ "nodev", "nosuid", "mode=700" }) }, - { "source", "tmpfs" }, - { "type", "tmpfs" }, - }); auto pwd = std::filesystem::current_path(); // [name, destination, target]