mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 14:25:53 +01:00
conntrack-tools: fix postinst script
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 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
66e6353c57
commit
71e87a5dbc
|
|
@ -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"
|
||||
}
|
||||
setcap cap_net_admin+ep "$D/${sbindir}/conntrack"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user