mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Using pocopico's mpt3sas
This commit is contained in:
parent
2d378b4854
commit
469a527dcd
@ -1,5 +1,5 @@
|
||||
|
||||
ARPL_VERSION="0.3-alpha1"
|
||||
ARPL_VERSION="0.3-alpha2"
|
||||
|
||||
# Define paths
|
||||
TMP_PATH="/tmp"
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18
img-gen.sh
18
img-gen.sh
@ -40,6 +40,24 @@ for PKG in `ls /tmp/addons/*.addon`; do
|
||||
tar xaf "${PKG}" -C "${DEST_PATH}/${ADDON}"
|
||||
done
|
||||
|
||||
# Get latest modules
|
||||
echo "Getting latest modules"
|
||||
MODULES_DIR="${PWD}/files/board/arpl/p3/modules"
|
||||
if [ -d ../arpl-addons ]; then
|
||||
cd ../arpl-modules
|
||||
for D in `ls -d *-*`; do
|
||||
echo "${D}"
|
||||
(cd ${D} && tar caf "${MODULES_DIR}/${D}.tgz" *.ko)
|
||||
done
|
||||
cd -
|
||||
else
|
||||
TAG=`curl -s https://api.github.com/repos/fbelavenuto/arpl-modules/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}'`
|
||||
while read PLATFORM KVER; do
|
||||
FILE="${PLATFORM}-${KVER}"
|
||||
curl -L "https://github.com/fbelavenuto/arpl-modules/releases/download/${TAG}/${FILE}.tgz" -o "${MODULES_DIR}/${FILE}.tgz"
|
||||
done < PLATFORMS
|
||||
fi
|
||||
|
||||
# Copy files
|
||||
echo "Copying files"
|
||||
VERSION=`cat VERSION`
|
||||
|
Loading…
x
Reference in New Issue
Block a user