Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: David Cassany <dcassany@suse.com>
  • Loading branch information
davidcassany committed Jan 30, 2024
1 parent 9b1a0e9 commit b651f00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func NewInstallSpec(cfg v1.Config) *v1.InstallSpec {
recoverySystem.FS = constants.LinuxImgFs
recoverySystem.Label = constants.SystemLabel
recoverySystem.File = filepath.Join(constants.RecoveryDir, constants.RecoveryImgFile)
recoverySystem.MountPoint = constants.WorkingImgDir
recoverySystem.MountPoint = constants.TransitionDir

return &v1.InstallSpec{
Firmware: v1.EFI,
Expand Down
4 changes: 2 additions & 2 deletions pkg/elemental/elemental.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,12 +452,12 @@ func CopyFileImg(c v1.Config, img *v1.Image) error {
// creates the filesystem image file and fills it with the correspondant data
func DeployImage(c v1.Config, img *v1.Image) error {
c.Logger.Infof("Deploying image: %s", img.File)
cleaner, err := DeployImgTree(c, img, cnst.ImgSrcDir)
cleaner, err := DeployImgTree(c, img, cnst.WorkingImgDir)
if err != nil {
return err
}

err = CreateImageFromTree(c, img, cnst.ImgSrcDir, false, cleaner)
err = CreateImageFromTree(c, img, cnst.WorkingImgDir, false, cleaner)
if err != nil {
return err
}
Expand Down

0 comments on commit b651f00

Please sign in to comment.