Skip to content

Commit

Permalink
Merge pull request #5 from spiiroin/jb56937_stale_dev_mtp_mount
Browse files Browse the repository at this point in the history
[buteo-mtp] Remove stale dev-mtp.mount systemd unit. Fixes JB#56937
  • Loading branch information
spiiroin committed Jan 19, 2022
2 parents 6e0c7d9 + b68b324 commit ab87c18
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
10 changes: 0 additions & 10 deletions init/systemd/dev-mtp.mount

This file was deleted.

6 changes: 1 addition & 5 deletions init/systemd/systemd.pro
Expand Up @@ -2,8 +2,4 @@ TEMPLATE = subdirs

service.files = *.service
service.path = /usr/lib/systemd/user/

mount.files = *.mount
mount.path = /usr/lib/systemd/system/

INSTALLS += service mount
INSTALLS += service
4 changes: 0 additions & 4 deletions rpm/buteo-mtp-qt5.spec
Expand Up @@ -33,8 +33,6 @@ Obsoletes: buteo-mtp < %{version}

%files
%defattr(-,root,root,-)
%{_unitdir}/*.mount
%{_unitdir}/local-fs.target.wants/*.mount
%{_libexecdir}/mtp_service
%{_libdir}/*.so.*
%{_libdir}/mtp
Expand Down Expand Up @@ -98,8 +96,6 @@ make %{_smp_mflags}

%install
make INSTALL_ROOT=%{buildroot} install
mkdir -p %{buildroot}/%{_unitdir}/local-fs.target.wants
ln -s ../dev-mtp.mount %{buildroot}/%{_unitdir}/local-fs.target.wants/

mkdir -p %{buildroot}%{_datadir}/mapplauncherd/privileges.d
install -m 644 -p %{SOURCE1} %{buildroot}%{_datadir}/mapplauncherd/privileges.d/
Expand Down

1 comment on commit ab87c18

@elatypovOMP
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please clarify what is the purpose of removing systemd mountpoint? Is it because of this commit? Or systemd managed MTP not well, so you decided to move management to usb-moded?

Please sign in to comment.