Use traditional path to the utilities 11/325211/1
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 4 Jun 2025 10:50:12 +0000 (12:50 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 4 Jun 2025 10:58:35 +0000 (12:58 +0200)
fsck.ext4 & others are actually provided in /usr/sbin, but due to
/sbin -> /usr/sbin symlink the /sbin/ path is valid too.

Change the path to /sbin due to compatibility issues with legacy
systems.

Change-Id: Iac17169e75a8dfb391c173ddbfd0141052ae30d4

packaging/sessiond.spec

index 0c7afd58903622beaa39efdc87a9c8dc54e83bbf..48b3a0dfa0f05bd18247b6d52d465bf3d0064ce2 100644 (file)
@@ -8,7 +8,7 @@
 
 Name:       sessiond
 Summary:    Service to manage subsessions
-Version:    0.10.2.0
+Version:    0.10.2.1
 Release:    1
 Group:      System/Management
 License:    MIT
@@ -22,10 +22,10 @@ BuildRequires: pkgconfig(libsmack)
 BuildRequires: pkgconfig(dlog)
 BuildRequires: pkgconfig(libsyscommon-plugin-api-sessiond)
 
-Requires:   /usr/sbin/mkfs.ext4
-Requires:   /usr/sbin/fsck.ext4
+Requires:   /sbin/mkfs.ext4
+Requires:   /sbin/fsck.ext4
 %if %{with resize2fs}
-Requires:   /usr/sbin/resize2fs
+Requires:   /sbin/resize2fs
 %endif
 
 %description