kpmcore/src
Michael Weghorn 813e574001 Wipe existing signatures when creating partition table
As the sfdisk man page says on the option '--wipe' that
specifies whether or not to wipe signatures in order
to avoid collisions:

> When this option is not given, the default is auto,
> in which case signatures are wiped only when in interactive mode

but sfdisk is not run in interactive mode here, since
stdin does not refer to a terminal, and the sfdisk
man page says:

> It [i.e. sfdisk] runs in interactive mode if executed on terminal
> (stdin refers to a terminal).

Therefore, explicitly pass the '--wipe=always' option to
sfdisk so that old signatures are wiped when a new partition
table is created.

Bug: 431628
2021-01-15 09:53:20 +01:00
..
backend Add overrides to destructors. 2020-10-24 01:33:52 +01:00
core Fix out of bounds read when parsing fstab. 2021-01-07 01:25:12 +00:00
fs Add support for exfatprogs 2020-12-28 17:50:07 +00:00
gui Add overrides to destructors. 2020-10-24 01:33:52 +01:00
jobs Add overrides to destructors. 2020-10-24 01:33:52 +01:00
ops Rename d pointer to d_ptr to disambiguate from Device d. 2020-11-12 01:04:47 +00:00
plugins Wipe existing signatures when creating partition table 2021-01-15 09:53:20 +01:00
util Add support for exfatprogs 2020-12-28 17:50:07 +00:00
CMakeLists.txt Clean up include dirs 2020-11-16 20:56:57 +00:00
Messages.sh kpmcore does not ship .ui or .rc files. 2020-10-28 11:12:27 +00:00
XmlMessages.sh Use XmlMessages.sh for translations of polkit policy files. 2020-10-25 23:45:28 +00:00