Skip to content

Commit 5a6c3bd

Browse files
committed
bootc-generic-iso: Drop the bootc- part of the name
It's redundant and makes the ibcli image names longer than they need to be. Related: HMS-10627
1 parent 483dd9b commit 5a6c3bd

9 files changed

Lines changed: 11 additions & 11 deletions

data/distrodefs/bootc-generic/imagetypes.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ image_types:
180180
# image. Additionally, the image type is not tied to anaconda as
181181
# bootc-installer is. This allows users to create a very customized ISOs.
182182
# TODO: Discuss names of container-based isos: anaconda-iso,
183-
# bootc-generic-iso and bootc-installer are all confusing.
184-
bootc-generic-iso:
183+
# generic-iso and bootc-installer are all confusing.
184+
generic-iso:
185185
<<: *raw_image_type
186186
mime_type: "application/x-iso9660-image"
187187
exports: ["bootiso"]

pkg/distro/generic/bootc_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ var diskContainers = map[string][]container.Spec{
469469
},
470470
}
471471

472-
// isoContainers can be passed to Serialize() to get a minimal bootc-generic-iso image
472+
// isoContainers can be passed to Serialize() to get a minimal generic-iso image
473473
var isoContainers = map[string][]container.Spec{
474474
"build": {
475475
containerSpec,
@@ -721,7 +721,7 @@ func TestManifestGenerationBlueprintValidation(t *testing.T) {
721721

722722
func TestBootcIsoManifestSerialization(t *testing.T) {
723723
bd := NewTestBootcDistro(t)
724-
imgType, err := bd.arches["x86_64"].GetImageType("bootc-generic-iso")
724+
imgType, err := bd.arches["x86_64"].GetImageType("generic-iso")
725725
assert.NoError(t, err)
726726

727727
bp := &blueprint.Blueprint{}
@@ -763,7 +763,7 @@ func TestContainerSourceLocality(t *testing.T) {
763763
switch imgTypeName {
764764
case "anaconda-iso", "iso":
765765
t.Skipf("skipping %s: legacy ISO requires real distro definitions not available in the test distro", imgTypeName)
766-
case "bootc-generic-iso":
766+
case "generic-iso":
767767
t.Skipf("skipping %s: installer payload not supported ", imgTypeName)
768768
}
769769

test/bootc-fake-containers.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ containers:
9393
id: "fedora"
9494
versionid: "42"
9595

96-
# test bootc-generic-iso
96+
# test generic-iso
9797
- <<: *default_fake_container
98-
image_types: ["bootc-generic-iso"]
98+
image_types: ["generic-iso"]
9999
arch: x86_64
100100
info:
101101
<<: *default_info
102102
uefi_vendor: "uefi-vendor-x86_64"
103103
- <<: *default_fake_container
104-
image_types: ["bootc-generic-iso"]
104+
image_types: ["generic-iso"]
105105
arch: aarch64
106106
info:
107107
<<: *default_info

test/config-list.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@
739739
"vmdk",
740740
"ova",
741741
"anaconda-iso",
742-
"bootc-generic-iso",
742+
"generic-iso",
743743
"pxe-tar-xz"
744744
]
745745
}
@@ -770,7 +770,7 @@
770770
"vmdk",
771771
"ova",
772772
"anaconda-iso",
773-
"bootc-generic-iso",
773+
"generic-iso",
774774
"pxe-tar-xz"
775775
]
776776
}

test/data/manifest-checksums/bootc_test_os_1-aarch64-bootc_generic_iso-bootc_empty renamed to test/data/manifest-checksums/bootc_test_os_1-aarch64-generic_iso-bootc_empty

File renamed without changes.

test/data/manifest-checksums/bootc_test_os_1-aarch64-bootc_generic_iso-bootc_remote_empty renamed to test/data/manifest-checksums/bootc_test_os_1-aarch64-generic_iso-bootc_remote_empty

File renamed without changes.

test/data/manifest-checksums/bootc_test_os_1-x86_64-bootc_generic_iso-bootc_empty renamed to test/data/manifest-checksums/bootc_test_os_1-x86_64-generic_iso-bootc_empty

File renamed without changes.

test/data/manifest-checksums/bootc_test_os_1-x86_64-bootc_generic_iso-bootc_remote_empty renamed to test/data/manifest-checksums/bootc_test_os_1-x86_64-generic_iso-bootc_remote_empty

File renamed without changes.

test/scripts/imgtestlib/boot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ def boot_image(search_path, build_config_path, keep_booted=False):
558558
boot_qemu(arch, image_path, build_config_path, keep_booted=keep_booted)
559559
elif image_type in ("image-installer", "minimal-installer"):
560560
boot_qemu_iso(arch, image_path, build_config_path)
561-
elif image_type in ("network-installer", "everything-network-installer", "bootc-generic-iso"):
561+
elif image_type in ("network-installer", "everything-network-installer", "generic-iso"):
562562
boot_qemu_iso_no_unattended_support(arch, image_path, build_config_path)
563563
elif image_type in ("pxe-tar-xz"):
564564
boot_qemu_pxe(arch, image_path)

0 commit comments

Comments
 (0)