From 7ffae2acb546ef6362243b69419db9b1ba1e8e25 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 20 Sep 2020 17:06:42 -0500 Subject: hscript: Force extfs creation This works around the '/dev/xxx already has a filesystem' thing on CLI installs. --- hscript/disk.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hscript/disk.cc b/hscript/disk.cc index c5e1e36..0cc4c8f 100644 --- a/hscript/disk.cc +++ b/hscript/disk.cc @@ -675,9 +675,8 @@ bool Filesystem::execute() const { } if(_type == Ext2 || _type == Ext3 || _type == Ext4) { - const std::string dev_node( - device().substr(device().find_last_of('/') + 1)); args.push_back("-q"); + args.push_back("-F"); } args.push_back(_block); -- cgit v1.2.3-70-g09d2