Skip to content

Commit d6b7ebc

Browse files
committed
add comment
1 parent 0f311d3 commit d6b7ebc

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

toolkit/tools/pkg/imagecustomizerlib/distrohandler_fedora.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ func (d *fedoraDistroHandler) GetEspDir() string {
9393
}
9494

9595
func (d *fedoraDistroHandler) FindBootPartitionUuidFromEsp(espMountDir string) (string, error) {
96+
// Reading Fedora's grub.cfg stub is not supported, so for now just use Azure Linux 3.0's values.
9697
return readBootPartitionUuidFromGrubCfg(filepath.Join(espMountDir, espGrubCfgPathAzl3), bootPartitionRegexAzl3)
9798
}
9899

toolkit/tools/pkg/imagecustomizerlib/distrohandler_ubuntu.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ func (d *ubuntuDistroHandler) GetEspDir() string {
114114
}
115115

116116
func (d *ubuntuDistroHandler) FindBootPartitionUuidFromEsp(espMountDir string) (string, error) {
117+
// Reading Ubuntu's grub.cfg stub is not supported, so for now just use Azure Linux 3.0's values.
117118
return readBootPartitionUuidFromGrubCfg(filepath.Join(espMountDir, espGrubCfgPathAzl3), bootPartitionRegexAzl3)
118119
}
119120

0 commit comments

Comments
 (0)