From 0ee5547365a517ab7fec08513fb548dd8bb5daff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Mon, 30 Mar 2020 01:00:00 +0000 Subject: [PATCH] Automatically install requirements.txt on ./build --download-dependencies https://github.com/cirosantilli/linux-kernel-module-cheat/issues/121 --- build | 1 + 1 file changed, 1 insertion(+) diff --git a/build b/build index 2620142..3bf160b 100755 --- a/build +++ b/build @@ -561,6 +561,7 @@ Which components to build. Default: qemu-buildroot ['python3', '-m', 'pip', 'install', '--user', LF] + self.sh.add_newlines(sorted(python3_pkgs)) ) + self.sh.run_cmd(['python3', '-m', 'pip', 'install', '-r', 'requirements.txt', LF]) if ruby_pkgs: # The right thing to do would be to use RVM and avoid sudo, # but we felt it was too much boilerplate for now.