On 17.10.2017 21:52, Bruce Dubbs wrote:
Armin K. wrote:
On 17.10.2017 20:54, via blfs-book wrote:
Author: bdubbs
Date: Tue Oct 17 11:54:51 2017
New Revision: 19340
Modified: trunk/BOOK/xsoft/other/gparted.xml
==============================================================================
--- trunk/BOOK/xsoft/other/gparted.xml Tue Oct 17 11:54:15 2017
(r19339)
+++ trunk/BOOK/xsoft/other/gparted.xml Tue Oct 17 11:54:51 2017
(r19340)
@@ -144,8 +150,7 @@
<xref linkend="ntfs-3g"/>,
<xref linkend="reiserfs"/>,
<xref linkend="xfsprogs"/>,
- <ulink
url="https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories">
- btrfs-progs</ulink>,
+ <xref linkend="btrfs-progs"/>
<ulink
url="https://github.com/dosfstools/dosfstools/">dosfstools</ulink>,
<ulink url="http://ftp.gnu.org/pub/gnu/mtools/">mtools</ulink>
(required
to read and write FAT16/32 volume labels and UUIDs),
@@ -200,15 +205,15 @@
<screen role="root"><userinput>cp -v
/usr/share/applications/gparted.desktop \
/usr/share/applications/gparted.desktop.back &&
-sed -i 's:/usr/sbin/gparted:/usr/sbin/gparted_polkit:' \
-
/usr/share/applications/gparted.desktop &&
+sed -i 's:/usr/bin/gparted:/usr/bin/gparted_polkit:' \
+
/usr/share/applications/gparted.desktop &&
-cat > /usr/sbin/gparted_polkit << "EOF" &&
+cat > /usr/bin/gparted_polkit << "EOF" &&
<literal>#!/bin/bash
-pkexec /usr/sbin/gparted $@</literal>
+pkexec /usr/bin/gparted $@</literal>
EOF
-chmod -v 0755 /usr/sbin/gparted_polkit</userinput></screen>
+chmod -v 0755 /usr/bin/gparted_polkit</userinput></screen>
<para>
Still as the <systemitem class="username">root</systemitem>
user,
@@ -231,7 +236,7 @@
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
- <annotate
key="org.freedesktop.policykit.exec.path">/usr/sbin/gparted</annotate>
+ <annotate
key="org.freedesktop.policykit.exec.path">/usr/bin/gparted</annotate>
<annotate
key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
Didn't announcement you pasted in the ticket say that distro-specific
scripts should not be needed anymore? You should be able to install
polkit
and script from the source tree itself. See arch PKGBUILD.
Yes it did, but I wasn't sure how to address this. If you've done the
research, can you share it?
-- Bruce
As I said, arch has a solution. I don't have gparted installed on my
machine. I try to avoid *mm packages.
Looking at:
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gparted
Seems that default gparted script/binary will handle pkexec, while the
policy file is in the root source dir.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page