Skip to content

Commit

Permalink
Use fuse-unionfs as a fallback from bwrap overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanformigoni committed Dec 9, 2024
1 parent 0b10892 commit 77d4fbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/boot/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,8 @@ inline int parse_cmds(ns_config::FlatimageConfig config, int argc, char** argv)
ns_log::error()("Bwrap failed syscall '{}' with errno '{}'", syscall_nr, errno_nr);
if ( config.overlay_type == ns_config::OverlayType::BWRAP and syscall_nr == SYS_mount )
{
ns_log::error()("Bwrap failed SYS_mount, retrying with fuse-overlayfs...");
config.overlay_type = ns_config::OverlayType::FUSE_OVERLAYFS;
ns_log::error()("Bwrap failed SYS_mount, retrying with fuse-unionfs...");
config.overlay_type = ns_config::OverlayType::FUSE_UNIONFS;
std::ignore = f_bwrap_impl(program, args);
} // if
};
Expand Down

0 comments on commit 77d4fbf

Please sign in to comment.