Skip to content

Commit

Permalink
[uki] change source for uki cdrom
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka committed Sep 29, 2023
1 parent ef52b4f commit 404f636
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pkg/config/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ func NewUkiInstallSpec(cfg *Config) *v1.InstallUkiSpec {
Name: constants.EfiPartName,
FS: constants.EfiFs,
MountPoint: constants.EfiDir,
Flags: []string{"esp"},
}
spec.Partitions.OEM = &v1.Partition{
FilesystemLabel: constants.OEMLabel,
Expand Down
4 changes: 2 additions & 2 deletions pkg/uki/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ func (i *InstallAction) Run() (err error) {
_ = fsutils.MkdirAll(i.cfg.Fs, constants.UkiSource, os.ModeDir|os.ModePerm)

cdRom := &v1.Partition{
FilesystemLabel: "EFI_ISO_BOOT", // TODO: Hardcoded on ISO creation
FilesystemLabel: "UKI_ISO_INSTALL", // TODO: Hardcoded on ISO creation
FS: "iso9660",
Path: "/dev/disk/by-label/EFI_ISO_BOOT",
Path: "/dev/disk/by-label/UKI_ISO_INSTALL",
MountPoint: constants.UkiCdromSource,
}
err = e.MountPartition(cdRom)
Expand Down

0 comments on commit 404f636

Please sign in to comment.