Make coreos-installer-{service,generator} world-readable
There's no point using file permissions to conceal packaged content. Fixes rpmlint warnings: coreos-installer-systemd.x86_64: E: non-readable /usr/lib/systemd/system-generators/coreos-installer-generator 750 coreos-installer-systemd.x86_64: E: non-standard-executable-perm /usr/lib/systemd/system-generators/coreos-installer-generator 750 coreos-installer-systemd.x86_64: E: non-readable /usr/libexec/coreos-installer-service 750 coreos-installer-systemd.x86_64: E: non-standard-executable-perm /usr/libexec/coreos-installer-service 750
This commit is contained in:
parent
53704981d1
commit
8468bb9051
@ -59,12 +59,12 @@ Obsoletes: coreos-installer-dracut < 0.0.1
|
|||||||
%install
|
%install
|
||||||
%cargo_install
|
%cargo_install
|
||||||
# Install binaries, units, targets, generators for running via systemd
|
# Install binaries, units, targets, generators for running via systemd
|
||||||
install -D -m 0750 -t %{buildroot}%{_libexecdir} systemd/coreos-installer-service
|
install -D -m 0755 -t %{buildroot}%{_libexecdir} systemd/coreos-installer-service
|
||||||
install -D -m 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer.service
|
install -D -m 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer.service
|
||||||
install -D -m 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer-reboot.service
|
install -D -m 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer-reboot.service
|
||||||
install -D -m 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer-noreboot.service
|
install -D -m 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer-noreboot.service
|
||||||
install -D -m 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer.target
|
install -D -m 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer.target
|
||||||
install -D -m 0750 -t %{buildroot}%{_systemdgeneratordir} systemd/coreos-installer-generator
|
install -D -m 0755 -t %{buildroot}%{_systemdgeneratordir} systemd/coreos-installer-generator
|
||||||
|
|
||||||
%package -n %{crate}-systemd
|
%package -n %{crate}-systemd
|
||||||
Summary: Systemd service files for %{crate}
|
Summary: Systemd service files for %{crate}
|
||||||
@ -86,6 +86,7 @@ Systemd service files for %{crate}
|
|||||||
%changelog
|
%changelog
|
||||||
* Fri May 29 2020 Benjamin Gilbert <bgilbert@redhat.com> - 0.2.1-1
|
* Fri May 29 2020 Benjamin Gilbert <bgilbert@redhat.com> - 0.2.1-1
|
||||||
- New release
|
- New release
|
||||||
|
- Make coreos-installer-{service,generator} world-readable
|
||||||
|
|
||||||
* Tue May 05 2020 Robert Fairley <rfairley@redhat.com> - 0.2.0-1
|
* Tue May 05 2020 Robert Fairley <rfairley@redhat.com> - 0.2.0-1
|
||||||
- Update to 0.2.0
|
- Update to 0.2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user