mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Automatically install requirements.txt on ./build --download-dependencies
https://github.com/cirosantilli/linux-kernel-module-cheat/issues/121
This commit is contained in:
1
build
1
build
@@ -561,6 +561,7 @@ Which components to build. Default: qemu-buildroot
|
|||||||
['python3', '-m', 'pip', 'install', '--user', LF] +
|
['python3', '-m', 'pip', 'install', '--user', LF] +
|
||||||
self.sh.add_newlines(sorted(python3_pkgs))
|
self.sh.add_newlines(sorted(python3_pkgs))
|
||||||
)
|
)
|
||||||
|
self.sh.run_cmd(['python3', '-m', 'pip', 'install', '-r', 'requirements.txt', LF])
|
||||||
if ruby_pkgs:
|
if ruby_pkgs:
|
||||||
# The right thing to do would be to use RVM and avoid sudo,
|
# The right thing to do would be to use RVM and avoid sudo,
|
||||||
# but we felt it was too much boilerplate for now.
|
# but we felt it was too much boilerplate for now.
|
||||||
|
|||||||
Reference in New Issue
Block a user