-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #35852 - Add isoinfo dependency
* isoinfo is provided by genisoimage package * Add /var/lib/foreman-proxy/tftp/system_images folder
- Loading branch information
1 parent
077be38
commit bd4649e
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
%global scl_ruby_bin /usr/bin/%{?scl:%{scl_prefix}}ruby | ||
%global scl_rake /usr/bin/%{?scl:%{scl_prefix}}rake | ||
|
||
%global release 2 | ||
%global release 3 | ||
%global prereleasesource develop | ||
%global prerelease %{?prereleasesource} | ||
|
||
|
@@ -80,6 +80,7 @@ Requires: %{?scl_prefix}rubygem(xmlrpc) < 1.0 | |
|
||
Requires: sudo | ||
Requires: curl | ||
Requires: genisoimage | ||
Requires(pre): shadow-utils | ||
%{?systemd_requires} | ||
BuildRequires: systemd | ||
|
@@ -131,6 +132,7 @@ install -d -m0755 %{buildroot}%{_datadir}/%{name}/config | |
install -d -m0755 %{buildroot}%{_sysconfdir}/%{name} | ||
install -d -m0755 %{buildroot}%{_sysconfdir}/%{name}/settings.d | ||
install -d -m0755 %{buildroot}%{_sharedstatedir}/%{name} | ||
install -d -m0755 %{buildroot}%{_sharedstatedir}/%{name}/tftp/system_images | ||
install -d -m0750 %{buildroot}%{_localstatedir}/log/%{name} | ||
install -d -m0750 %{buildroot}%{_localstatedir}/spool/%{name} | ||
install -d -m0750 %{buildroot}%{_rundir}/%{name} | ||
|
@@ -144,6 +146,7 @@ install -Dp -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} | |
|
||
mkdir -p %{buildroot}%{_libexecdir}/%{name} | ||
mkdir -p %{buildroot}%{_sharedstatedir}/%{name} | ||
mkdir -p %{buildroot}%{_sharedstatedir}/%{name}/tftp/system_images | ||
install -m 0755 extra/puppet_sign.rb %{buildroot}%{_libexecdir}/%{name}/puppet_sign.rb | ||
|
||
mkdir -p %{buildroot}%{_sbindir} | ||
|
@@ -182,6 +185,7 @@ ln -sv %{_tmppath} %{buildroot}%{_datadir}/%{name}/tmp | |
%attr(-,%{name},%{name}) %{_localstatedir}/log/%{name} | ||
%attr(-,%{name},%{name}) %{_localstatedir}/spool/%{name} | ||
%attr(-,%{name},%{name}) %{_sharedstatedir}/%{name} | ||
%attr(-,%{name},%{name}) %{_sharedstatedir}/%{name}/tftp/system_images | ||
%attr(-,%{name},%{name}) %{_rundir}/%{name} | ||
%attr(-,%{name},root) %{_datadir}/%{name}/config.ru | ||
%exclude %{_datadir}/%{name}/bundler.d/development.rb | ||
|
@@ -253,6 +257,9 @@ exit 0 | |
|
||
|
||
%changelog | ||
* Wed Dec 14 2022 Bastian Schmidt <[email protected]> - 3.6.0-0.3.develop | ||
- Add isoinfo dependency | ||
|
||
* Tue Dec 13 2022 Adam Ruzicka <[email protected]> - 3.6.0-0.2.develop | ||
- Notify only the main process on logrotate | ||
|
||
|