From 41612dc08a031614a82f16132e72513b25ec7ff1 Mon Sep 17 00:00:00 2001 From: Fabio Belavenuto Date: Mon, 1 Aug 2022 14:20:43 -0300 Subject: [PATCH 1/2] More retention days --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 17d32552..bb268abe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -101,7 +101,7 @@ jobs: path: | arpl.img arpl.vmdk - retention-days: 1 + retention-days: 5 # Publish a release if is a tag - name: Release From dcb2037465339ca6769b40b34881e7e242468f9b Mon Sep 17 00:00:00 2001 From: Fabio Belavenuto Date: Tue, 2 Aug 2022 16:57:25 -0300 Subject: [PATCH 2/2] Adding local install addons --- VERSION | 2 +- files/board/arpl/overlayfs/opt/arpl/init.sh | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index cf87b876..1ce35f3e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3-alpha7 +0.3-alpha8 diff --git a/files/board/arpl/overlayfs/opt/arpl/init.sh b/files/board/arpl/overlayfs/opt/arpl/init.sh index 503ee2f6..375e2ab3 100755 --- a/files/board/arpl/overlayfs/opt/arpl/init.sh +++ b/files/board/arpl/overlayfs/opt/arpl/init.sh @@ -161,3 +161,13 @@ echo mkdir -p "${ADDONS_PATH}" mkdir -p "${LKM_PATH}" mkdir -p "${MODULES_PATH}" + +# Detect if has new local plugins to install/reinstall +for F in `ls ${CACHE_PATH}/*.addon`; do + ADDON=`basename "${F}" | sed 's|.addon||'` + rm -rf "${ADDONS_PATH}/${ADDON}" + mkdir -p "${ADDONS_PATH}/${ADDON}" + echo "Installing ${F} to ${ADDONS_PATH}/${ADDON}" + tar xaf "${F}" -C "${ADDONS_PATH}/${ADDON}" + rm -f "${F}" +done