Skip to content

Commit 5d81f70

Browse files
authored
Merge pull request #2 from Olf0/sfos-3-2
SFOS3.2.1
2 parents f589002 + 8f9af8d commit 5d81f70

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Notes:
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-

rpm/mount-sdcard.spec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Name: mount-sdcard
22
Summary: Enhanced mounting scripts for SD-cards
3-
Version: 1.0
4-
Release: 4
3+
Version: 1.1
4+
Release: 1
55
Group: System/Base
66
Distribution: SailfishOS
77
Vendor: olf
@@ -12,9 +12,9 @@ Source: https://github.com/Olf0/%{name}/archive/%{version}-%{release}/%{n
1212
BuildArch: noarch
1313
Requires: systemd
1414
Requires: 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}

systemd/system/mount-sd@.service

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Unit]
22
Description=Mount SD-card (%i) with udisks
3-
After=udisks2.service dev-%i.device
3+
After=udisks2.service dev-%i.device start-user-session.service
44
BindsTo=udisks2.service dev-%i.device
55
Conflicts=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
1010
Before=alien-service-manager.service
1111

1212
[Service]
13-
User=nemo
1413
Type=oneshot
1514
RemainAfterExit=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

0 commit comments

Comments
 (0)