mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Make the most important dependency mandatory
This commit is contained in:
14
setup
14
setup
@@ -1,12 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
# Minimum requirements to run ./build --download-dependencies
|
||||
y=
|
||||
if [ $# -eq 1 ]; then
|
||||
y=-y
|
||||
else
|
||||
y=
|
||||
fi
|
||||
apt-get update
|
||||
apt-get install $y \
|
||||
if [ -f /.dockerenv ]; then
|
||||
sudo=
|
||||
else
|
||||
sudo=sudo
|
||||
fi
|
||||
$sudo apt-get update
|
||||
$sudo apt-get install $y \
|
||||
git \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-distutils \
|
||||
;
|
||||
python3 -m pip install --user -r requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user