mirror of
https://github.com/fbelavenuto/arpl.git
synced 2025-12-24 23:12:05 +08:00
Compare commits
12 Commits
v0.3-alpha
...
v0.3-alpha
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da93438455 | ||
|
|
b35496d053 | ||
|
|
0b7c7fd816 | ||
|
|
84c405cdf7 | ||
|
|
9560f40603 | ||
|
|
8718027acb | ||
|
|
7f464a94e1 | ||
|
|
6df00babb3 | ||
|
|
a21392c97e | ||
|
|
d1070d37c3 | ||
|
|
db464ec087 | ||
|
|
3512ca422a |
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@@ -9,11 +9,6 @@ on:
|
||||
- main
|
||||
tags:
|
||||
- v*
|
||||
# pull_request:
|
||||
|
||||
# When a release is published
|
||||
# release:
|
||||
# types: [published]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
ARPL_VERSION="0.3-alpha1"
|
||||
ARPL_VERSION="0.3-alpha2"
|
||||
|
||||
# Define paths
|
||||
TMP_PATH="/tmp"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
echo "Insert basic USB modules..."
|
||||
SYNOLoadModules $USB_MODULES
|
||||
+SYNOLoadModules "usb-storage"
|
||||
+/addons/addons.sh early
|
||||
+/addons/addons.sh early; /addons/addons.sh patches
|
||||
|
||||
# insert Etron USB3.0 drivers
|
||||
|
||||
|
||||
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.
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`
|
||||
|
||||
Reference in New Issue
Block a user