public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-repos] f45: Create fedora-repos-ostree sub-package
@ 2026-08-10  9:40 Sinny Kumari
  0 siblings, 0 replies; only message in thread
From: Sinny Kumari @ 2026-08-10  9:40 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-repos
            Branch : f45
            Commit : 6efa142e97a20bd820bac5fbd0127445d733b579
            Author : Sinny Kumari <sinny@redhat.com>
            Date   : 2019-03-07T16:04:30+05:30
            Stats  : +26/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-repos/c/6efa142e97a20bd820bac5fbd0127445d733b579?branch=f45

            Log:
            Create fedora-repos-ostree sub-package

Related- https://github.com/coreos/fedora-coreos-tracker/issues/143

Signed-off-by: Sinny Kumari <sinny@redhat.com>

---
diff --git a/fedora-repos.spec b/fedora-repos.spec
index 5d8dc5c..0525c99 100644
--- a/fedora-repos.spec
+++ b/fedora-repos.spec
@@ -1,7 +1,7 @@
 Summary:        Fedora package repositories
 Name:           fedora-repos
 Version:        31
-Release:        0.1%{?_module_build:%{?dist}}
+Release:        0.2%{?_module_build:%{?dist}}
 License:        MIT
 URL:            https://fedoraproject.org/
 
@@ -71,6 +71,7 @@ Source103:      fedora-rawhide-modular.repo
 Source104:      RPM-GPG-KEY-fedora-modularity
 
 Source150:      RPM-GPG-KEY-fedora-iot-2019
+Source151:      fedora.conf
 
 %description
 Fedora package repository files for yum and dnf along with gpg public keys
@@ -94,6 +95,15 @@ Obsoletes:      fedora-release-rawhide <= 22-0.3
 This package provides the RPM signature keys.
 
 
+%package ostree
+Summary:        OSTree specific files
+
+%description ostree
+This package provides ostree specfic files like remote config from
+where client's system will pull OSTree updates.
+
+
+
 %prep
 
 %build
@@ -126,6 +136,9 @@ for file in %{_sourcedir}/fedora*repo ; do
   install -m 644 $file $RPM_BUILD_ROOT/etc/yum.repos.d
 done
 
+# Install ostree remote config
+install -d -m 755 $RPM_BUILD_ROOT/etc/ostree/remotes.d/
+install -m 644 %{_sourcedir}/fedora.conf $RPM_BUILD_ROOT/etc/ostree/remotes.d/
 
 %files
 %dir /etc/yum.repos.d
@@ -148,7 +161,14 @@ done
 /etc/pki/rpm-gpg/RPM-GPG-KEY-*
 
 
+%files ostree
+%dir /etc/ostree/remotes.d/
+/etc/ostree/remotes.d/fedora.conf
+
 %changelog
+* Thu Mar 07 2019 Sinny Kumari <skumari@redhat.com> - 31-0.2
+- Create fedora-repos-ostree sub-package
+
 * Tue Feb 19 2019 Tomas Hrcka <thrcka@redhat.com> - 31-0.1
 - Setup for rawhide being f31
 

diff --git a/fedora.conf b/fedora.conf
new file mode 100644
index 0000000..3d23f22
--- /dev/null
+++ b/fedora.conf
@@ -0,0 +1,5 @@
+[remote "fedora"]
+url=https://ostree.fedoraproject.org
+gpg-verify=true
+gpgkeypath=/etc/pki/rpm-gpg/
+contenturl=mirrorlist=https://ostree.fedoraproject.org/mirrorlist

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-10  9:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10  9:40 [rpms/fedora-repos] f45: Create fedora-repos-ostree sub-package Sinny Kumari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox