mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Add --user to pip install -r requirements.txt
Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/132
This commit is contained in:
2
build
2
build
@@ -577,7 +577,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])
|
self.sh.run_cmd(['python3', '-m', 'pip', 'install', '-r', 'requirements.txt', '--user', 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