未验证 提交 b2922b00 编写于 作者: S Simon Fels 提交者: GitHub

Merge pull request #811 from zhsj/fix-overlay

fix overlay lowerdir order
......@@ -240,7 +240,7 @@ bool anbox::cmds::ContainerManager::setup_rootfs_overlay() {
fs::create_directories(overlay_path);
const auto rootfs_path = SystemConfiguration::instance().rootfs_dir();
const auto overlay_config = utils::string_format("lowerdir=%s:%s", rootfs_path, overlay_path);
const auto overlay_config = utils::string_format("lowerdir=%s:%s", overlay_path, rootfs_path);
auto m = common::MountEntry::create("overlay", combined_rootfs_path, "overlay", MS_RDONLY, overlay_config.c_str());
if (!m) {
ERROR("Failed to setup rootfs overlay");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册