Fix hardcoded library path
This commit is contained in:
parent
a056031492
commit
ded1e53cc9
@ -83,7 +83,7 @@ sed -i 's/"-Ccodegen-units=1",//' .cargo/config
|
|||||||
%install
|
%install
|
||||||
%cargo_install -f rdcore
|
%cargo_install -f rdcore
|
||||||
# Install binaries, dracut modules, units, targets, generators for running via systemd
|
# Install binaries, dracut modules, units, targets, generators for running via systemd
|
||||||
install -D -m 0755 -t %{buildroot}%{_prefix}/lib/dracut/modules.d/50rdcore dracut/50rdcore/module-setup.sh
|
install -D -m 0755 -t %{buildroot}%{_libdir}/dracut/modules.d/50rdcore dracut/50rdcore/module-setup.sh
|
||||||
install -D -m 0755 -t %{buildroot}%{_libexecdir} scripts/coreos-installer-service
|
install -D -m 0755 -t %{buildroot}%{_libexecdir} scripts/coreos-installer-service
|
||||||
install -D -m 0755 -t %{buildroot}%{_libexecdir} scripts/coreos-installer-disable-device-auto-activation
|
install -D -m 0755 -t %{buildroot}%{_libexecdir} scripts/coreos-installer-disable-device-auto-activation
|
||||||
install -D -m 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer-disable-device-auto-activation.service
|
install -D -m 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer-disable-device-auto-activation.service
|
||||||
@ -94,7 +94,7 @@ install -D -m 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer-pre.targe
|
|||||||
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 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer-post.target
|
install -D -m 0644 -t %{buildroot}%{_unitdir} systemd/coreos-installer-post.target
|
||||||
install -D -m 0755 -t %{buildroot}%{_systemdgeneratordir} systemd/coreos-installer-generator
|
install -D -m 0755 -t %{buildroot}%{_systemdgeneratordir} systemd/coreos-installer-generator
|
||||||
mv %{buildroot}%{_bindir}/rdcore %{buildroot}%{_prefix}/lib/dracut/modules.d/50rdcore/
|
mv %{buildroot}%{_bindir}/rdcore %{buildroot}%{_libdir}/dracut/modules.d/50rdcore/
|
||||||
|
|
||||||
%package -n %{crate}-bootinfra
|
%package -n %{crate}-bootinfra
|
||||||
Summary: %{crate} boot-time infrastructure for use on Fedora/RHEL CoreOS
|
Summary: %{crate} boot-time infrastructure for use on Fedora/RHEL CoreOS
|
||||||
@ -116,7 +116,7 @@ This subpackage contains boot-time infrastructure for Fedora CoreOS and
|
|||||||
RHEL CoreOS. It is not needed on other platforms.
|
RHEL CoreOS. It is not needed on other platforms.
|
||||||
|
|
||||||
%files -n %{crate}-bootinfra
|
%files -n %{crate}-bootinfra
|
||||||
%{_prefix}/lib/dracut/modules.d/*
|
%{_libdir}/dracut/modules.d/*
|
||||||
%{_libexecdir}/*
|
%{_libexecdir}/*
|
||||||
%{_unitdir}/*
|
%{_unitdir}/*
|
||||||
%{_systemdgeneratordir}/*
|
%{_systemdgeneratordir}/*
|
||||||
@ -129,6 +129,7 @@ RHEL CoreOS. It is not needed on other platforms.
|
|||||||
%changelog
|
%changelog
|
||||||
* Thu Apr 08 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.9.0-1
|
* Thu Apr 08 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.9.0-1
|
||||||
- New release
|
- New release
|
||||||
|
- Fix hardcoded library path
|
||||||
|
|
||||||
* Tue Mar 16 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.8.0-1
|
* Tue Mar 16 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.8.0-1
|
||||||
- New release
|
- New release
|
||||||
|
Loading…
Reference in New Issue
Block a user