Skip to content

Commit

Permalink
systemd: exclude default repart service
Browse files Browse the repository at this point in the history
The repart service is a oneshot, so we can't use a drop-in to replace
the `ExecStart` command that runs by default, which attempts to add
or grow defined partitions on the same device as the root filesystem.

This is OK for "unified" images, where the data partition is at the
end of the device, but not OK for "split" images, where it lives on a
different device.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
  • Loading branch information
bcressey committed Dec 16, 2021
1 parent 4db4b5a commit c4c2dc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/systemd/systemd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ rm -f %{buildroot}%{_cross_libdir}/systemd/{system,user}/graphical.target
%exclude %{_cross_unitdir}/systemd-ask-password-console.path
%exclude %{_cross_unitdir}/systemd-ask-password-wall.path
%exclude %{_cross_unitdir}/systemd-oomd.service
%exclude %{_cross_unitdir}/systemd-repart.service
%exclude %{_cross_unitdir}/sysinit.target.wants/systemd-ask-password-console.path
%exclude %{_cross_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path

Expand Down

0 comments on commit c4c2dc2

Please sign in to comment.