Skip to content

Commit

Permalink
fix(ublue, setup): properly install user setup service
Browse files Browse the repository at this point in the history
Last build was using the user services as system services by accident
  • Loading branch information
tulilirockz committed Dec 30, 2024
1 parent 4d45708 commit a44c7a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ublue/setup-services/ublue-setup-services.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Name: ublue-setup-services
Version: 0.1.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Universal Blue setup services

License: Apache-2.0
Expand All @@ -19,10 +19,11 @@ Universal Blue setup scripts
{{{ git_dir_setup_macro }}}

%install
mkdir -p %{buildroot}{%{_bindir},%{_libexecdir},%{_unitdir},%{_sysconfdir}/{polkit-1/{rules.d,actions},profile.d}}
mkdir -p %{buildroot}{%{_bindir},%{_libexecdir},%{_unitdir},%{_prefix}/lib/systemd/user,%{_sysconfdir}/{polkit-1/{rules.d,actions},profile.d}}
install -Dm0755 ./src/scripts/* %{buildroot}%{_libexecdir}
install -Dm0755 ./src/bin/* %{buildroot}%{_bindir}
install -Dpm0644 ./src/services/* %{buildroot}%{_unitdir}
install -Dpm0644 ./src/user-services/* %{buildroot}%{_prefix}/lib/systemd/user/
install -Dpm0644 ./src/polkit/*.rules %{buildroot}%{_sysconfdir}/polkit-1/rules.d
install -Dpm0644 ./src/polkit/*.policy %{buildroot}%{_sysconfdir}/polkit-1/actions
install -Dpm0755 ./src/profile/* %{buildroot}%{_sysconfdir}/profile.d
Expand All @@ -45,6 +46,7 @@ cp -rp ./src/skel %{buildroot}%{_sysconfdir}
%{_sysconfdir}/profile.d/*
%{_sysconfdir}/skel/.config/autostart/*
%{_unitdir}/*.service
%{_prefix}/lib/systemd/user/*.service

%changelog
%autochangelog

0 comments on commit a44c7a3

Please sign in to comment.