File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash -efu
2
+ # SPDX-License-Identifier: GPL-2.0-only
3
+ #
4
+ # Update default .config for values required to run tests
5
+ #
6
+
7
+ set -x
8
+ cp -f .config .config-pkt-netflow.bak
9
+
10
+ if type virtme-configkernel > /dev/null 2>&1 ; then
11
+ virtme-configkernel --update
12
+ fi
13
+
14
+ scripts/config \
15
+ -e CONFIG_VETH \
16
+ -e CONFIG_PACKET \
17
+ -e CONFIG_NETFILTER \
18
+ -e CONFIG_NETFILTER_XTABLES \
19
+ -e NETFILTER_ADVANCED \
20
+ -e CONFIG_IP_NF_FILTER \
21
+ -e CONFIG_IP_NF_IPTABLES \
22
+ -e CONFIG_IP6_NF_FILTER \
23
+
24
+ if [ " ${1-} " = debug ]; then
25
+ scripts/config \
26
+ -e CONFIG_LOCK_DEBUGGING_SUPPORT \
27
+ -e CONFIG_PROVE_LOCKING \
28
+ -e CONFIG_DEBUG_SPINLOCK \
29
+ -e CONFIG_FRAME_POINTER \
30
+ -d CONFIG_RANDOMIZE_BASE \
31
+
32
+ fi
33
+
34
+ make olddefconfig
35
+
36
+ scripts/diffconfig .config-pkt-netflow.bak .config
37
+
38
+ # export XTABLES_LIBDIR=
You can’t perform that action at this time.
0 commit comments