Skip to content

Commit

Permalink
cmd/otk: rename otk externals
Browse files Browse the repository at this point in the history
The `otk` externals are moved into a subdirectory of `cmd` and named by
their target (they generate things for `osbuild`).

Signed-off-by: Simon de Vlieger <[email protected]>
  • Loading branch information
supakeen committed Oct 7, 2024
1 parent 1837244 commit 439bd04
Show file tree
Hide file tree
Showing 21 changed files with 8 additions and 8 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type InputModifications struct {
}

// Output contains a full description of a disk, this can be consumed
// by other tools like otk-make-*
// by other tools like osbuild-make-*
type Output = otkdisk.Data

func makePartMap(pt *disk.PartitionTable) map[string]otkdisk.Partition {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/stretchr/testify/assert"

genpart "github.com/osbuild/images/cmd/otk-gen-partition-table"
genpart "github.com/osbuild/images/cmd/otk/osbuild-gen-partition-table"
"github.com/osbuild/images/internal/common"
"github.com/osbuild/images/internal/otkdisk"
"github.com/osbuild/images/pkg/blueprint"
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/stretchr/testify/assert"

makefstab "github.com/osbuild/images/cmd/otk-make-fstab-stage"
makefstab "github.com/osbuild/images/cmd/otk/osbuild-make-fstab-stage"
"github.com/osbuild/images/internal/otkdisk"
"github.com/osbuild/images/internal/testdisk"
)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/stretchr/testify/assert"

makeGrub2Inst "github.com/osbuild/images/cmd/otk-make-grub2-inst-stage"
makeGrub2Inst "github.com/osbuild/images/cmd/otk/osbuild-make-grub2-inst-stage"
"github.com/osbuild/images/internal/common"
"github.com/osbuild/images/internal/otkdisk"
"github.com/osbuild/images/pkg/disk"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"testing"

mkdevmnt "github.com/osbuild/images/cmd/otk-make-partition-mounts-devices"
mkdevmnt "github.com/osbuild/images/cmd/otk/osbuild-make-partition-mounts-devices"
"github.com/osbuild/images/internal/otkdisk"
"github.com/osbuild/images/internal/testdisk"
"github.com/stretchr/testify/assert"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/stretchr/testify/assert"

makestages "github.com/osbuild/images/cmd/otk-make-partition-stages"
makestages "github.com/osbuild/images/cmd/otk/osbuild-make-partition-stages"
"github.com/osbuild/images/internal/otkdisk"
"github.com/osbuild/images/pkg/disk"
)
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

resolver "github.com/osbuild/images/cmd/otk-resolve-containers"
resolver "github.com/osbuild/images/cmd/otk/osbuild-resolve-containers"
)

const (
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"testing"

resolver "github.com/osbuild/images/cmd/otk-resolve-ostree-commit"
resolver "github.com/osbuild/images/cmd/otk/osbuild-resolve-ostree-commit"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down

0 comments on commit 439bd04

Please sign in to comment.