#1 Convert to centos-repos
Closed 3 years ago by carlwgeorge. Opened 3 years ago by carlwgeorge.
rpms/ carlwgeorge/centos-repos c8-initial-package  into  c8

empty or binary file added
@@ -1,10 +0,0 @@ 

- # We enable all display managers by default. Since only one can

- # actually be enabled at the same time the one which is installed

- # first wins

- 

- enable gdm.service

- enable lightdm.service

- enable slim.service

- enable lxdm.service

- enable kdm.service

- enable xdm.service

file removed
-160
@@ -1,160 +0,0 @@ 

- # Also see:

- # https://fedoraproject.org/wiki/Starting_services_by_default

- 

- disable systemd-timesyncd.service

- disable systemd-resolved.service

- 

- # systemd

- enable remote-fs.target

- enable getty@tty1.service

- 

- # System stuff

- enable sshd.service

- enable atd.*

- enable crond.*

- enable chronyd.service

- enable rpcbind.*

- enable NetworkManager.service

- enable NetworkManager-dispatcher.service

- enable ModemManager.service

- enable auditd.service

- enable restorecond.service

- enable bluetooth.*

- enable avahi-daemon.*

- enable cups.*

- 

- # The various syslog implementations

- enable rsyslog.*

- enable syslog-ng.*

- enable sysklogd.*

- 

- # Network facing

- enable firewalld.service

- enable libvirtd.service

- enable xinetd.service

- enable ladvd.service

- 

- # Storage

- enable multipathd.service

- enable libstoragemgmt.service

- enable lvm2-lvmpolld.socket

- enable lvm2-monitor.*

- enable lvm2-lvmetad.*

- enable dm-event.*

- enable dmraid-activation.service

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=855372

- enable mdmonitor.service

- enable mdmonitor-takeover.service

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=876237

- enable spice-vdagentd.service

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=885406

- enable qemu-guest-agent.service

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=928726

- enable dnf-makecache.timer

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=957135

- enable vmtoolsd.service

- 

- # mcelog is a utility that collects and decodes Machine Check Exception data

- # on x86-32 and x86-64 systems.

- # https://bugzilla.redhat.com/show_bug.cgi?id=1302179

- enable mcelog.service

- 

- #https://bugzilla.redhat.com/show_bug.cgi?id=995987

- enable kdump.service

- 

- #https://bugzilla.redhat.com/show_bug.cgi?id=1009970

- enable tuned.service

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=1215645

- enable unbound-anchor.timer

- 

- # Enable SSSD Kerberos Credential Cache Server

- # https://bugzilla.redhat.com/show_bug.cgi?id=1558927

- enable sssd-kcm.socket

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=1578833

- enable sssd.service

- 

- # Hardware

- enable gpm.*

- enable gpsd.*

- enable irqbalance.service

- enable lm_sensors.service

- enable mcelog.*

- enable microcode.service

- enable smartd.service

- enable pcscd.socket

- enable rngd.service

- 

- # Other stuff

- enable abrtd.service

- enable abrt-ccpp.service

- enable abrt-oops.service

- enable abrt-xorg.service

- enable abrt-vmcore.service

- enable lttng-sessiond.service

- enable ksm.service

- enable ksmtuned.service

- enable rootfs-resize.service

- enable sysstat.service

- enable uuidd.service

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=1193616

- enable hypervfcopyd.service

- enable hypervkvpd.service

- enable hypervvssd.service

- 

- # Desktop stuff

- enable accounts-daemon.service

- enable rtkit-daemon.service

- enable upower.service

- enable udisks2.service

- enable polkit.service

- enable packagekit-offline-update.service

- enable PackageKit.service

- 

- # Initial Setup reconfiguration service

- enable initial-setup-reconfiguration.service

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=1312446

- enable opal-prd.service

- 

- # virtlog.service is sometimes used by VMs started by libvirt.service

- # Enable virtlog.socket to have it socket activated

- # https://bugzilla.redhat.com/show_bug.cgi?id=1325503

- enable virtlogd.socket

- 

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=1271839

- enable rhsmcertd.service

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=1359645

- enable brandbot.*

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=1572550

- enable timedatex.service

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=1578870

- enable selinux-autorelabel-mark.service

- enable rhel-configure.service

- enable rhel-dmesg.service

- 

- # https://github.com/fedora-sysv/initscripts/commit/37109fdf9808

- enable nis-domainname.service

- enable import-state.service

- enable loadmodules.service

- enable readonly-root.service

- 

- # https://bugzilla.redhat.com/show_bug.cgi?id=1630200

- # s390x specific services

- enable cpi.service

- enable device_cio_free.service

- 

- # Enable the stratis daemon for managing stratis storage

- # https://bugzilla.redhat.com/show_bug.cgi?id=1632510

- enable stratisd.service

@@ -1,1 +0,0 @@ 

- disable *

@@ -1,20 +0,0 @@ 

- # CentOS-AppStream.repo

- #

- # The mirror system uses the connecting IP address of the client and the

- # update status of each mirror to pick mirrors that are updated to and

- # geographically close to the client.  You should use this for CentOS updates

- # unless you are manually picking other mirrors.

- #

- # If the mirrorlist= does not work for you, as a fall back you can try the

- # remarked out baseurl= line instead.

- #

- #

- 

- [AppStream]

- name=CentOS-$releasever - AppStream

- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=AppStream&infra=$infra

- #baseurl=http://mirror.centos.org/$contentdir/$releasever/AppStream/$basearch/os/

- gpgcheck=1

- enabled=1

- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

- 

@@ -1,20 +0,0 @@ 

- # CentOS-Base.repo

- #

- # The mirror system uses the connecting IP address of the client and the

- # update status of each mirror to pick mirrors that are updated to and

- # geographically close to the client.  You should use this for CentOS updates

- # unless you are manually picking other mirrors.

- #

- # If the mirrorlist= does not work for you, as a fall back you can try the

- # remarked out baseurl= line instead.

- #

- #

- 

- [BaseOS]

- name=CentOS-$releasever - Base

- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=BaseOS&infra=$infra

- #baseurl=http://mirror.centos.org/$contentdir/$releasever/BaseOS/$basearch/os/

- gpgcheck=1

- enabled=1

- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

- 

file removed
-24
@@ -1,24 +0,0 @@ 

- # CentOS-CR.repo

- #

- # The Continuous Release ( CR )  repository contains rpms that are due in the next

- # release for a specific CentOS Version ( eg. next release in CentOS-8 ); these rpms

- # are far less tested, with no integration checking or update path testing having

- # taken place. They are still built from the upstream sources, but might not map

- # to an exact upstream distro release.

- #

- # These packages are made available soon after they are built, for people willing

- # to test their environments, provide feedback on content for the next release, and

- # for people looking for early-access to next release content.

- #

- # The CR repo is shipped in a disabled state by default; its important that users

- # understand the implications of turning this on.

- #

- 

- [cr]

- name=CentOS-$releasever - cr

- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=cr&infra=$infra

- #baseurl=http://mirror.centos.org/$contentdir/$releasever/cr/$basearch/os/

- gpgcheck=1

- enabled=0

- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

- 

@@ -1,21 +0,0 @@ 

- # CentOS-Debug.repo

- #

- # The mirror system uses the connecting IP address of the client and the

- # update status of each mirror to pick mirrors that are updated to and

- # geographically close to the client.  You should use this for CentOS updates

- # unless you are manually picking other mirrors.

- #

- 

- # All debug packages from all the various CentOS-8 releases

- # are merged into a single repo, split by BaseArch

- #

- # Note: packages in the debuginfo repo are currently not signed

- #

- 

- [base-debuginfo]

- name=CentOS-$releasever - Debuginfo

- baseurl=http://debuginfo.centos.org/$releasever/$basearch/

- gpgcheck=1

- enabled=0

- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

- 

@@ -1,19 +0,0 @@ 

- # CentOS-Devel.repo

- #

- # The mirror system uses the connecting IP address of the client and the

- # update status of each mirror to pick mirrors that are updated to and

- # geographically close to the client.  You should use this for CentOS updates

- # unless you are manually picking other mirrors.

- #

- # If the mirrorlist= does not work for you, as a fall back you can try the

- # remarked out baseurl= line instead.

- #

- #

- 

- [Devel]

- name=CentOS-$releasever - Devel WARNING! FOR BUILDROOT USE ONLY!

- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=Devel&infra=$infra

- #baseurl=http://mirror.centos.org/$contentdir/$releasever/Devel/$basearch/os/

- gpgcheck=1

- enabled=0

- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -1,21 +0,0 @@ 

- # CentOS-Extras.repo

- #

- # The mirror system uses the connecting IP address of the client and the

- # update status of each mirror to pick mirrors that are updated to and

- # geographically close to the client.  You should use this for CentOS updates

- # unless you are manually picking other mirrors.

- #

- # If the mirrorlist= does not work for you, as a fall back you can try the

- # remarked out baseurl= line instead.

- #

- #

- 

- #additional packages that may be useful

- [extras]

- name=CentOS-$releasever - Extras

- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra

- #baseurl=http://mirror.centos.org/$contentdir/$releasever/extras/$basearch/os/

- gpgcheck=1

- enabled=1

- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

- 

file removed
-20
@@ -1,20 +0,0 @@ 

- # CentOS-HA.repo

- #

- # The mirror system uses the connecting IP address of the client and the

- # update status of each mirror to pick mirrors that are updated to and

- # geographically close to the client.  You should use this for CentOS updates

- # unless you are manually picking other mirrors.

- #

- # If the mirrorlist= does not work for you, as a fall back you can try the

- # remarked out baseurl= line instead.

- #

- #

- 

- [HighAvailability]

- name=CentOS-$releasever - HA

- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=HighAvailability&infra=$infra

- #baseurl=http://mirror.centos.org/$contentdir/$releasever/HighAvailability/$basearch/os/

- gpgcheck=1

- enabled=0

- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

- 

@@ -0,0 +1,17 @@ 

+ # CentOS-Linux-AppStream.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [appstream]

+ name=CentOS Linux $releasever - AppStream

+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=AppStream&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$releasever/AppStream/$basearch/os/

+ gpgcheck=1

+ enabled=1

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,17 @@ 

+ # CentOS-Linux-BaseOS.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [baseos]

+ name=CentOS Linux $releasever - BaseOS

+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=BaseOS&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$releasever/BaseOS/$basearch/os/

+ gpgcheck=1

+ enabled=1

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,24 @@ 

+ # CentOS-Linux-ContinuousRelease.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ #

+ # The Continuous Release (CR) repository contains packages for the next minor

+ # release of CentOS Linux.  This repository only has content in the time period

+ # between an upstream release and the official CentOS Linux release.  These

+ # packages have not been fully tested yet and should be considered beta

+ # quality.  They are made available for people willing to test and provide

+ # feedback for the next release.

+ 

+ [cr]

+ name=CentOS Linux $releasever - ContinuousRelease

+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=cr&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$releasever/cr/$basearch/os/

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,11 @@ 

+ # CentOS-Linux-Debuginfo.repo

+ #

+ # All debug packages are merged into a single repo, split by basearch, and are

+ # not signed.

+ 

+ [debuginfo]

+ name=CentOS Linux $releasever - Debuginfo

+ baseurl=http://debuginfo.centos.org/$releasever/$basearch/

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,17 @@ 

+ # CentOS-Linux-Devel.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [devel]

+ name=CentOS Linux $releasever - Devel WARNING! FOR BUILDROOT USE ONLY!

+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=Devel&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$releasever/Devel/$basearch/os/

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,17 @@ 

+ # CentOS-Linux-Extras.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [extras]

+ name=CentOS Linux $releasever - Extras

+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$releasever/extras/$basearch/os/

+ gpgcheck=1

+ enabled=1

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

SOURCES/CentOS-Linux-FastTrack.repo SOURCES/CentOS-fasttrack.repo
file renamed
+10 -3
@@ -1,10 +1,17 @@ 

- #CentOS-fasttrack.repo

+ # CentOS-Linux-FastTrack.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

  

  [fasttrack]

- name=CentOS-$releasever - fasttrack

+ name=CentOS Linux $releasever - FastTrack

  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=fasttrack&infra=$infra

  #baseurl=http://mirror.centos.org/$contentdir/$releasever/fasttrack/$basearch/os/

  gpgcheck=1

  enabled=0

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

- 

@@ -0,0 +1,17 @@ 

+ # CentOS-Linux-HighAvailability.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [ha]

+ name=CentOS Linux $releasever - HighAvailability

+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=HighAvailability&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$releasever/HighAvailability/$basearch/os/

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

SOURCES/CentOS-Linux-Media.repo SOURCES/CentOS-Media.repo
file renamed
+7 -15
@@ -1,18 +1,10 @@ 

- # CentOS-Media.repo

+ # CentOS-Linux-Media.repo

  #

- #  This repo can be used with mounted DVD media, verify the mount point for

- #  CentOS-8.  You can use this repo and yum to install items directly off the

- #  DVD ISO that we release.

- #

- # To use this repo, put in your DVD and use it with the other repos too:

- #  yum --enablerepo=c8-media [command]

- #

- # or for ONLY the media repo, do this:

- #

- #  yum --disablerepo=\* --enablerepo=c8-media [command]

+ # You can use this repo to install items directly off the installation media.

+ # Verify your mount point matches one of the below file:// paths.

  

- [c8-media-BaseOS]

- name=CentOS-BaseOS-$releasever - Media

+ [media-baseos]

+ name=CentOS Linux $releasever - Media - BaseOS

  baseurl=file:///media/CentOS/BaseOS

          file:///media/cdrom/BaseOS

          file:///media/cdrecorder/BaseOS
@@ -20,8 +12,8 @@ 

  enabled=0

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

  

- [c8-media-AppStream]

- name=CentOS-AppStream-$releasever - Media

+ [media-appstream]

+ name=CentOS Linux $releasever - Media - AppStream

  baseurl=file:///media/CentOS/AppStream

          file:///media/cdrom/AppStream

          file:///media/cdrecorder/AppStream

@@ -0,0 +1,17 @@ 

+ # CentOS-Linux-Plus.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [plus]

+ name=CentOS Linux $releasever - Plus

+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$releasever/centosplus/$basearch/os/

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,17 @@ 

+ # CentOS-Linux-PowerTools.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [powertools]

+ name=CentOS Linux $releasever - PowerTools

+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=PowerTools&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$releasever/PowerTools/$basearch/os/

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

SOURCES/CentOS-Linux-Sources.repo SOURCES/CentOS-Sources.repo
file renamed
+9 -22
@@ -1,43 +1,30 @@ 

- # CentOS-Sources.repo

- #

- # The mirror system uses the connecting IP address of the client and the

- # update status of each mirror to pick mirrors that are updated to and

- # geographically close to the client.  You should use this for CentOS updates

- # unless you are manually picking other mirrors.

- #

- # If the mirrorlist= does not work for you, as a fall back you can try the 

- # remarked out baseurl= line instead.

- #

- #

+ # CentOS-Linux-Sources.repo

  

- [BaseOS-source]

- name=CentOS-$releasever - BaseOS Sources

+ 

+ [baseos-source]

+ name=CentOS Linux $releasever - BaseOS - Source

  baseurl=http://vault.centos.org/$contentdir/$releasever/BaseOS/Source/

  gpgcheck=1

  enabled=0

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

  

- #AppStream

- [AppStream-source]

- name=CentOS-$releasever - AppStream Sources

+ [appstream-source]

+ name=CentOS Linux $releasever - AppStream - Source

  baseurl=http://vault.centos.org/$contentdir/$releasever/AppStream/Source/

  gpgcheck=1

  enabled=0

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

  

- #additional packages that may be useful

  [extras-source]

- name=CentOS-$releasever - Extras Sources

+ name=CentOS Linux $releasever - Extras - Source

  baseurl=http://vault.centos.org/$contentdir/$releasever/extras/Source/

  gpgcheck=1

  enabled=0

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

  

- #additional packages that extend functionality of existing packages

- [centosplus-source]

- name=CentOS-$releasever - Plus Sources

+ [plus-source]

+ name=CentOS Linux $releasever - Plus - Source

  baseurl=http://vault.centos.org/$contentdir/$releasever/centosplus/Source/

  gpgcheck=1

  enabled=0

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

- 

@@ -1,20 +0,0 @@ 

- # CentOS-PowerTools.repo

- #

- # The mirror system uses the connecting IP address of the client and the

- # update status of each mirror to pick mirrors that are updated to and

- # geographically close to the client.  You should use this for CentOS updates

- # unless you are manually picking other mirrors.

- #

- # If the mirrorlist= does not work for you, as a fall back you can try the

- # remarked out baseurl= line instead.

- #

- #

- 

- [PowerTools]

- name=CentOS-$releasever - PowerTools

- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=PowerTools&infra=$infra

- #baseurl=http://mirror.centos.org/$contentdir/$releasever/PowerTools/$basearch/os/

- gpgcheck=1

- enabled=0

- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

- 

@@ -0,0 +1,17 @@ 

+ # CentOS-Stream-AppStream.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [appstream]

+ name=CentOS Stream $releasever - AppStream

+ mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=AppStream&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$stream/AppStream/$basearch/os/

+ gpgcheck=1

+ enabled=1

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,17 @@ 

+ # CentOS-Stream-BaseOS.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [baseos]

+ name=CentOS Stream $releasever - BaseOS

+ mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=BaseOS&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$stream/BaseOS/$basearch/os/

+ gpgcheck=1

+ enabled=1

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,11 @@ 

+ # CentOS-Stream-Debuginfo.repo

+ #

+ # All debug packages are merged into a single repo, split by basearch, and are

+ # not signed.

+ 

+ [debuginfo]

+ name=CentOS Stream $releasever - Debuginfo

+ baseurl=http://debuginfo.centos.org/$stream/$basearch/

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,17 @@ 

+ # CentOS-Stream-Extras.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [extras]

+ name=CentOS Stream $releasever - Extras

+ mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=extras&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$stream/extras/$basearch/os/

+ gpgcheck=1

+ enabled=1

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,17 @@ 

+ # CentOS-Stream-HighAvailability.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [ha]

+ name=CentOS Stream $releasever - HighAvailability

+ mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=HighAvailability&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$stream/HighAvailability/$basearch/os/

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,22 @@ 

+ # CentOS-Stream-Media.repo

+ #

+ # You can use this repo to install items directly off the installation media.

+ # Verify your mount point matches one of the below file:// paths.

+ 

+ [media-baseos]

+ name=CentOS Stream $releasever - Media - BaseOS

+ baseurl=file:///media/CentOS/BaseOS

+         file:///media/cdrom/BaseOS

+         file:///media/cdrecorder/BaseOS

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

+ 

+ [media-appstream]

+ name=CentOS Stream $releasever - Media - AppStream

+ baseurl=file:///media/CentOS/AppStream

+         file:///media/cdrom/AppStream

+         file:///media/cdrecorder/AppStream

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,17 @@ 

+ # CentOS-Stream-Plus.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [plus]

+ name=CentOS Stream $releasever - Plus

+ mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=centosplus&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$stream/centosplus/$basearch/os/

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,17 @@ 

+ # CentOS-Stream-PowerTools.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [powertools]

+ name=CentOS Stream $releasever - PowerTools

+ mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=PowerTools&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$stream/PowerTools/$basearch/os/

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -0,0 +1,17 @@ 

+ # CentOS-Stream-RealTime.repo

+ #

+ # The mirrorlist system uses the connecting IP address of the client and the

+ # update status of each mirror to pick current mirrors that are geographically

+ # close to the client.  You should use this for CentOS updates unless you are

+ # manually picking other mirrors.

+ #

+ # If the mirrorlist does not work for you, you can try the commented out

+ # baseurl line instead.

+ 

+ [rt]

+ name=CentOS Stream $releasever - RealTime

+ mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=RT&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$stream/RT/$basearch/os/

+ gpgcheck=1

+ enabled=0

+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

@@ -1,3 +0,0 @@ 

- # CentOS Vault contains rpms from older releases in the CentOS-8

- # tree.

- 

@@ -1,21 +0,0 @@ 

- # CentOS-centosplus.repo

- #

- # The mirror system uses the connecting IP address of the client and the

- # update status of each mirror to pick mirrors that are updated to and

- # geographically close to the client.  You should use this for CentOS updates

- # unless you are manually picking other mirrors.

- #

- # If the mirrorlist= does not work for you, as a fall back you can try the

- # remarked out baseurl= line instead.

- #

- #

- 

- #additional packages that extend functionality of existing packages

- [centosplus]

- name=CentOS-$releasever - Plus

- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra

- #baseurl=http://mirror.centos.org/$contentdir/$releasever/centosplus/$basearch/os/

- gpgcheck=1

- enabled=0

- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

- 

file removed
-70
@@ -1,70 +0,0 @@ 

- # -*- coding: utf-8 -*-

- 

- The CentOS distribution would not be possible without the hard work and

- dedication of a large number of talented people. It's only fair that we

- acknowledge the time and effort that they have put into the distribution.

- 

- We are always in need of more volunteers. If you're interested in joining

- the CentOS Project, please join us on irc.freenode.net in #centos-devel or 

- via the mailing list at http://lists.centos.org/pipermail/centos-devel/

- 

- 

- 

- 

- ## Special Recognition ## 

- 

- One of the key reasons we got delayed on the CentOS-6 release was lack of 

- suitable build resources, especially when we had to repeatedly build large

- chunks of code. Norwood S came forward and worked with me to 

- setup a large build machine, then tune the build process and help improve

- the overall build, test and validate process we were using. This build

- machine he donated to the project was about 5 times more capable than the

- entire buildsystem we had. And he did this out of his own pocket, from

- his own time, and has since upgraded the machine as well. It's now a 128GB,

- 48 core machine, with 4 SSD's and 4 sata disks : but the key metric is 

- that it can build from source, the entire CentOS-7 distro in under 22 hrs.

- 

- Having this capability was key in our ability to build, test and deliver

- CentOS-7 as rapidly as we have been able to.

- 

- We'd like to dedicate the CentOS-7 Release to Mr Norwood S, of Phoenix,

- AZ, USA for his continued support for the project.

- 

- Contributors:

-   The Red Hat developers, without whom CentOS would look very different

- 

-   Akemi Matsuno-Yagi

-   Alain Reguera Delgado

-   Alan Bartlett

-   Andreas Thienemann

-   Anssi Johansson

-   Athmane Madjoudj

-   Bonnie King

-   Brian Stinson

-   Carl Trieloff

-   Christoph Galuschka

-   Fabian Arrotin

-   Jakub Filak

-   James Moger

-   Jeff Sheltren

-   Jim Perrin

-   Johnny Hughes Jr

-   Karanbir Singh

-   Karsten Wade

-   Kay Williams

-   Manuel Wolfshant

-   Matej Habrnal

-   Marcus Moeller

-   Michael Scherer

-   Mike McLean

-   Pablo Sebastián Greco

-   Pat Riehecky

-   Ralph Angenendt

-   Scott Robbins

-   Stephen John Smoogen

-   Trevor Hemsley

-   Tru Huynh

-   Tuomas Kuosmanen

-   Tuomo Soini

-   Tyler Parsons

- 

file removed
-10
@@ -1,10 +0,0 @@ 

- CentOS 8 Linux EULA

- 

- CentOS 8 Linux comes with no guarantees or warranties of any sorts, 

- either written or implied.

- 

- The Distribution is released as GPLv2. Individual packages in the

- distribution come with their own licences. A copy of the GPLv2 license

- is included with the distribution media.

- 

- 

SOURCES/LICENSE SOURCES/GPL
file renamed
file was moved with no change to the file
file removed
-30
@@ -1,30 +0,0 @@ 

- #!/bin/bash

- clear

- part=$(mount |grep '^/dev.* / ' |awk '{print $1}')

- if [ -z "$part" ];then

-     echo "Error detecting rootfs"

-     exit -1

- fi

- dev=$(echo $part|sed 's/[0-9]*$//g')

- devlen=${#dev}

- num=${part:$devlen}

- if [[ "$dev" =~ ^/dev/mmcblk[0-9]*p$ ]];then

-     dev=${dev:0:-1}

- fi

- if [ ! -x /usr/bin/growpart ];then

-     echo "Please install cloud-utils-growpart (sudo yum install cloud-utils-growpart)"

-     exit -2

- fi

- if [ ! -x /usr/sbin/resize2fs ];then

-     echo "Please install e2fsprogs (sudo yum install e2fsprogs)"

-     exit -3

- fi

- echo $part $dev $num

- 

- echo "Extending partition $num to max size ...."

- growpart $dev $num

- echo "Resizing ext4 filesystem ..."

- resize2fs $part

- echo "Done."

- df -h |grep $part

- 

file modified
+128 -235
@@ -1,256 +1,150 @@ 

- %define debug_package %{nil}

- %define product_family CentOS Linux

- %define variant_titlecase Server

- %define variant_lowercase server

- %ifarch %{arm}

- %define release_name AltArch

- %define contentdir   altarch

- %else

- %define release_name Core

- %define contentdir   centos

- %endif

- %ifarch ppc64le

- %define tuned_profile :server

- %endif

- %define infra_var stock

- %define base_release_version 8

- %define full_release_version 8

- %define dist_release_version 8

- %define upstream_rel_long 8.2-0

- %define upstream_rel 8.2

- %define centos_rel 2.2004

- #define beta Beta

- %define dist .el%{dist_release_version}

- 

- # The anaconda scripts in %%{_libexecdir} can create false requirements

- %global __requires_exclude_from %{_libexecdir}

- 

- Name:           centos-release

- Version:        %{upstream_rel}

- Release:        %{centos_rel}.0.1%{?dist}

- Summary:        %{product_family} release file

- Group:          System Environment/Base

+ Name:           centos-repos

+ Version:        8

+ Release:        1%{?dist}

+ Summary:        CentOS package repositories

  License:        GPLv2

- %ifnarch %{arm}

- %define pkg_name %{name}

- %else

- %define pkg_name centos-userland-release

- %package -n %{pkg_name}

- Summary:        %{product_family} release file

- %endif

- Provides:       centos-release = %{version}-%{release}

- Provides:       centos-release(upstream) = %{upstream_rel}

- Provides:       redhat-release = %{upstream_rel_long}

- Provides:       system-release = %{upstream_rel_long}

- Provides:       system-release(releasever) = %{base_release_version}

- Provides:       base-module(platform:el%{base_release_version})

- 

- Provides:       centos-release-eula

- Provides:       redhat-release-eula

- 

- Requires:       centos-gpg-keys = %{version}-%{release}

- Requires:       centos-repos >= %{version}-%{release}

- 

- Source1:        85-display-manager.preset

- Source2:        90-default.preset

- Source3:        99-default-disable.preset

- Source10:       RPM-GPG-KEY-centosofficial

- Source11:       RPM-GPG-KEY-centostesting

- 

- Source100:      rootfs-expand

- 

- Source200:      EULA

- Source201:      GPL

- Source202:      Contributors

- 

- Source300:      CentOS-Base.repo

- Source301:      CentOS-CR.repo

- Source302:      CentOS-Debuginfo.repo

- Source303:      CentOS-Extras.repo

- Source304:      CentOS-fasttrack.repo

- Source305:      CentOS-Media.repo

- Source306:      CentOS-Sources.repo

- Source307:      CentOS-Vault.repo

- Source308:      CentOS-AppStream.repo

- Source309:      CentOS-PowerTools.repo

- Source310:      CentOS-centosplus.repo

- Source311:      CentOS-HA.repo

- Source312:      CentOS-Devel.repo

- 

- %ifarch %{arm}

- %description -n %{pkg_name}

- %{product_family} release files

- %endif

+ URL:            https://centos.org

+ BuildArch:      noarch

+ 

+ Source100:      LICENSE

+ Source101:      RPM-GPG-KEY-centosofficial

+ Source102:      RPM-GPG-KEY-centostesting

+ 

+ # CentOS Linux repos

+ Source200:      CentOS-Linux-BaseOS.repo

+ Source201:      CentOS-Linux-AppStream.repo

+ Source202:      CentOS-Linux-PowerTools.repo

+ Source203:      CentOS-Linux-Extras.repo

+ Source204:      CentOS-Linux-Plus.repo

+ 

+ # CentOS Linux add-on repos

+ Source210:      CentOS-Linux-HighAvailability.repo

+ 

+ # CentOS Linux special repos

+ Source220:      CentOS-Linux-Media.repo

+ Source221:      CentOS-Linux-Debuginfo.repo

+ Source222:      CentOS-Linux-Sources.repo

+ Source223:      CentOS-Linux-Devel.repo

+ Source224:      CentOS-Linux-ContinuousRelease.repo

+ Source225:      CentOS-Linux-FastTrack.repo

+ 

+ # CentOS Stream repos

+ Source300:      CentOS-Stream-BaseOS.repo

+ Source301:      CentOS-Stream-AppStream.repo

+ Source302:      CentOS-Stream-PowerTools.repo

+ Source303:      CentOS-Stream-Extras.repo

+ Source304:      CentOS-Stream-Plus.repo

+ 

+ # CentOS Stream add-on repos

+ Source310:      CentOS-Stream-HighAvailability.repo

+ Source311:      CentOS-Stream-RealTime.repo

+ 

+ # CentOS Stream special repos

+ Source320:      CentOS-Stream-Media.repo

+ Source321:      CentOS-Stream-Debuginfo.repo

+ 

  

  %description

- %{product_family} release files

+ This package provides the package repository files for CentOS.

+ 

+ 

+ %package -n centos-linux-repos

+ Summary:        CentOS Linux package repositories

+ Requires:       system-release(releasever) = %{version}

+ Requires:       centos-gpg-keys = 1:%{version}-%{release}

+ Provides:       centos-repos(%{version})

+ 

+ # files previously located in other packages

+ Conflicts:      centos-release < 8.0-0.1905.0.10

+ Conflicts:      centos-repos < 8.2-3

+ 

+ # conflict with virtual provide so only one repos package is installed

+ Conflicts:      centos-repos(%{version})

+ 

+ # give dnf a hint to resolve this package on CentOS Linux

+ Enhances:       centos-linux-release

+ 

+ 

+ %description -n centos-linux-repos

+ This package provides the package repository files for CentOS Linux.

+ 

+ 

+ %package -n centos-stream-repos

+ Summary:        CentOS Stream package repositories

+ Requires:       system-release(releasever) = %{version}

+ Requires:       centos-gpg-keys = 1:%{version}-%{release}

+ Provides:       centos-repos(%{version})

  

- %package -n centos-repos

- Summary:        %{product_family} package repositories

- Group:          System Environment/Base

- Provides:       centos-repos(%{base_release_version}) = %{upstream_rel}

- Requires:       system-release = %{upstream_rel}

- Requires:       centos-gpg-keys = %{version}-%{release}

- Conflicts:      %{name} < 8.0-0.1905.0.10

+ # files previously located in other packages

+ Conflicts:      centos-release-stream < 8.3-4

+ 

+ # conflict with virtual provide so only one repos package is installed

+ Conflicts:      centos-repos(%{version})

+ 

+ # give dnf a hint to resolve this package on CentOS Stream

+ Enhances:       centos-stream-release

+ 

+ 

+ %description -n centos-stream-repos

+ This package provides the package repository files for CentOS Stream.

  

- %description -n centos-repos

- %{product_family} package repository files for yum and dnf

  

  %package -n centos-gpg-keys

- Summary:        %{product_family} RPM keys

- Group:          System Environment/Base

- Conflicts:      %{name} < 8.0-0.1905.0.10

- BuildArch:      noarch

+ Summary:        CentOS RPM keys

  

- %description -n centos-gpg-keys

- %{product_family} RPM signature keys

+ # upgrade path from 8.2 (the version as a centos-release subpackage) to 8 (the version here)

+ Epoch:          1

+ 

+ # upgrade path from centos-release

+ Conflicts:      centos-release < 8.0-0.1905.0.10

  

- %prep

- echo OK

  

- %build

- echo OK

+ %description -n centos-gpg-keys

+ This package provides the RPM signature keys for CentOS.

+ 

  

  %install

- rm -rf %{buildroot}

- 

- # create skeleton

- mkdir -p %{buildroot}/etc

- mkdir -p %{buildroot}%{_prefix}/lib

- 

- # create /etc/system-release and /etc/redhat-release

- echo "%{product_family} release %{full_release_version}.%{centos_rel} (%{release_name}) " > %{buildroot}/etc/centos-release

- echo "Derived from Red Hat Enterprise Linux %{upstream_rel} (Source)" > %{buildroot}/etc/centos-release-upstream

- ln -s centos-release %{buildroot}/etc/system-release

- ln -s centos-release %{buildroot}/etc/redhat-release

- 

- # Create the os-release file

- cat << EOF >>%{buildroot}%{_prefix}/lib/os-release

- NAME="%{product_family}"

- VERSION="%{full_release_version} (%{release_name})"

- ID="centos"

- ID_LIKE="rhel fedora"

- VERSION_ID="%{full_release_version}"

- PLATFORM_ID="platform:el%{base_release_version}"

- PRETTY_NAME="%{product_family} %{full_release_version} (%{release_name})"

- ANSI_COLOR="0;31"

- CPE_NAME="cpe:/o:centos:centos:%{base_release_version}%{?tuned_profile}"

- HOME_URL="https://www.centos.org/"

- BUG_REPORT_URL="https://bugs.centos.org/"

- 

- CENTOS_MANTISBT_PROJECT="CentOS-%{base_release_version}"

- CENTOS_MANTISBT_PROJECT_VERSION="%{base_release_version}"

- REDHAT_SUPPORT_PRODUCT="centos"

- REDHAT_SUPPORT_PRODUCT_VERSION="%{base_release_version}"

- 

- EOF

- # Create the symlink for /etc/os-release

- ln -s ../usr/lib/os-release %{buildroot}%{_sysconfdir}/os-release

- 

- # write cpe to /etc/system/release-cpe

- echo "cpe:/o:centos:centos:%{base_release_version}" > %{buildroot}/etc/system-release-cpe

- 

- # create /etc/issue and /etc/issue.net

- echo '\S' > %{buildroot}/etc/issue

- echo 'Kernel \r on an \m' >> %{buildroot}/etc/issue

- cp %{buildroot}/etc/issue %{buildroot}/etc/issue.net

- echo >> %{buildroot}/etc/issue

+ # copy license here for %%license macro

+ cp %{SOURCE100} .

  

  # copy GPG keys

- mkdir -p -m 755 %{buildroot}/etc/pki/rpm-gpg

- install -m 644 %{SOURCE10} %{buildroot}/etc/pki/rpm-gpg

- install -m 644 %{SOURCE11} %{buildroot}/etc/pki/rpm-gpg

+ install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg

+ install -p -m 0644 %{_sourcedir}/RPM-GPG-KEY-* %{buildroot}%{_sysconfdir}/pki/rpm-gpg/

  

  # copy yum repos

- mkdir -p -m 755 %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE300} %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE301} %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE302} %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE303} %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE304} %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE305} %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE306} %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE307} %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE308} %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE309} %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE310} %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE311} %{buildroot}/etc/yum.repos.d

- install -m 644 %{SOURCE312} %{buildroot}/etc/yum.repos.d

- 

- mkdir -p -m 755 %{buildroot}/etc/dnf/vars

- echo "%{infra_var}" > %{buildroot}/etc/dnf/vars/infra

- echo "%{contentdir}" >%{buildroot}/etc/dnf/vars/contentdir

- %ifarch %{arm}

- echo %{base_release_version} > %{buildroot}/etc/dnf/vars/releasever

- %endif

- 

- # set up the dist tag macros

- install -d -m 755 %{buildroot}/etc/rpm

- cat >> %{buildroot}/etc/rpm/macros.dist << EOF

- # dist macros.

- 

- %%centos_ver %{base_release_version}

- %%centos %{base_release_version}

- %%rhel %{base_release_version}

- %%dist .el%{base_release_version}

- %%el%{base_release_version} 1

- EOF

- 

- # use unbranded datadir

- mkdir -p -m 755 %{buildroot}/%{_datadir}/centos-release

- ln -s centos-release %{buildroot}/%{_datadir}/redhat-release

- install -m 644 %{SOURCE200} %{buildroot}/%{_datadir}/centos-release

- 

- # use unbranded docdir

- mkdir -p -m 755 %{buildroot}/%{_docdir}/centos-release

- ln -s centos-release %{buildroot}/%{_docdir}/redhat-release

- install -m 644 %{SOURCE201} %{buildroot}/%{_docdir}/centos-release

- install -m 644 %{SOURCE202} %{buildroot}/%{_docdir}/centos-release

- 

- # copy systemd presets

- mkdir -p %{buildroot}/%{_prefix}/lib/systemd/system-preset/

- install -m 0644 %{SOURCE1} %{buildroot}/%{_prefix}/lib/systemd/system-preset/

- install -m 0644 %{SOURCE2} %{buildroot}/%{_prefix}/lib/systemd/system-preset/

- install -m 0644 %{SOURCE3} %{buildroot}/%{_prefix}/lib/systemd/system-preset/

- 

- %ifarch %{arm} aarch64

- # Install armhfp/aarch64 specific tools

- install -D -m 0755 %{SOURCE100} %{buildroot}%{_bindir}/rootfs-expand

- %endif

- 

- 

- %clean

- rm -rf %{buildroot}

- 

- %files -n %{pkg_name}

- %defattr(0644,root,root,0755)

- /etc/redhat-release

- /etc/system-release

- /etc/centos-release

- /etc/centos-release-upstream

- %config(noreplace) /etc/os-release

- %config /etc/system-release-cpe

- %config(noreplace) /etc/issue

- %config(noreplace) /etc/issue.net

- /etc/rpm/macros.dist

- %{_docdir}/redhat-release

- %{_docdir}/centos-release/*

- %{_datadir}/redhat-release

- %{_datadir}/centos-release/*

- %{_prefix}/lib/os-release

- %{_prefix}/lib/systemd/system-preset/*

- %ifarch %{arm} aarch64

- %attr(0755,root,root) %{_bindir}/rootfs-expand

- %endif

- 

- %files -n centos-repos

- %config(noreplace) /etc/yum.repos.d/*

- %config(noreplace) /etc/dnf/vars/*

+ install -d -m 0755 %{buildroot}%{_sysconfdir}/yum.repos.d

+ install -p -m 0644 %{_sourcedir}/*.repo %{buildroot}%{_sysconfdir}/yum.repos.d/

+ 

+ # dnf variables

+ install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars

+ echo "stock" > %{buildroot}%{_sysconfdir}/dnf/vars/infra

+ echo "centos" >%{buildroot}%{_sysconfdir}/dnf/vars/contentdir

+ echo "%{version}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream

+ 

+ 

+ %files -n centos-linux-repos

+ %license LICENSE

+ %config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Linux-*.repo

+ %config(noreplace) %{_sysconfdir}/dnf/vars/contentdir

+ %config(noreplace) %{_sysconfdir}/dnf/vars/infra

+ 

+ 

+ %files -n centos-stream-repos

+ %license LICENSE

+ %config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-*.repo

+ %config(noreplace) %{_sysconfdir}/dnf/vars/contentdir

+ %config(noreplace) %{_sysconfdir}/dnf/vars/infra

+ %config(noreplace) %{_sysconfdir}/dnf/vars/stream

+ 

  

  %files -n centos-gpg-keys

- /etc/pki/rpm-gpg/

+ %{_sysconfdir}/pki/rpm-gpg/

+ 

  

  %changelog

+ * Fri Sep 11 2020 Carl George <carl@george.computer> - 8-1

+ - Convert to centos-repos

+ 

  * Fri May 15 2020 Pablo Greco <pgreco@centosproject.org> - 8-2.0.1

  - Relax dependency for centos-repos

  - Remove update_boot, it was never used in 8
@@ -289,6 +183,5 @@ 

  - Update Debuginfo and fasttrack to use releasever

  - Fix CentOS-media.repo to include appstream

  

- * Wed May  8 2019 Pablo Greco <pablo@fliagreco.com.ar> 8-0.el7

+ * Wed May 08 2019 Pablo Greco <pablo@fliagreco.com.ar> 8-0.el7

  - Initial setup for CentOS-8

- 

  • Remove everything except repo files, GPG keys, and dnf vars
  • Switch to noarch
  • Upgrade path from centos-repos
  • Upgrade path from centos-release-stream

rebased onto 5975bcc

3 years ago

I dont understand this. Can you explain?

Sure. The %license macro in %files needs the file to be in %{_builddir}. When working with a tarball containing the license file, it gets extracted there with the rest of the sources, but we don't have a tarball here.

rebased onto a499529

3 years ago

rebased onto 4b6a4f6

3 years ago

rebased onto 5bfb024

3 years ago

rebased onto b759b17

3 years ago

Pull-Request has been closed by carlwgeorge

3 years ago
Metadata
Changes Summary 40
+0
file added
.centos-repos.metadata
-10
file removed
SOURCES/85-display-manager.preset
-160
file removed
SOURCES/90-default.preset
-1
file removed
SOURCES/99-default-disable.preset
-20
file removed
SOURCES/CentOS-AppStream.repo
-20
file removed
SOURCES/CentOS-Base.repo
-24
file removed
SOURCES/CentOS-CR.repo
-21
file removed
SOURCES/CentOS-Debuginfo.repo
-19
file removed
SOURCES/CentOS-Devel.repo
-21
file removed
SOURCES/CentOS-Extras.repo
-20
file removed
SOURCES/CentOS-HA.repo
+17
file added
SOURCES/CentOS-Linux-AppStream.repo
+17
file added
SOURCES/CentOS-Linux-BaseOS.repo
+24
file added
SOURCES/CentOS-Linux-ContinuousRelease.repo
+11
file added
SOURCES/CentOS-Linux-Debuginfo.repo
+17
file added
SOURCES/CentOS-Linux-Devel.repo
+17
file added
SOURCES/CentOS-Linux-Extras.repo
+10 -3
file renamed
SOURCES/CentOS-fasttrack.repo
SOURCES/CentOS-Linux-FastTrack.repo
+17
file added
SOURCES/CentOS-Linux-HighAvailability.repo
+7 -15
file renamed
SOURCES/CentOS-Media.repo
SOURCES/CentOS-Linux-Media.repo
+17
file added
SOURCES/CentOS-Linux-Plus.repo
+17
file added
SOURCES/CentOS-Linux-PowerTools.repo
+9 -22
file renamed
SOURCES/CentOS-Sources.repo
SOURCES/CentOS-Linux-Sources.repo
-20
file removed
SOURCES/CentOS-PowerTools.repo
+17
file added
SOURCES/CentOS-Stream-AppStream.repo
+17
file added
SOURCES/CentOS-Stream-BaseOS.repo
+11
file added
SOURCES/CentOS-Stream-Debuginfo.repo
+17
file added
SOURCES/CentOS-Stream-Extras.repo
+17
file added
SOURCES/CentOS-Stream-HighAvailability.repo
+22
file added
SOURCES/CentOS-Stream-Media.repo
+17
file added
SOURCES/CentOS-Stream-Plus.repo
+17
file added
SOURCES/CentOS-Stream-PowerTools.repo
+17
file added
SOURCES/CentOS-Stream-RealTime.repo
-3
file removed
SOURCES/CentOS-Vault.repo
-21
file removed
SOURCES/CentOS-centosplus.repo
-70
file removed
SOURCES/Contributors
-10
file removed
SOURCES/EULA
+0 -0
file renamed
SOURCES/GPL
SOURCES/LICENSE
-30
file removed
SOURCES/rootfs-expand
+128 -235
file changed
SPECS/centos-repos.spec