]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootctl: fix varlink IDL for rootDirectory field
authorLennart Poettering <lennart@amutable.com>
Tue, 10 Feb 2026 10:48:25 +0000 (11:48 +0100)
committerLennart Poettering <lennart@amutable.com>
Tue, 10 Feb 2026 10:56:26 +0000 (11:56 +0100)
src/shared/varlink-io.systemd.BootControl.c

index a24b4b076e0175a2f44026bc2bf4672e5a20d51c..c369b134efe34e746cdd00ba30d6c0abcc73554c 100644 (file)
@@ -128,7 +128,7 @@ static SD_VARLINK_DEFINE_METHOD(
                 SD_VARLINK_FIELD_COMMENT("Index into array of file descriptors passed along with this message, pointing to file descriptor to root file system to operate on"),
                 SD_VARLINK_DEFINE_INPUT(rootFileDescriptor, SD_VARLINK_INT, SD_VARLINK_NULLABLE),
                 SD_VARLINK_FIELD_COMMENT("Root directory to operate relative to. If both this and rootFileDescriptor is specified, this is purely informational. If only this is specified, it is what will be used."),
-                SD_VARLINK_DEFINE_INPUT(rootDirectory, SD_VARLINK_INT, SD_VARLINK_NULLABLE),
+                SD_VARLINK_DEFINE_INPUT(rootDirectory, SD_VARLINK_STRING, SD_VARLINK_NULLABLE),
                 SD_VARLINK_FIELD_COMMENT("Selects how to identify boot entries"),
                 SD_VARLINK_DEFINE_INPUT_BY_TYPE(bootEntryTokenType, BootEntryTokenType, SD_VARLINK_NULLABLE),
                 SD_VARLINK_FIELD_COMMENT("If true the boot loader will be registered in an EFI boot entry via EFI variables, otherwise this is omitted"),