Skip to content

Commit f70239c

Browse files
committed
fix: ignore modules.dep virtual extension on schematic id calculation
The extension `modules.dep` is a virtual extension, used for the Kernel module dependencies. Therefore, it must not be used when computing the machine schematic - it causes a miscalculation, resulting in failing installer pull attempts from the image factory. Closes #122. Signed-off-by: Utku Ozdemir <[email protected]>
1 parent 1196863 commit f70239c

File tree

1 file changed

+4
-0
lines changed
  • internal/backend/runtime/omni/controllers/omni/internal/talos

1 file changed

+4
-0
lines changed

internal/backend/runtime/omni/controllers/omni/internal/talos/schematic.go

+4
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ func GetSchematicInfo(ctx context.Context, c *client.Client) (SchematicInfo, err
5555
return
5656
}
5757

58+
if name == "modules.dep" { // ignore the virtual extension used for kernel modules dependencies
59+
return
60+
}
61+
5862
if !strings.HasPrefix(name, officialExtensionPrefix) {
5963
name = officialExtensionPrefix + name
6064
}

0 commit comments

Comments
 (0)