diff --git a/SOURCES/0001-Added-MSVSphere-support.patch b/SOURCES/0001-Added-MSVSphere-support.patch new file mode 100644 index 0000000..2784f0a --- /dev/null +++ b/SOURCES/0001-Added-MSVSphere-support.patch @@ -0,0 +1,113 @@ +From 38f51c9207b8d32d669153abd1392f5a723a21a6 Mon Sep 17 00:00:00 2001 +From: Sergey Cherevko +Date: Tue, 10 Oct 2023 12:17:22 +0300 +Subject: [PATCH] Added MSVSphere support + +--- + repositories/msvsphere-92.json | 16 ++++++++++++++ + repositories/msvsphere-93.json | 16 ++++++++++++++ + .../osbuild/images/pkg/distro/rhel9/distro.go | 21 +++++++++++++++++++ + .../pkg/distroregistry/distroregistry.go | 2 ++ + 4 files changed, 55 insertions(+) + create mode 100644 repositories/msvsphere-92.json + create mode 100644 repositories/msvsphere-93.json + +diff --git a/repositories/msvsphere-92.json b/repositories/msvsphere-92.json +new file mode 100644 +index 0000000..793350d +--- /dev/null ++++ b/repositories/msvsphere-92.json +@@ -0,0 +1,16 @@ ++{ ++ "x86_64": [ ++ { ++ "name": "baseos", ++ "baseurl": "https://repo1.msvsphere-os.ru/msvsphere/9.2/BaseOS/x86_64/os/", ++ "gpgkey": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nmQINBGPvra8BEAC06qzoXEPc0vEThWkSLK2TdSmQnJuVePkP8dLPGb7BXN2eM+/R\niefFDWihMD6Xc5cDnNkPdkqUgOvy+LwQJmOnsXx16MvHtX0M2hQ31VHouslULtZN\nfFhfBZK1e6/RCWhrAcAUcbW3/L2wS2yiz9jFXDHhzi4Xa1iVZKXN0QtsebZfe6Fq\nUC1ERGgYjnjMyJnIJbcpJQLvbSgW4BC9sC0JM+HiIpsLsHZuYPsxwQuV3Drn6Pa4\nAM/jgR5Jgm8n8/eQva+jYOurhUdDXQAUYVvD4BWB4LKhkuWbEZktavUhRenExEst\nYVfZ//G3wJ+fpfTjvYwv9o64sxDWC8zMxNeYyKz/ql+lYq17zy9cTQXpb4NCH2Vg\n2uW8oq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xKCSrGDbDyu+TlNjPs0zTPFs/\nanC+0GPQG6qK9vAF7oX47c7os6TeelbnhJG0WDyIKdO2f4QRK/uPhW5+2Y11M1NU\nyJjgnRsPeQ7cPhBvaip4U3vdnOJqTtz5TS6dFOexocDueDVPrK/RjxOwnpSKk20G\nwMepzcxPHhwcyj9xuN8FDcflfoczwKxapzawtuuJJC4EhR6e3fBIGJJ5S6PVs/8Y\nBOdTTuLG2uwALRPe5wLUNw7aIbxYBcZ26boKRnN9FPNUjxahRpVKXPigrBuAsZ4K\nWcwSr4MTWj57lsvvrdfUDfMNSbgE0LR8rFnWAF9bWs8/u1s0BNGfr7KyRUZTyfFd\nzsnSGR1izFlj8HwTnB0cRF1GTSr/oVto2mkqX2YdE8FVxj2rhO3Z2RO5XVe+V1GC\nfdtk8S3HNesfHYEqvXsaTksnSHRB0crHFzv/JtsZInI3XXC8TiVS3qmA3mBig2av\ncmzRHFrWvSTVM49qZ5pyDMf+6OEEcgoqxMTqsDS0eNudiSfasZlGCQ==\n=PzTF\n-----END PGP PUBLIC KEY BLOCK-----\n", ++ "check_gpg": true ++ }, ++ { ++ "name": "appstream", ++ "baseurl": "https://repo1.msvsphere-os.ru/msvsphere/9.2/AppStream/x86_64/os/", ++ "gpgkey": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nmQINBGPvra8BEAC06qzoXEPc0vEThWkSLK2TdSmQnJuVePkP8dLPGb7BXN2eM+/R\niefFDWihMD6Xc5cDnNkPdkqUgOvy+LwQJmOnsXx16MvHtX0M2hQ31VHouslULtZN\nfFhfBZK1e6/RCWhrAcAUcbW3/L2wS2yiz9jFXDHhzi4Xa1iVZKXN0QtsebZfe6Fq\nUC1ERGgYjnjMyJnIJbcpJQLvbSgW4BC9sC0JM+HiIpsLsHZuYPsxwQuV3Drn6Pa4\nAM/jgR5Jgm8n8/eQva+jYOurhUdDXQAUYVvD4BWB4LKhkuWbEZktavUhRenExEst\nYVfZ//G3wJ+fpfTjvYwv9o64sxDWC8zM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n2d6OiFTAbzxqU/cdvKeI8DDqKZU1uWDR8QwXJMOxKCSrGDbDyu+TlNjPs0zTPFs/\nanC+0GPQG6qK9vAF7oX47c7os6TeelbnhJG0WDyIKdO2f4QRK/uPhW5+2Y11M1NU\nyJjgnRsPeQ7cPhBvaip4U3vdnOJqTtz5TS6dFOexocDueDVPrK/RjxOwnpSKk20G\nwMepzcxPHhwcyj9xuN8FDcflfoczwKxapzawtuuJJC4EhR6e3fBIGJJ5S6PVs/8Y\nBOdTTuLG2uwALRPe5wLUNw7aIbxYBcZ26boKRnN9FPNUjxahRpVKXPigrBuAsZ4K\nWcwSr4MTWj57lsvvrdfUDfMNSbgE0LR8rFnWAF9bWs8/u1s0BNGfr7KyRUZTyfFd\nzsnSGR1izFlj8HwTnB0cRF1GTSr/oVto2mkqX2YdE8FVxj2rhO3Z2RO5XVe+V1GC\nfdtk8S3HNesfHYEqvXsaTksnSHRB0crHFzv/JtsZInI3XXC8TiVS3qmA3mBig2av\ncmzRHFrWvSTVM49qZ5pyDMf+6OEEcgoqxMTqsDS0eNudiSfasZlGCQ==\n=PzTF\n-----END PGP PUBLIC KEY BLOCK-----\n", ++ "check_gpg": true ++ } ++ ] ++} +diff --git a/repositories/msvsphere-93.json b/repositories/msvsphere-93.json +new file mode 100644 +index 0000000..7ffb299 +--- /dev/null ++++ b/repositories/msvsphere-93.json +@@ -0,0 +1,16 @@ ++{ ++ "x86_64": [ ++ { ++ "name": "baseos", ++ "baseurl": "https://repo1.msvsphere-os.ru/msvsphere/9.3/BaseOS/x86_64/os/", ++ "gpgkey": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nmQINBGPvra8BEAC06qzoXEPc0vEThWkSLK2TdSmQnJuVePkP8dLPGb7BXN2eM+/R\niefFDWihMD6Xc5cDnNkPdkqUgOvy+LwQJmOnsXx16MvHtX0M2hQ31VHouslULtZN\nfFhfBZK1e6/RCWhrAcAUcbW3/L2wS2yiz9jFXDHhzi4Xa1iVZKXN0QtsebZfe6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Wp4AOAubLxOM2jJlWtggUCY++trwIbDAAKCRDxOM2j\nJlWtgkZDEACc2t5iL+1jsJb+d3Hfv4mitEbAVm9DCeqF32BkayZbKsOR5LpDAncW\nkz8/MLjNzAWDp9Ew1nOtIBSYgEuZyq0al8vdC9CFSwohN/U1tj0kS6j21srBCWK9\n2d6OiFTAbzxqU/cdvKeI8DDqKZU1uWDR8QwXJMOxKCSrGDbDyu+TlNjPs0zTPFs/\nanC+0GPQG6qK9vAF7oX47c7os6TeelbnhJG0WDyIKdO2f4QRK/uPhW5+2Y11M1NU\nyJjgnRsPeQ7cPhBvaip4U3vdnOJqTtz5TS6dFOexocDueDVPrK/RjxOwnpSKk20G\nwMepzcxPHhwcyj9xuN8FDcflfoczwKxapzawtuuJJC4EhR6e3fBIGJJ5S6PVs/8Y\nBOdTTuLG2uwALRPe5wLUNw7aIbxYBcZ26boKRnN9FPNUjxahRpVKXPigrBuAsZ4K\nWcwSr4MTWj57lsvvrdfUDfMNSbgE0LR8rFnWAF9bWs8/u1s0BNGfr7KyRUZTyfFd\nzsnSGR1izFlj8HwTnB0cRF1GTSr/oVto2mkqX2YdE8FVxj2rhO3Z2RO5XVe+V1GC\nfdtk8S3HNesfHYEqvXsaTksnSHRB0crHFzv/JtsZInI3XXC8TiVS3qmA3mBig2av\ncmzRHFrWvSTVM49qZ5pyDMf+6OEEcgoqxMTqsDS0eNudiSfasZlGCQ==\n=PzTF\n-----END PGP PUBLIC KEY BLOCK-----\n", ++ "check_gpg": true ++ }, ++ { ++ "name": "appstream", ++ "baseurl": "https://repo1.msvsphere-os.ru/msvsphere/9.3/AppStream/x86_64/os/", ++ "gpgkey": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nmQINBGPvra8BEAC06qzoXEPc0vEThWkSLK2TdSmQnJuVePkP8dLPGb7BXN2eM+/R\niefFDWihMD6Xc5cDnNkPdkqUgOvy+LwQJmOnsXx16MvHtX0M2hQ31VHouslULtZN\nfFhfBZK1e6/RCWhrAcAUcb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STfNihT/fVABEBAAGJ\nAjYEGAEIACAWIQTaL9vsBbWp4AOAubLxOM2jJlWtggUCY++trwIbDAAKCRDxOM2j\nJlWtgkZDEACc2t5iL+1jsJb+d3Hfv4mitEbAVm9DCeqF32BkayZbKsOR5LpDAncW\nkz8/MLjNzAWDp9Ew1nOtIBSYgEuZyq0al8vdC9CFSwohN/U1tj0kS6j21srBCWK9\n2d6OiFTAbzxqU/cdvKeI8DDqKZU1uWDR8QwXJMOxKCSrGDbDyu+TlNjPs0zTPFs/\nanC+0GPQG6qK9vAF7oX47c7os6TeelbnhJG0WDyIKdO2f4QRK/uPhW5+2Y11M1NU\nyJjgnRsPeQ7cPhBvaip4U3vdnOJqTtz5TS6dFOexocDueDVPrK/RjxOwnpSKk20G\nwMepzcxPHhwcyj9xuN8FDcflfoczwKxapzawtuuJJC4EhR6e3fBIGJJ5S6PVs/8Y\nBOdTTuLG2uwALRPe5wLUNw7aIbxYBcZ26boKRnN9FPNUjxahRpVKXPigrBuAsZ4K\nWcwSr4MTWj57lsvvrdfUDfMNSbgE0LR8rFnWAF9bWs8/u1s0BNGfr7KyRUZTyfFd\nzsnSGR1izFlj8HwTnB0cRF1GTSr/oVto2mkqX2YdE8FVxj2rhO3Z2RO5XVe+V1GC\nfdtk8S3HNesfHYEqvXsaTksnSHRB0crHFzv/JtsZInI3XXC8TiVS3qmA3mBig2av\ncmzRHFrWvSTVM49qZ5pyDMf+6OEEcgoqxMTqsDS0eNudiSfasZlGCQ==\n=PzTF\n-----END PGP PUBLIC KEY BLOCK-----\n", ++ "check_gpg": true ++ } ++ ] ++} +diff --git a/vendor/github.com/osbuild/images/pkg/distro/rhel9/distro.go b/vendor/github.com/osbuild/images/pkg/distro/rhel9/distro.go +index 136ce1b..909df08 100644 +--- a/vendor/github.com/osbuild/images/pkg/distro/rhel9/distro.go ++++ b/vendor/github.com/osbuild/images/pkg/distro/rhel9/distro.go +@@ -151,6 +151,14 @@ func NewRHEL93() distro.Distro { + return newDistro("rhel", 3) + } + ++func NewMSVSphere92() distro.Distro { ++ return newDistro("msvsphere", 2) ++} ++ ++func NewMSVSphere93() distro.Distro { ++ return newDistro("msvsphere", 3) ++} ++ + func newDistro(name string, minor int) *distribution { + var rd distribution + switch name { +@@ -180,6 +188,19 @@ func newDistro(name string, minor int) *distribution { + runner: &runner.CentOS{Version: uint64(9)}, + defaultImageConfig: defaultDistroImageConfig, + } ++ case "msvsphere": ++ rd = distribution{ ++ name: fmt.Sprintf("msvsphere-9%d", minor), ++ product: "MSVSphere", ++ osVersion: fmt.Sprintf("9.%d", minor), ++ releaseVersion: "9", ++ modulePlatformID: "platform:el9", ++ vendor: "msvsphere", ++ ostreeRefTmpl: "msvsphere/9/%s/edge", ++ isolabelTmpl: fmt.Sprintf("MSVSphere-9-%d-%%s-dvd", minor), ++ runner: &runner.RHEL{Major: uint64(9), Minor: uint64(minor)}, ++ defaultImageConfig: defaultDistroImageConfig, ++ } + default: + panic(fmt.Sprintf("unknown distro name: %s", name)) + } +diff --git a/vendor/github.com/osbuild/images/pkg/distroregistry/distroregistry.go b/vendor/github.com/osbuild/images/pkg/distroregistry/distroregistry.go +index f17a089..c1a5ef1 100644 +--- a/vendor/github.com/osbuild/images/pkg/distroregistry/distroregistry.go ++++ b/vendor/github.com/osbuild/images/pkg/distroregistry/distroregistry.go +@@ -38,6 +38,8 @@ var supportedDistros = []func() distro.Distro{ + rhel9.NewRHEL92, + rhel9.NewRHEL93, + rhel9.NewCentOS9, ++ rhel9.NewMSVSphere92, ++ rhel9.NewMSVSphere93, + } + + type Registry struct { +-- +2.41.0 + diff --git a/SPECS/osbuild-composer.spec b/SPECS/osbuild-composer.spec index bb8b761..7daa7fc 100644 --- a/SPECS/osbuild-composer.spec +++ b/SPECS/osbuild-composer.spec @@ -22,7 +22,7 @@ It is compatible with composer-cli and cockpit-composer clients. } Name: osbuild-composer -Release: 1%{?dist} +Release: 1%{?dist}.inferit Summary: An image building service based on osbuild # osbuild-composer doesn't have support for building i686 and armv7hl images @@ -33,6 +33,8 @@ License: Apache-2.0 URL: %{gourl} Source0: %{gosource} +# MSVSphere patches +Patch1001: 0001-Added-MSVSphere-support.patch BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} BuildRequires: systemd @@ -127,6 +129,16 @@ install -m 0755 -vp dnf-json %{buildroot}% # Only include repositories for the distribution and release install -m 0755 -vd %{buildroot}%{_datadir}/osbuild-composer/repositories +# MSVSphere support block +%if 0%{?msvsphere} +# MSVSphere 9 supports building for all MSVSphere versions +%if 0%{?msvsphere} >= 9 +install -m 0644 -vp repositories/msvsphere-* %{buildroot}%{_datadir}/osbuild-composer/repositories/ +%else +# MSVSphere 8 only supports building for MSVSphere 8 +install -m 0644 -vp repositories/msvsphere-%{msvsphere}* %{buildroot}%{_datadir}/osbuild-composer/repositories/ +%endif +%else # end of MSVSphere support # CentOS also defines rhel so we check for centos first %if 0%{?centos} @@ -152,6 +164,7 @@ install -m 0644 -vp repositories/rhel-%{rhel}* %{buildroot}% %endif %endif %endif +%endif # end of MSVSphere support block # Fedora can build for all included fedora releases %if 0%{?fedora} @@ -416,6 +429,10 @@ Integration tests to be run on a pristine-dedicated system to test the osbuild-c %endif %changelog +* Tue Oct 10 2023 Sergey Cherevko - 88-1.inferit +- MSVSphere 9.2 and 9.3 support +- Rebuilt for MSVSphere 9.3 + * Thu Aug 24 2023 imagebuilder-bot - 88-1 - New upstream release