mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
conntrack-tools: fix postinst script
Fix error caused by postinst script of conntrack-tools:
do_rootfs: Postinstall scriptlets of ['conntrack-tools'] have failed...
Configuring ... rootfs//var/lib/opkg/info/conntrack-tools.postinst:
line 2: setcap: command not found
conntrack-tools.postinst returned 127, marking as unpacked only...
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 55fd984483)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
db3a802f8e
commit
16f08eb5aa
@@ -37,3 +37,4 @@ do_install:append() {
|
||||
pkg_postinst:${PN} () {
|
||||
setcap cap_net_admin+ep "$D/${sbindir}/conntrack"
|
||||
}
|
||||
PACKAGE_WRITE_DEPS += "libcap-native"
|
||||
|
||||
Reference in New Issue
Block a user