Skip to content

Commit 883f0bb

Browse files
committed
Fix: Kernel path
1 parent b9327e7 commit 883f0bb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

alteriso5/cmd/build/work/task-bootmodes.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ var makeSysLinux = NewBuildTask("makeSysLinux", func(w Work) error {
5151

5252
for _, k := range kernels {
5353
cpFiles = append(cpFiles, utils.CopyTask{
54-
Source: k.Linux,
55-
Dest: path.Join(isoSyslinuxDir, path.Base(k.Linux)),
54+
Source: path.Join(w.GetDirs().Pacstrap, k.Linux),
55+
Dest: path.Join(dirs.Iso, "boot", path.Base(k.Linux)),
5656
Perm: 0644,
5757
}, utils.CopyTask{
58-
Source: k.Initrd,
59-
Dest: path.Join(isoSyslinuxDir, path.Base(k.Initrd)),
58+
Source: path.Join(w.GetDirs().Pacstrap, k.Initrd),
59+
Dest: path.Join(dirs.Iso, "boot", path.Base(k.Initrd)),
6060
Perm: 0644,
6161
})
6262
}

0 commit comments

Comments
 (0)