scripts: sd_fusing: Add force option to mkfs.ext4
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 14 Aug 2024 09:30:47 +0000 (11:30 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 28 Oct 2024 11:28:47 +0000 (20:28 +0900)
commita97c4ae9bd8c1d3ba5414781dc6cdd27c6a01b39
treed84f1b7085e730437072e951719252be2bd07b22
parentefea770fbb854391c6322a92047d6f8225f8b490
scripts: sd_fusing: Add force option to mkfs.ext4

Add force ('-F') option to mkfs.ext4 to avoid unexpectted filesystem
creation failure caused by some garbage being misdetected as DOS
partition signature:

2024-08-14T08:59:40.904 [sd_fusing.py:956] Formatting /dev/sda9 as ext4
2024-08-14T08:59:40.905 [sd_fusing.py:968] mkfs.ext4 -q -L inform /dev/sda9
Found a dos partition table in /dev/sda9
Proceed anyway? (y,N)
2024-08-14T08:59:40.924 Failed to create ext4 filesystem on /dev/sda9

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I6e960e2f48285fe2f2a139b4342621c82172350b
scripts/tizen/sd_fusing.py