Browse code

Update dist tag, splash screen and change repo, release rpms for 5.0

Change-Id: I7bf2e5f88aa07ef4d71eada970586de56dcc2c71
Signed-off-by: Tapas Kundu <tkundu@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/19040
Tested-by: gerrit-photon <photon-checkins@vmware.com>

Tapas Kundu authored on 2022/12/23 02:25:36
Showing 26 changed files
... ...
@@ -52,7 +52,7 @@ index c72ceb1..81301cd 100755
52 52
      def __init__(self, working_directory="/mnt/photon-root",
53 53
 -                 rpm_path=os.path.dirname(__file__)+"/../stage/RPMS", log_path=os.path.dirname(__file__)+"/../stage/LOGS"):
54 54
 +                 rpm_path=os.path.dirname(__file__)+"/../stage/RPMS", log_path=os.path.dirname(__file__)+"/../stage/LOGS",
55
-+                 insecure_installation=False, photon_release_version='4.0'):
55
++                 insecure_installation=False, photon_release_version='5.0'):
56 56
          self.exiting = False
57 57
          self.interactive = False
58 58
          self.install_config = None
... ...
@@ -3,7 +3,7 @@
3 3
 Summary:       Photon OS Installer
4 4
 Name:          photon-os-installer
5 5
 Version:       2.0
6
-Release:       10%{?dist}
6
+Release:       11%{?dist}
7 7
 License:       Apache 2.0 and GPL 2.0
8 8
 Group:         System Environment/Base
9 9
 Vendor:        VMware, Inc.
... ...
@@ -54,6 +54,8 @@ rm -rf %{buildroot}
54 54
 %{_bindir}/photon-installer
55 55
 
56 56
 %changelog
57
+* Wed Jan 04 2023 Tapas Kundu <tkundu@vmware.com> 2.0-11
58
+- Update dist version in 0009-installer-Removed-insecure_installation-and-photon_r.patch
57 59
 * Mon Jan 02 2023 Vamsi Krishna Brahmajosyula <vbrahmajosyula@vmware.com> 2.0-10
58 60
 - Rebuild with new cracklib
59 61
 * Tue Dec 06 2022 Piyush Gupta <gpiyush@vmware.com> 2.0-9
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Photon release files
2 2
 Name:           photon-release
3
-Version:        4.0
4
-Release:        2%{?dist}
3
+Version:        5.0
4
+Release:        1%{?dist}
5 5
 License:        Apache License
6 6
 Group:          System Environment/Base
7 7
 URL:            https://vmware.github.io/photon/
... ...
@@ -9,7 +9,7 @@ Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 
11 11
 Source0:        %{name}-%{version}.tar.gz
12
-%define sha1    %{name}=ced639518d32f9ac8ff00a71853812057db3ab3c
12
+%define sha512  %{name}=a991501455f5291d3075e9b900327cf3537527cc1b2c890dc7b01555381afc6fb3d124d7f86a3c58246fdd33ea69b0dafb231b1669ce757770aba55555ff09bd
13 13
 
14 14
 Source1:        lsb_release
15 15
 
... ...
@@ -79,6 +79,8 @@ rm -rf %{buildroot}
79 79
 %config(noreplace) %{_sysconfdir}/issue.net
80 80
 
81 81
 %changelog
82
+* Wed Dec 21 2022 Tapas Kundu <tkundu@vmware.com> 5.0-1
83
+- Update to 5.0
82 84
 * Wed Oct 27 2021 Shreenidhi Shedi <sshedi@vmware.com> 4.0-2
83 85
 - Add lsb_release
84 86
 * Wed Oct 07 2020 Anish Swaminathan <anishs@vmware.com> 4.0-1
... ...
@@ -1,11 +1,11 @@
1 1
 Summary:        Photon repo files, gpg keys
2 2
 Name:           photon-repos
3
-Version:        4.0
4
-Release:        4%{?dist}
3
+Version:        5.0
4
+Release:        1%{?dist}
5 5
 License:        Apache License
6 6
 Group:          System Environment/Base
7 7
 URL:            https://vmware.github.io/photon/
8
-Source0:        photon-repos-4.0.tar.gz
8
+Source0:        photon-repos-%{version}.tar.gz
9 9
 %define sha512  photon-repos=0ee59bd2c955d98b14dd2fee3b9e5a241ac3d3a62648853b0df1191128918af4316ec650906b70d4d1edce609180f5fd2d36b7719d08de74d3ce4260837645c0
10 10
 Source1:        VMWARE-RPM-GPG-KEY
11 11
 Source2:        VMWARE-RPM-GPG-KEY-4096
... ...
@@ -57,6 +57,8 @@ rm -rf %{buildroot}
57 57
 %config(noreplace) /etc/yum.repos.d/photon-release.repo
58 58
 
59 59
 %changelog
60
+*   Wed Dec 21 2022 Tapas Kundu <tkundu@vmware.com> 5.0-1
61
+-   Update to 5.0
60 62
 *   Mon Jul 18 2022 Piyush Gupta <gpiyush@vmware.com> 4.0-4
61 63
 -   Add photon-release as requires of photon-repos.
62 64
 *   Thu Feb 24 2022 Oliver Kurth <okurth@vmware.com> 4.0-3
... ...
@@ -58,11 +58,11 @@ cat > $JSONFILE << EOF
58 58
 
59 59
         "osname": "photon",
60 60
 
61
-        "releasever": "4.0",
61
+        "releasever": "5.0",
62 62
 
63
-        "ref": "photon/4.0/x86_64/minimal",
63
+        "ref": "photon/5.0/x86_64/minimal",
64 64
 
65
-        "automatic_version_prefix": "4.0_minimal",
65
+        "automatic_version_prefix": "5.0_minimal",
66 66
 
67 67
         "repos": ["photon", "photon-updates", "photon-extras"],
68 68
 
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Commit RPMs to an OSTree repository
2 2
 Name:           rpm-ostree
3 3
 Version:        2022.13
4
-Release:        5%{?dist}
4
+Release:        6%{?dist}
5 5
 License:        LGPLv2+
6 6
 Group:          Applications/System
7 7
 URL:            https://github.com/projectatomic/rpm-ostree
... ...
@@ -162,6 +162,8 @@ rm -rf %{buildroot}/*
162 162
 %{_bindir}/rpm-ostree-server/mkostreerepo
163 163
 
164 164
 %changelog
165
+* Fri Jan 06 2023 Tapas Kundu <tkundu@vmware.com> 2022.13-6
166
+- Update dist tag
165 167
 * Fri Jan 06 2023 Piyush Gupta <gpiyush@vmware.com> 2022.13-5
166 168
 - Added requires libsolv-0.7.22.
167 169
 * Tue Jan 03 2023 Shreenidhi Shedi <sshedi@vmware.com> 2022.13-4
... ...
@@ -1,8 +1,8 @@
1 1
 {
2 2
     "photon-build-param" : {
3 3
             "photon-build-type" : "chroot",
4
-            "photon-dist-tag" : ".ph4",
5
-            "photon-release-version" : "4.0",
4
+            "photon-dist-tag" : ".ph5",
5
+            "photon-release-version" : "5.0",
6 6
             "threads" : 4,
7 7
             "loglevel" : "info",
8 8
             "full-package-list-file" : "build_install_options_all.json",
... ...
@@ -1,4 +1,4 @@
1
-FROM k8s-base-image:4.0
1
+FROM k8s-base-image:5.0
2 2
 
3 3
 COPY [ "./stage-rpms-tdnf.conf", "./tmp/stage-rpms.repo", "/tmp/tdnf/" ]
4 4
 RUN tdnf -c /tmp/tdnf/stage-rpms-tdnf.conf erase -y toybox
... ...
@@ -1,4 +1,4 @@
1
-FROM k8s-base-image:4.0
1
+FROM k8s-base-image:5.0
2 2
 
3 3
 ADD tmp/calico/usr/bin/controller /dist/
4 4
 
... ...
@@ -1,4 +1,4 @@
1
-FROM k8s-base-image:4.0
1
+FROM k8s-base-image:5.0
2 2
 
3 3
 # Minimum Docker API version required for libnetwork.
4 4
 ENV DOCKER_API_VERSION 1.21
... ...
@@ -1,4 +1,4 @@
1
-FROM k8s-base-image:4.0
1
+FROM k8s-base-image:5.0
2 2
 
3 3
 COPY tmp/usr/bin/coredns /
4 4
 
... ...
@@ -1,4 +1,4 @@
1
-FROM k8s-base-image:4.0
1
+FROM k8s-base-image:5.0
2 2
 
3 3
 COPY [ "./stage-rpms-tdnf.conf", "./tmp/stage-rpms.repo", "/tmp/tdnf/" ]
4 4
 RUN tdnf -c /tmp/tdnf/stage-rpms-tdnf.conf install -y dnsmasq --refresh
... ...
@@ -1,4 +1,4 @@
1
-FROM k8s-base-image:4.0
1
+FROM k8s-base-image:5.0
2 2
 
3 3
 ENV FLANNEL_ARCH=amd64
4 4
 
... ...
@@ -1,4 +1,4 @@
1
-FROM k8s-base-image:4.0
1
+FROM k8s-base-image:5.0
2 2
 
3 3
 ADD tmp/k8heapster/usr/bin/heapster /heapster
4 4
 ADD tmp/k8heapster/usr/bin/eventer /eventer
... ...
@@ -2,6 +2,6 @@
2 2
 
3 3
 FROM scratch
4 4
 
5
-ADD photon-rootfs-4.0.tar.gz /
5
+ADD photon-rootfs-5.0.tar.gz /
6 6
 
7 7
 CMD ["/bin/sh"]
... ...
@@ -1,4 +1,4 @@
1
-FROM k8s-base-image:4.0
1
+FROM k8s-base-image:5.0
2 2
 
3 3
 ADD tmp/k8dns/usr/bin/kube-dns /kube-dns
4 4
 ENTRYPOINT ["/kube-dns"]
... ...
@@ -1,4 +1,4 @@
1
-FROM k8s-base-image:4.0
1
+FROM k8s-base-image:5.0
2 2
 
3 3
 COPY tmp/k8smetserv/usr/bin/metrics-server /
4 4
 
... ...
@@ -1,4 +1,4 @@
1
-FROM k8s-base-image:4.0
1
+FROM k8s-base-image:5.0
2 2
 
3 3
 COPY [ "./stage-rpms-tdnf.conf", "./tmp/stage-rpms.repo", "/tmp/tdnf/" ]
4 4
 RUN tdnf -c /tmp/tdnf/stage-rpms-tdnf.conf install -y openssl nginx shadow zlib-devel --refresh
... ...
@@ -1,4 +1,4 @@
1
-FROM k8s-base-image:4.0
1
+FROM k8s-base-image:5.0
2 2
 
3 3
 ADD tmp/k8dns/usr/bin/sidecar /sidecar
4 4
 
... ...
@@ -1,4 +1,4 @@
1
-FROM k8s-base-image:4.0
1
+FROM k8s-base-image:5.0
2 2
 
3 3
 # This script may automatically configure wavefront without prompting, based on
4 4
 # these variables:
5 5
Binary files a/support/image-builder/iso/BUILD_DVD/isolinux/splash.png and b/support/image-builder/iso/BUILD_DVD/isolinux/splash.png differ
... ...
@@ -155,7 +155,7 @@ cd /installer
155 155
 ACTIVE_CONSOLE="\$(< /sys/devices/virtual/tty/console/active)"
156 156
 
157 157
 install() {
158
-  LANG=en_US.UTF-8 photon-installer -i iso -o $PACKAGE_LIST_FILE_BASE_NAME -e EULA.txt -t "VMWARE 4.0 LICENSE AGREEMENT" -v $PHOTON_RELEASE_VER && shutdown -r now
158
+  LANG=en_US.UTF-8 photon-installer -i iso -o $PACKAGE_LIST_FILE_BASE_NAME -e EULA.txt -t "VMWARE 5.0 LICENSE AGREEMENT" -v $PHOTON_RELEASE_VER && shutdown -r now
159 159
 }
160 160
 
161 161
 try_run_installer() {
... ...
@@ -3,11 +3,11 @@
3 3
 
4 4
     "osname": "photon",
5 5
 
6
-    "releasever": "4.0",
6
+    "releasever": "5.0",
7 7
 
8
-    "ref": "photon/4.0/x86_64/minimal",
8
+    "ref": "photon/5.0/x86_64/minimal",
9 9
 
10
-    "automatic_version_prefix": "4.0_minimal",
10
+    "automatic_version_prefix": "5.0_minimal",
11 11
 
12 12
     "repos": ["photon-ostree"],
13 13
 
... ...
@@ -1,5 +1,5 @@
1 1
 [photon-ostree]
2
-name=VMware Photon OSTree Linux 4.0(x86_64)
2
+name=VMware Photon OSTree Linux 5.0(x86_64)
3 3
 gpgkey=file:///etc/pki/rpm-gpg/VMWARE-RPM-GPG-KEY file:///etc/pki/rpm-gpg/VMWARE-RPM-GPG-KEY-4096
4 4
 gpgcheck=0
5 5
 enabled=1
... ...
@@ -3,8 +3,8 @@
3 3
  		<Info>Information about the installed software</Info> 
4 4
  		<Product>Photon OS</Product> 
5 5
  		<Vendor>VMware Inc.</Vendor> 
6
- 		<Version>4.0</Version> 
7
- 		<FullVersion>4.0</FullVersion> 
6
+ 		<Version>5.0</Version> 
7
+ 		<FullVersion>5.0</FullVersion> 
8 8
  	</ProductSection>
9 9
 	<EulaSection>
10 10
         <Info>End User License Agreement</Info>
... ...
@@ -4,8 +4,8 @@
4 4
  		<Info>Information about the installed software</Info> 
5 5
  		<Product>Photon OS</Product> 
6 6
  		<Vendor>VMware Inc.</Vendor> 
7
- 		<Version>4.0</Version> 
8
- 		<FullVersion>4.0</FullVersion> 
7
+ 		<Version>5.0</Version> 
8
+ 		<FullVersion>5.0</FullVersion> 
9 9
  	</ProductSection>
10 10
 	<EulaSection>
11 11
         <Info>End User License Agreement</Info>