Skip to content

Commit

Permalink
photon-os-installer: Update the ostree release repo
Browse files Browse the repository at this point in the history
- Point to 4.0 repo

Change-Id: I33e960ee6a88d5ec69717decec3794f65e591932

Conflicts:
	SPECS/photon-os-installer/photon-os-installer.spec
Change-Id: Idce15d4b9b2b9981273c9ae5b76134ab0d6663f9
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/12501
Reviewed-by: Anish Swaminathan <[email protected]>
Tested-by: Anish Swaminathan <[email protected]>
  • Loading branch information
jaankit authored and suezzelur committed Feb 23, 2021
1 parent 09c5ccb commit 224c77f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
From 848cdae078f4963880a0cee7e661c08d42661ac7 Mon Sep 17 00:00:00 2001
From: Ankit Jain <[email protected]>
Date: Sun, 21 Feb 2021 17:59:41 +0000
Subject: [PATCH] ostree-release-repo: Point to 4.0

---
photon_installer/ostree-release-repo.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/photon_installer/ostree-release-repo.conf b/photon_installer/ostree-release-repo.conf
index e9af151..e7fc09b 100644
--- a/photon_installer/ostree-release-repo.conf
+++ b/photon_installer/ostree-release-repo.conf
@@ -1,2 +1,2 @@
-OSTREEREPOURL=https://packages.vmware.com/photon/rpm-ostree/base/dev/x86_64/repo
+OSTREEREPOURL=https://packages.vmware.com/photon/rpm-ostree/base/4.0/x86_64/repo
OSTREEREFS=photon/4.0/x86_64/minimal
--
2.23.1

6 changes: 5 additions & 1 deletion SPECS/photon-os-installer/photon-os-installer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Summary: Photon OS Installer
Name: photon-os-installer
Version: 1.0
Release: 5%{?dist}
Release: 6%{?dist}
License: Apache 2.0 and GPL 2.0
Group: System Environment/Base
URL: https://github.com/vmware/photon-os-installer
Expand All @@ -11,6 +11,7 @@ Patch0: support_insecure_installation.patch
Patch1: insecure_randomness.patch
Patch2: list_block_devices.patch
Patch3: releasever_tdnf_install.patch
Patch4: 0001-ostree-release-repo-Point-to-4.0.patch
Vendor: VMware, Inc.
Distribution: Photon
%define sha1 %{name}=cc86d22b7ef8495164fec1fb7d96bb97a2fb82c6
Expand All @@ -31,6 +32,7 @@ This is to create rpm for installer code
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1

%build
pyinstaller --onefile photon-installer.spec
Expand All @@ -47,6 +49,8 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/photon-installer

%changelog
* Tue Feb 23 2021 Ankit Jain <[email protected]> 1.0-6
- Update ostree release repo, point to 4.0
* Tue Feb 23 2021 Piyush Gupta <[email protected]> 1.0-5
- Added --releasever to tdnf install command
* Fri Feb 19 2021 Piyush Gupta <[email protected]> 1.0-4
Expand Down

0 comments on commit 224c77f

Please sign in to comment.