qubes-release: variable dom0 base distribution (#807)
Use separate repositories for different dom0 base distributions. This is basically to ease upgrades, not to support different base distro simultaneously.
This commit is contained in:
parent
6caccbec7c
commit
4925b42a7a
@ -1,24 +0,0 @@
|
||||
[qubes-dom0-r2b2-current]
|
||||
name = Qubes Dom0 Repository (updates)
|
||||
baseurl = http://yum.qubes-os.org/r$releasever-beta2/current/dom0
|
||||
enabled = 0
|
||||
metadata_expire = 7d
|
||||
gpgcheck = 1
|
||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-$releasever-primary
|
||||
|
||||
[qubes-dom0-r2b2-current-testing]
|
||||
name = Qubes Dom0 Repository (updates-testing)
|
||||
baseurl = http://yum.qubes-os.org/r$releasever-beta2/current-testing/dom0
|
||||
enabled = 0
|
||||
metadata_expire = 7d
|
||||
gpgcheck = 1
|
||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-$releasever-primary
|
||||
|
||||
[qubes-dom0-r2b2-unstable]
|
||||
name = Qubes Dom0 Repository (unstable)
|
||||
baseurl = http://yum.qubes-os.org/r$releasever-beta2/unstable/dom0
|
||||
enabled = 0
|
||||
metadata_expire = 7d
|
||||
gpgcheck = 1
|
||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-$releasever-unstable
|
||||
|
@ -1,22 +1,22 @@
|
||||
[qubes-dom0-r2b3-current]
|
||||
[qubes-dom0-current]
|
||||
name = Qubes Dom0 Repository (updates)
|
||||
baseurl = http://yum.qubes-os.org/r$releasever-beta3/current/dom0
|
||||
baseurl = http://yum.qubes-os.org/r$releasever/current/dom0/%DIST%
|
||||
enabled = 1
|
||||
metadata_expire = 7d
|
||||
gpgcheck = 1
|
||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-$releasever-primary
|
||||
|
||||
[qubes-dom0-r2b3-current-testing]
|
||||
[qubes-dom0-current-testing]
|
||||
name = Qubes Dom0 Repository (updates-testing)
|
||||
baseurl = http://yum.qubes-os.org/r$releasever-beta3/current-testing/dom0
|
||||
baseurl = http://yum.qubes-os.org/r$releasever-beta3/current-testing/dom0/%DIST%
|
||||
enabled = 0
|
||||
metadata_expire = 7d
|
||||
gpgcheck = 1
|
||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-$releasever-primary
|
||||
|
||||
[qubes-dom0-r2b3-unstable]
|
||||
[qubes-dom0-unstable]
|
||||
name = Qubes Dom0 Repository (unstable)
|
||||
baseurl = http://yum.qubes-os.org/r$releasever-beta3/unstable/dom0
|
||||
baseurl = http://yum.qubes-os.org/r$releasever-beta3/unstable/dom0/%DIST%
|
||||
enabled = 0
|
||||
metadata_expire = 7d
|
||||
gpgcheck = 1
|
@ -1,6 +1,6 @@
|
||||
%define dist_version 2
|
||||
%define release_name R%{dist_version}
|
||||
%define fedora_base_version 18
|
||||
%define fedora_base_version %{fedora}
|
||||
|
||||
%if 0%{?qubes_builder}
|
||||
%define _builddir %(pwd)/qubes-release
|
||||
@ -72,9 +72,10 @@ install -d -m 755 $RPM_BUILD_ROOT/etc/pki/rpm-gpg
|
||||
install -m 644 RPM-GPG-KEY* $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
|
||||
|
||||
install -d -m 755 $RPM_BUILD_ROOT/etc/yum.repos.d
|
||||
for file in {qubes,fedora,fedora-updates}*repo ; do
|
||||
for file in {fedora,fedora-updates}*repo ; do
|
||||
install -m 644 $file $RPM_BUILD_ROOT/etc/yum.repos.d
|
||||
done
|
||||
sed -e "s/%%DIST%%/fc%{fedora_base_version}/" qubes-dom0.repo.in > $RPM_BUILD_ROOT/etc/yum.repos.d/qubes-dom0.repo
|
||||
|
||||
install -d -m 755 $RPM_BUILD_ROOT/usr/share/qubes
|
||||
%if 0%{?qubes_builder}
|
||||
@ -115,8 +116,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%dir /etc/yum.repos.d
|
||||
%config(noreplace) /etc/yum.repos.d/fedora.repo
|
||||
%config(noreplace) /etc/yum.repos.d/fedora-updates.repo
|
||||
%config(noreplace) /etc/yum.repos.d/qubes-dom0-r2-beta2.repo
|
||||
%config(noreplace) /etc/yum.repos.d/qubes-dom0-r2-beta3.repo
|
||||
%config(noreplace) /etc/yum.repos.d/qubes-dom0.repo
|
||||
%config(noreplace) %attr(0644,root,root) /etc/issue
|
||||
%config(noreplace) %attr(0644,root,root) /etc/issue.net
|
||||
%config %attr(0644,root,root) /etc/rpm/macros.dist
|
||||
|
Loading…
Reference in New Issue
Block a user