Skip to content

Commit 0021a3d

Browse files
committed
uml config fix #2
1 parent e6a90d9 commit 0021a3d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

uml-ci/main.sh

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ tar -xJf linux-5.4.93.tar.xz
1010
cd linux-5.4.93
1111
export ARCH=um
1212
make defconfig
13+
cat >> .config << EOF
14+
CONFIG_CGROUP_PIDS=y
15+
CONFIG_MEMCG=y
16+
CONFIG_MEMCG_SWAP=y
17+
CONFIG_MEMCG_SWAP_ENABLED=y
18+
EOF
1319
make -j3
1420
)
1521
linux-5.4.93/linux mem=4096M ubda=img rootfstype=hostfs init="$PWD"/uml-setup.sh

0 commit comments

Comments
 (0)