Skip to content

Commit

Permalink
release: move um specific presets into own file
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton committed May 26, 2024
1 parent 02f38a1 commit 45d070a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions ultramarine/release/89-ultramarine-default.preset
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Enable Ultramarine specific services in this file

# We ship system76-scheduler by default
enable com.system76.Scheduler.service

# On Ultramarine, we just use Flathub
disable flatpak-add-fedora-repos.service
3 changes: 0 additions & 3 deletions ultramarine/release/90-default.preset
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ disable systemd-networkd-wait-online.service
# We want to update systemd-boot from packaging scriptlets after updates.
disable systemd-boot-update.service

# On Ultramarine, we just use Flathub
disable flatpak-add-fedora-repos.service

# https://fedoraproject.org/wiki/Changes/systemd-resolved
enable systemd-resolved.service

Expand Down
2 changes: 2 additions & 0 deletions ultramarine/release/ultramarine-release.spec
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Source6: 85-display-manager.preset
Source7: 90-default.preset
Source8: 99-default-disable.preset
Source9: 90-default-user.preset
Source10: 89-ultramarine-default.preset
Source13: 60-ultramarine-presets.conf
Source14: lightdm-gtk-greeter.conf
Source15: 50_ultramarine-gnome.gschema.override
Expand Down Expand Up @@ -793,6 +794,7 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-preset/
install -Dm0644 %{SOURCE6} -t $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-preset/
install -Dm0644 %{SOURCE7} -t $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-preset/
install -Dm0644 %{SOURCE8} -t $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-preset/
install -Dm0644 %{SOURCE10} -t $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-preset/
install -Dm0644 %{SOURCE9} -t $RPM_BUILD_ROOT%{_prefix}/lib/systemd/user-preset/
install -Dm0644 %{SOURCE28} -t %{buildroot}%{_prefix}/lib/systemd/system.conf.d/
install -Dm0644 %{SOURCE28} -t %{buildroot}%{_prefix}/lib/systemd/user.conf.d/
Expand Down

0 comments on commit 45d070a

Please sign in to comment.