File tree Expand file tree Collapse file tree 6 files changed +5
-15
lines changed Expand file tree Collapse file tree 6 files changed +5
-15
lines changed Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ An experimental x86_64 bootloader that works on both BIOS and UEFI systems.
5
5
#![ warn( missing_docs) ]
6
6
7
7
#[ cfg( feature = "bios" ) ]
8
- mod bios ;
8
+ mod mbr ;
9
9
#[ cfg( feature = "uefi" ) ]
10
- mod uefi ;
10
+ mod gpt ;
11
11
12
12
mod fat;
13
13
@@ -99,7 +99,7 @@ impl<'a> DiskImageBuilder<'a> {
99
99
let fat_partition = self
100
100
. create_fat_filesystem_image ( internal_files)
101
101
. context ( "failed to create FAT partition" ) ?;
102
- bios :: mbr:: create_mbr_disk (
102
+ mbr:: create_mbr_disk (
103
103
bootsector_path,
104
104
stage_2_path,
105
105
fat_partition. path ( ) ,
@@ -123,7 +123,7 @@ impl<'a> DiskImageBuilder<'a> {
123
123
let fat_partition = self
124
124
. create_fat_filesystem_image ( internal_files)
125
125
. context ( "failed to create FAT partition" ) ?;
126
- uefi :: gpt:: create_gpt_disk ( fat_partition. path ( ) , image_filename)
126
+ gpt:: create_gpt_disk ( fat_partition. path ( ) , image_filename)
127
127
. context ( "failed to create UEFI GPT disk image" ) ?;
128
128
fat_partition
129
129
. close ( )
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
use std:: {
2
2
io:: Write ,
3
- path:: { Path , PathBuf } ,
3
+ path:: Path ,
4
4
process:: Command ,
5
5
} ;
6
6
You can’t perform that action at this time.
0 commit comments