sys-apps/fwupd: Revbump to fix path to fwupdtool
authorLars Wendler <polynomial-c@gentoo.org>
Fri, 6 Mar 2020 15:26:05 +0000 (16:26 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 6 Mar 2020 15:26:05 +0000 (16:26 +0100)
Thanks-to: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Package-Manager: Portage-2.3.92, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-apps/fwupd/files/fwupd-1.3.9-fwupdtool_path.patch [new file with mode: 0644]
sys-apps/fwupd/fwupd-1.3.9-r1.ebuild [moved from sys-apps/fwupd/fwupd-1.3.9.ebuild with 99% similarity]

diff --git a/sys-apps/fwupd/files/fwupd-1.3.9-fwupdtool_path.patch b/sys-apps/fwupd/files/fwupd-1.3.9-fwupdtool_path.patch
new file mode 100644 (file)
index 0000000..a01e5fb
--- /dev/null
@@ -0,0 +1,20 @@
+From 4e381f2a61c6ea4eb7438c14f76b8301762a800c Mon Sep 17 00:00:00 2001
+From: Dennis Kadioglu <dkadioglu@web.de>
+Date: Thu, 5 Mar 2020 09:37:56 +0100
+Subject: [PATCH] fix fwupd.shutdown.in according to the movement of fwupdtool
+ to bindir
+
+---
+ data/fwupd.shutdown.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/data/fwupd.shutdown.in b/data/fwupd.shutdown.in
+index 4c027e7ab..53b334555 100755
+--- a/data/fwupd.shutdown.in
++++ b/data/fwupd.shutdown.in
+@@ -4,4 +4,4 @@
+ [ -f @localstatedir@/lib/fwupd/pending.db ] || exit 0
+ # activate firmware when we have a read-only filesysten
+-@libexecdir@/fwupd/fwupdtool activate
++@bindir@/fwupdtool activate
similarity index 99%
rename from sys-apps/fwupd/fwupd-1.3.9.ebuild
rename to sys-apps/fwupd/fwupd-1.3.9-r1.ebuild
index 03fab547386751b5fa64834b56d2d378e1d74999..6f4ebb4daa922d5cdab07e41eb7bcba3ab56404b 100644 (file)
@@ -94,6 +94,7 @@ RDEPEND="
 PATCHES=(
        "${FILESDIR}/${PN}-1.3.9-logind_plugin.patch"
        "${FILESDIR}/${P}-optional_agent_man_page.patch"
+       "${FILESDIR}/${P}-fwupdtool_path.patch"
 )
 
 pkg_setup() {