Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[udisks2] Pass extra mount options to mount-sd service. Contributes t…
…o JB#50452
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
rpm/0013-Pass-extra-mount-options-to-mount-sd-service.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From c6aa264dbf46c5f8aabb63bd90ddf41a409039a2 Mon Sep 17 00:00:00 2001 | ||
From: Dmitry Gerasimov <d.gerasimov@omprussia.ru> | ||
Date: Tue, 3 Nov 2020 17:17:46 +0300 | ||
Subject: [PATCH] Pass extra mount options to mount-sd service | ||
|
||
--- | ||
data/mount-sd@.service | 3 ++- | ||
1 file changed, 2 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/data/mount-sd@.service b/data/mount-sd@.service | ||
index c1aa7de3..22433391 100644 | ||
--- a/data/mount-sd@.service | ||
+++ b/data/mount-sd@.service | ||
@@ -7,5 +7,6 @@ Conflicts=rescue.target actdead.target factory-test.target | ||
[Service] | ||
Type=oneshot | ||
RemainAfterExit=yes | ||
-ExecStart=/usr/bin/udisksctl-user mount -b /dev/%i | ||
+EnvironmentFile=-/var/lib/environment/udisks2/*.conf | ||
+ExecStart=/usr/bin/udisksctl-user mount $UDISKS2_MOUNT_OPTIONS -b /dev/%i | ||
ExecStop=-/usr/bin/udisksctl-user unmount -b /dev/%i | ||
-- | ||
2.25.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters