Skip to contentSkip to conversation

conntrack-tools: fix postinst script

PATCH In review [email protected] 2 participants 2 messages May 10, 2022 – May 18, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conntrack-tools: fix postinst script

From: Kai Kang <[email protected]>

Fix error caused by postinst script of conntrack-tools:

| /var/tmp/rpm-tmp.or09Iq: line 4: unexpected EOF while looking for matching `"'
| %post(conntrack-tools-1.4.6-r0.core2_64): waitpid(1173) rc 1173 status 200
| warning: %post(conntrack-tools-1.4.6-r0.core2_64) scriptlet failed, exit status 2
---
 .../recipes-filter/conntrack-tools/conntrack-tools_1.4.6.bb   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.6.bb +2 -2
index e76238fe0..50f7ced88 100644
@@ -35,5 +35,5 @@ do_install:append() {
 
 # fix error message: Do not forget that you need *root* or CAP_NET_ADMIN capabilities ;-)
 pkg_postinst:${PN} () {
-    setcap cap_net_admin+ep $D/${sbindir}/conntrack"
-}
\ No newline at end of file
+    setcap cap_net_admin+ep "$D/${sbindir}/conntrack"
+}
Signature · 1 line
2.17.1
#1 lore raw

Hi,

Can we please have this patch backported to the kirkstone branch ASAP since builds including this package are currently broken?

Cheers,
Diego Sueiro