Skip to content

Commit

Permalink
rpm: use the install target in boot/Makefile
Browse files Browse the repository at this point in the history
Don't open-code it in the spec file.
No functional change.
  • Loading branch information
marmarek committed Nov 25, 2024
1 parent eb83bb7 commit 86f36f7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rpm_spec/core-agent.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ usermod -L root

make install-vm PYTHON=%{__python3} "DESTDIR=$RPM_BUILD_ROOT" SYSTEM_DROPIN_DIR=%{_unitdir} SYSLIBDIR=/usr/lib ENABLE_SELINUX=%with_selinux
make -C app-menu DESTDIR=$RPM_BUILD_ROOT install
make -C boot DESTDIR=$RPM_BUILD_ROOT install
make -C boot/redhat DESTDIR=$RPM_BUILD_ROOT install
make -C config-overrides DESTDIR=$RPM_BUILD_ROOT install
make -C filesystem DESTDIR=$RPM_BUILD_ROOT install
Expand Down Expand Up @@ -520,9 +521,6 @@ sed -i \
$RPM_BUILD_ROOT/etc/yum.repos.d/qubes-*.repo
%endif

install -D -m 0644 boot/dracut-qubes.conf $RPM_BUILD_ROOT/usr/lib/dracut/dracut.conf.d/30-qubes.conf
install -D -m 0644 boot/grub.qubes $RPM_BUILD_ROOT/etc/default/grub.qubes

%if ! %with_sysvinit
rm -rf $RPM_BUILD_ROOT/etc/init.d/qubes-* $RPM_BUILD_ROOT/etc/sysconfig/modules/qubes-core.modules
%endif
Expand Down

0 comments on commit 86f36f7

Please sign in to comment.