cirosantilli / linux-kernel-module-cheat

The perfect emulation setup to study and develop the Linux kernel v5.4.3, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 24.04 host.
https://cirosantilli.com/linux-kernel-module-cheat
GNU General Public License v3.0
4.21k stars 605 forks source link

No module named 'china_dictatorship' #121

Closed LuminousXLB closed 4 years ago

LuminousXLB commented 4 years ago

The module was imported here and only used here.

I don't know what it is, nor can I install it with pip. But since it is not vital, it might be better to move the import thing under if env['china']:

cirosantilli commented 4 years ago

Oh no! My attempt to have some fun backfired!

0ee5547365a517ab7fec08513fb548dd8bb5daff adds that by default on ./build --download-dependencies and for now you can work around it with:

pip3 install -r requirements.txt
cirosantilli commented 4 years ago

Further made it optional at 112be2fa50e45efc737ad80f2975d0074e433cf7