File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ impl BiosBoot {
77
77
files. insert ( BIOS_STAGE_3 , stage_3_path) ;
78
78
files. insert ( BIOS_STAGE_4 , stage_4_path) ;
79
79
if self . ramdisk . is_some ( ) {
80
- files. insert ( RAMDISK_FILE_NAME , self . ramdisk . unwrap ( ) . as_path ( ) )
80
+ files. insert ( RAMDISK_FILE_NAME , self . ramdisk . unwrap ( ) . as_path ( ) ) ;
81
81
}
82
82
let out_file = NamedTempFile :: new ( ) . context ( "failed to create temp file" ) ?;
83
83
fat:: create_fat_filesystem ( files, out_file. path ( ) )
@@ -147,7 +147,7 @@ impl UefiBoot {
147
147
files. insert ( "efi/boot/bootx64.efi" , bootloader_path) ;
148
148
files. insert ( KERNEL_FILE_NAME , self . kernel . as_path ( ) ) ;
149
149
if self . ramdisk . is_some ( ) {
150
- files. insert ( RAMDISK_FILE_NAME , self . ramdisk . unwrap ( ) . as_path ( ) )
150
+ files. insert ( RAMDISK_FILE_NAME , self . ramdisk . unwrap ( ) . as_path ( ) ) ;
151
151
}
152
152
153
153
let out_file = NamedTempFile :: new ( ) . context ( "failed to create temp file" ) ?;
You can’t perform that action at this time.
0 commit comments