mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-21 12:17:42 +00:00
ebtables: enable KERNEL_64_USERSPACE_32 for arm
On arm64 board, run the kernel as 64bit with 32bit userpace ebtables, then run ebtables command: ebtables -A OUTPUT -p arp -o eth3 -j DROP Below error occurs: kernel msg: ebtables bug: please report to author: Standard target size too big To solve this, enable KERNEL_64_USERSPACE_32 for arm as the commit <ebtables: enable KERNEL_64_USERSPACE_32 for powerpc> do. Use TARGET_ARCH to replace KARCH here because that KARCH can't always get value by default. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
parent
ad8e710be7
commit
7166aaaf38
@ -42,10 +42,10 @@ inherit update-rc.d systemd
|
||||
python __anonymous () {
|
||||
import re
|
||||
|
||||
karch = d.getVar('KARCH')
|
||||
karch = d.getVar('TARGET_ARCH')
|
||||
multilib = d.getVar('MLPREFIX')
|
||||
|
||||
if multilib and karch == 'powerpc64':
|
||||
if multilib and ( karch == 'powerpc64' or karch == 'arm' ):
|
||||
searchstr = "lib.?32"
|
||||
reg = re.compile(searchstr)
|
||||
if reg.search(multilib):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user