distro/rhel9: clarify partition table error message
The previous error didn't make it clear where the issue was coming from. Now it explains that the problem is that a partition table for a given architecture isn't specified on the image type. Co-Authored-By: Christian Kellner <christian@kellner.me>
This commit is contained in:
parent
ee7429880f
commit
617ec35c57
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ func (t *imageType) getPartitionTable(
|
|||
basePartitionTable, exists := t.basePartitionTables[archName]
|
||||
|
||||
if !exists {
|
||||
return nil, fmt.Errorf("unknown arch: " + archName)
|
||||
return nil, fmt.Errorf("no partition table defined for architecture %q for image type %q", archName, t.Name())
|
||||
}
|
||||
|
||||
imageSize := t.Size(options.Size)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue