mirror of
https://github.com/fbelavenuto/arpl.git
synced 2026-01-06 01:02:07 +08:00
Using pocopico's mpt3sas
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
ARPL_VERSION="0.3-alpha1"
|
ARPL_VERSION="0.3-alpha2"
|
||||||
|
|
||||||
# Define paths
|
# Define paths
|
||||||
TMP_PATH="/tmp"
|
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}"
|
tar xaf "${PKG}" -C "${DEST_PATH}/${ADDON}"
|
||||||
done
|
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
|
# Copy files
|
||||||
echo "Copying files"
|
echo "Copying files"
|
||||||
VERSION=`cat VERSION`
|
VERSION=`cat VERSION`
|
||||||
|
|||||||
Reference in New Issue
Block a user