[BACK]Return to md.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.sbin / sysinst / arch / i386

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.sbin/sysinst/arch/i386/md.c between version 1.25 and 1.26

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;
 }  }
   

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

CVSweb <webmaster@jp.NetBSD.org>