From 46b7e125c111fd15cbd6942023095e6e3f861002 Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Sun, 22 Dec 2013 10:50:37 +0100
Subject: [PATCH] Thomas's fix about calling mkfs.btrfs with the -f option

---
 source/steps/InstallPartitionDisks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/steps/InstallPartitionDisks.py b/source/steps/InstallPartitionDisks.py
index f0d3d97..f5382d1 100644
--- a/source/steps/InstallPartitionDisks.py
+++ b/source/steps/InstallPartitionDisks.py
@@ -181,7 +181,7 @@ def Run( vars, log ):
         utils.sysexec_noerr( "tune2fs -c -1 -i 0 %s" % devname, log)
     else:
         log.write("formatting %s btrfs partition (%s).\n" % (fs,devname))
-        utils.sysexec( "mkfs.btrfs %s" % (devname), log )
+        utils.sysexec( "mkfs.btrfs -f %s" % (devname), log )
         # as of 2013/02 it looks like there's not yet an option to set fsck frequency with btrfs
 
     # save the list of block devices in the log
-- 
2.47.0