Lines Matching defs:install
103 /* Default to install same type of kernel as we are running */
108 md_get_info(struct install_partition_desc *install)
168 md_make_bsd_partitions(struct install_partition_desc *install)
170 return make_bsd_partitions(install);
177 md_check_partitions(struct install_partition_desc *install)
187 bootxx = bootxx_name(install);
200 md_pre_disklabel(struct install_partition_desc *install,
226 md_post_disklabel(struct install_partition_desc *install,
236 update_bios_boot(struct install_partition_desc *install, bool use_target_files)
294 p = bootxx_name(install);
304 install->infos[0].parts->pscheme->get_part_device(
305 install->infos[0].parts, install->infos[0].cur_part_id,
327 md_post_newfs_bios(struct install_partition_desc *install)
329 return update_bios_boot(install, false);
385 * Find (U)EFI boot partition and install/update bootloaders
388 update_uefi_boot_code(struct install_partition_desc *install,
394 for (i = 0; i < install->num; i++) {
395 if (!(install->infos[i].instflags & PUIINST_BOOT))
406 for (i = 0; i < install->num; i++) {
407 if (install->infos[i].type != PT_EFI_SYSTEM)
414 if (boot_part < install->num)
415 return copy_uefi_boot(&install->infos[boot_part],
425 update_bios_boot_code(struct install_partition_desc *install)
427 return update_bios_boot(install, true);
431 update_boot_code(struct install_partition_desc *install,
435 update_uefi_boot_code(install, target_is_populated)
436 : update_bios_boot_code(install);
440 md_post_newfs_uefi(struct install_partition_desc *install)
442 return update_uefi_boot_code(install, false);
446 * hook called after upgrade() or install() has finished setting
451 md_post_newfs(struct install_partition_desc *install)
454 return uefi_boot ? md_post_newfs_uefi(install)
455 : md_post_newfs_bios(install);
459 md_post_extract(struct install_partition_desc *install, bool upgrade)
462 update_boot_code(install, true);
478 md_cleanup_install(struct install_partition_desc *install)
524 md_pre_update(struct install_partition_desc *install)
531 md_update(struct install_partition_desc *install)
575 * Ensure the install partition (at sector inst_start) and the active
911 md_pre_mount(struct install_partition_desc *install, size_t ndx)
941 * When we do an UEFI install, we have completely different default
1001 /* no need to install bootblock if installing for UEFI */
1003 x86_md_need_bootblock(struct install_partition_desc *install)