mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
sculpt_manager: invoke mkfs.ext2 with -F
The block-vfs plugin is no longer a special file. So we have to explicitly discharge the sanity check of the mkfs tool. Issue #3507
This commit is contained in:
parent
18b621c2fe
commit
6ccd65bd8e
@ -81,8 +81,9 @@ void Sculpt::gen_mkfs_ext2_start_content(Xml_generator &xml,
|
||||
Storage_target const &target)
|
||||
{
|
||||
auto gen_args = [&] (Xml_generator &xml) {
|
||||
xml.node("arg", [&] () {
|
||||
xml.attribute("value", "/dev/block"); }); };
|
||||
xml.node("arg", [&] () { xml.attribute("value", "-F"); });
|
||||
xml.node("arg", [&] () { xml.attribute("value", "/dev/block"); });
|
||||
};
|
||||
|
||||
gen_e2fs_start_content(xml, target, "mkfs.ext2", gen_args);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user