]> git.ozlabs.org Git - petitboot/blobdiff - ui/twin/pbt-client.c
Add initial dtb support
[petitboot] / ui / twin / pbt-client.c
index 09d8e99c2518e5d138b3e3781b76ab7688d02afb..445c865d82ed54b7588bd4dc731afaeb13ba7f0b 100644 (file)
@@ -147,6 +147,8 @@ static int pbt_boot_option_add(struct device *dev, struct boot_option *opt,
                opt->boot_image_file);
        opt_data->bd->initrd = talloc_strdup(opt_data->bd,
                opt->initrd_file);
+       opt_data->bd->dtb = talloc_strdup(opt_data->bd,
+               opt->dtb_file);
        opt_data->bd->args = talloc_strdup(opt_data->bd,
                opt->boot_args);
        opt_data->opt = opt;