distro/rhel8: 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.
This commit is contained in:
parent
e56445593c
commit
f35d37188b
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,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