version 1.25, 2019/11/18 08:16:32 |
version 1.26, 2019/11/18 16:05:55 |
Line 376 md_post_newfs_uefi(struct install_partit |
|
Line 376 md_post_newfs_uefi(struct install_partit |
|
int |
int |
md_post_newfs(struct install_partition_desc *install) |
md_post_newfs(struct install_partition_desc *install) |
{ |
{ |
#if defined(__amd64__) |
|
int ret; |
|
|
|
ret = cp_within_target("/usr/mdec/prekern", "/prekern", 0); |
|
if (ret) |
|
return ret; |
|
#endif |
|
|
|
return uefi_boot ? md_post_newfs_uefi(install) |
return uefi_boot ? md_post_newfs_uefi(install) |
: md_post_newfs_bios(install); |
: md_post_newfs_bios(install); |
Line 391 md_post_newfs(struct install_partition_d |
|
Line 384 md_post_newfs(struct install_partition_d |
|
int |
int |
md_post_extract(struct install_partition_desc *install) |
md_post_extract(struct install_partition_desc *install) |
{ |
{ |
|
#if defined(__amd64__) |
|
if (get_kernel_set() == SET_KERNEL_2) { |
|
int ret; |
|
|
|
ret = cp_within_target("/usr/mdec/prekern", "/prekern", 0); |
|
if (ret) |
|
return ret; |
|
} |
|
#endif |
return 0; |
return 0; |
} |
} |
|
|