mirror of
https://git.rockylinux.org/staging/src/rocky-release.git
synced 2024-11-21 21:51:24 +00:00
comments
This commit is contained in:
parent
db78cb4d57
commit
7f6f7221e9
@ -183,27 +183,27 @@ cat > %{buildroot}%{_sysconfdir}/rpm/macros.dist << EOF
|
||||
%%el%{major} 1
|
||||
EOF
|
||||
|
||||
# use unbranded datadir
|
||||
# Data directory
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/rocky-release
|
||||
ln -s rocky-release %{buildroot}%{_datadir}/redhat-release
|
||||
install -p -m 0644 %{SOURCE200} %{buildroot}%{_datadir}/rocky-release/
|
||||
|
||||
# copy systemd presets
|
||||
# systemd presets
|
||||
install -d -m 0755 %{buildroot}%{_prefix}/lib/systemd/system-preset/
|
||||
install -m 0644 %{SOURCE300} %{buildroot}/%{_prefix}/lib/systemd/system-preset/
|
||||
install -m 0644 %{SOURCE301} %{buildroot}/%{_prefix}/lib/systemd/system-preset/
|
||||
install -m 0644 %{SOURCE302} %{buildroot}/%{_prefix}/lib/systemd/system-preset/
|
||||
|
||||
# repo stuff
|
||||
# dnf stuff
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
|
||||
echo "stock" > %{buildroot}%{_sysconfdir}/dnf/vars/infra
|
||||
echo "rocky" > %{buildroot}%{_sysconfdir}/dnf/vars/contentdir
|
||||
|
||||
# copy GPG keys
|
||||
# Copy out GPG keys
|
||||
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
|
||||
# Copy our yum repos
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/yum.repos.d
|
||||
install -p -m 0644 %{_sourcedir}/*.repo %{buildroot}%{_sysconfdir}/yum.repos.d/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user