STATIC_DESTRUCTOR_REGISTER(arg_root_fstype, freep);
STATIC_DESTRUCTOR_REGISTER(arg_root_options, freep);
+#define LOADER_PARTITION_IDLE_USEC (120 * USEC_PER_SEC)
+
static int add_cryptsetup(
const char *id,
const char *what,
/* growfs= */ false,
options,
"Boot Loader Partition",
- 120 * USEC_PER_SEC);
+ LOADER_PARTITION_IDLE_USEC);
}
#if ENABLE_EFI
/* growfs= */ false,
options,
"EFI System Partition Automount",
- 120 * USEC_PER_SEC);
+ LOADER_PARTITION_IDLE_USEC);
}
#else
static int add_partition_esp(DissectedPartition *p, bool has_xbootldr) {