summaryrefslogtreecommitdiff
path: root/src/boot/bootctl.h
diff options
context:
space:
mode:
authorLudwig Nussel <ludwig.nussel@suse.de>2022-12-08 16:27:31 +0100
committerLudwig Nussel <ludwig.nussel@suse.de>2023-01-19 14:24:43 +0100
commit8702496bfb0205764569782a9a2ebd11fd80e5e8 (patch)
tree1b610c546c1ef4fb3422341430edab09bf5873f3 /src/boot/bootctl.h
parent1132fd73b32a06c6349f20c0cfb235cc854a1a3a (diff)
downloadsystemd-8702496bfb0205764569782a9a2ebd11fd80e5e8.tar.gz
bootctl: unlink and cleanup functions
The unlink command removes an entry from the ESP including referenced files that are not referenced in other entries. That is useful eg to have multiple entries that use the same kernel with different options. The cleanup command removes all files that are not referenced by any entry.
Diffstat (limited to 'src/boot/bootctl.h')
-rw-r--r--src/boot/bootctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/boot/bootctl.h b/src/boot/bootctl.h
index 5a14faf1a4..311b954c2c 100644
--- a/src/boot/bootctl.h
+++ b/src/boot/bootctl.h
@@ -39,6 +39,7 @@ extern char *arg_root;
extern char *arg_image;
extern InstallSource arg_install_source;
extern char *arg_efi_boot_option_description;
+extern bool arg_dry_run;
static inline const char *arg_dollar_boot_path(void) {
/* $BOOT shall be the XBOOTLDR partition if it exists, and otherwise the ESP */