Skip to content

Commit

Permalink
uml config fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
sleirsgoevy committed Jan 30, 2021
1 parent e6a90d9 commit 0021a3d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions uml-ci/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ tar -xJf linux-5.4.93.tar.xz
cd linux-5.4.93
export ARCH=um
make defconfig
cat >> .config << EOF
CONFIG_CGROUP_PIDS=y
CONFIG_MEMCG=y
CONFIG_MEMCG_SWAP=y
CONFIG_MEMCG_SWAP_ENABLED=y
EOF
make -j3
)
linux-5.4.93/linux mem=4096M ubda=img rootfstype=hostfs init="$PWD"/uml-setup.sh
Expand Down

0 comments on commit 0021a3d

Please sign in to comment.