File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1616* These configuration files do not alter, replace or delete any extant files.
1717* Minimal SailfishOS version supported by * mount-sdcard* is 2.2.0.
1818* Since * mount-sdcard 1.0-4* at least SailfishOS 3.0.1 is required.
19+ * Since * mount-sdcard 1.1-1* at least [ SailfishOS 3.2.1] ( https://github.com/Olf0/mount-sdcard/pull/2 ) is required.
1920* Support of partitions and whole devices (as Jolla's original versions do).
2021* Support for (µ)SD-cards and USB-attached storage (if supported by device hardware and Operating System).
2122* An RPM built for SailfishOS is available at [ OpenRepos] ( https://openrepos.net/content/olf/mount-sdcard ) .
22-
Original file line number Diff line number Diff line change 11Name: mount-sdcard
22Summary: Enhanced mounting scripts for SD-cards
3- Version: 1.0
4- Release: 4
3+ Version: 1.1
4+ Release: 1
55Group: System/Base
66Distribution: SailfishOS
77Vendor: olf
@@ -12,9 +12,9 @@ Source: https://github.com/Olf0/%{name}/archive/%{version}-%{release}/%{n
1212BuildArch: noarch
1313Requires: systemd
1414Requires: udisks2
15- Requires: sailfish-version >= 3.0 .1
15+ Requires: sailfish-version >= 3.2 .1
1616# Omit anti-dependency on future, untested SFOS versions, until a known conflict exists:
17- # Requires: sailfish-version < 3.2.0
17+ # Requires: sailfish-version < 3.9.9
1818
1919%description
2020%{summary }
Original file line number Diff line number Diff line change 11[Unit]
22Description =Mount SD-card (%i) with udisks
3- After =udisks2.service dev-%i.device
3+ After =udisks2.service dev-%i.device start-user-session.service
44BindsTo =udisks2.service dev-%i.device
55Conflicts =rescue.target actdead.target factory-test.target
66# Ensure that this Unit is processed before alien-service-manager
@@ -10,14 +10,13 @@ Conflicts=rescue.target actdead.target factory-test.target
1010Before =alien-service-manager.service
1111
1212[Service]
13- User =nemo
1413Type =oneshot
1514RemainAfterExit =yes
1615# As "udisksctl mount" (below) may fail when issued right after
1716# "udisksd" (per "udisks2.service") has finished starting, because
1817# the udisks object for a partition has not been created yet, one
1918# may give udisksd a second to settle:
2019# ExecStartPre=/bin/sleep 1
21- ExecStart =/usr/bin/udisksctl mount -b /dev/%i
22- ExecStop =/usr/bin/udisksctl unmount -b /dev/%i
20+ ExecStart =/usr/bin/udisksctl-user mount -b /dev/%i
21+ ExecStop =/usr/bin/udisksctl-user unmount -b /dev/%i
2322
You can’t perform that action at this time.
0 commit comments