disk: define the default sector size constant
Move the `sectorSize` constant, defined in `customizations.go` to `disk.go` as `DefaultSectorSize`. Rename current usages of the former to the latter.
This commit is contained in:
parent
199463547e
commit
115c864f93
2 changed files with 7 additions and 3 deletions
|
|
@ -14,6 +14,11 @@ import (
|
|||
"github.com/osbuild/osbuild-composer/internal/osbuild2"
|
||||
)
|
||||
|
||||
const (
|
||||
// Default sector size in bytes
|
||||
DefaultSectorSize = 512
|
||||
)
|
||||
|
||||
type PartitionTable struct {
|
||||
Size uint64 // Size of the disk (in bytes).
|
||||
UUID string // Unique identifier of the partition table (GPT only).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue