Support for real harddrive and Jmicron usb drives
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
VER=28
|
||||
|
||||
if [ ! -d src ]
|
||||
then
|
||||
mkdir src -p
|
||||
cd src
|
||||
curl -L https://github.com/lucasdemarchi/kmod/archive/refs/tags/v$VER.tar.gz --output v$VER.tar.gz || exit 1
|
||||
tar xvf v$VER.tar.gz || exit 1
|
||||
mv kmod-$VER/* . || exit 1
|
||||
rm kmod-$VER -rf
|
||||
rm v$VER.tar.gz
|
||||
cd -
|
||||
fi
|
||||
|
||||
cd src
|
||||
./configure || exit 1
|
||||
make -j$(nproc)|| exit 1
|
||||
DESTDIR=$(pwd)/../../rootfs
|
||||
sudo make install DESTDIR=$(realpath $DESTDIR)
|
||||
cd -
|
||||
Reference in New Issue
Block a user