build: fix local

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-11-22 23:02:54 +01:00
parent 039244715a
commit ed5889c4b8
2 changed files with 4 additions and 6 deletions

View File

@ -5,7 +5,7 @@ set -e
# Clean cached Files # Clean cached Files
sudo git clean -fdx sudo git clean -fdx
. scripts/func.sh . scripts/func.sh "${AUX_TOKEN}"
# Get extractor, LKM, addons and Modules # Get extractor, LKM, addons and Modules
echo "Get Dependencies" echo "Get Dependencies"
@ -35,8 +35,6 @@ mkdir -p "/tmp/p3"
sudo mount ${LOOPX}p1 "/tmp/p1" sudo mount ${LOOPX}p1 "/tmp/p1"
sudo mount ${LOOPX}p3 "/tmp/p3" sudo mount ${LOOPX}p3 "/tmp/p3"
[[ ! -f "brx/bzImage-arc" || ! -f "brx/initrd-arc" ]] && return 1
ARC_BUILD="`date +'%y%m%d'`" ARC_BUILD="`date +'%y%m%d'`"
ARC_VERSION="13.37.dev" ARC_VERSION="13.37.dev"
ARC_BRANCH="next" ARC_BRANCH="next"
@ -46,6 +44,7 @@ echo "${ARC_BRANCH}" >files/p1/ARC-BRANCH
echo "Repack initrd" echo "Repack initrd"
cp -f "brx/bzImage-arc" "files/p3/bzImage-arc" cp -f "brx/bzImage-arc" "files/p3/bzImage-arc"
[[ ! -f "brx/bzImage-arc" || ! -f "brx/initrd-arc" ]] && exit 1
repackInitrd "brx/initrd-arc" "files/initrd" "files/p3/initrd-arc" repackInitrd "brx/initrd-arc" "files/initrd" "files/p3/initrd-arc"
echo "Copying files" echo "Copying files"

View File

@ -5,7 +5,7 @@ set -e
# Clean cached Files # Clean cached Files
sudo git clean -fdx sudo git clean -fdx
. scripts/func.sh . scripts/func.sh "${AUX_TOKEN}"
# Get extractor, LKM, addons and Modules # Get extractor, LKM, addons and Modules
echo "Get Dependencies" echo "Get Dependencies"
@ -35,8 +35,6 @@ mkdir -p "/tmp/p3"
sudo mount ${LOOPX}p1 "/tmp/p1" sudo mount ${LOOPX}p1 "/tmp/p1"
sudo mount ${LOOPX}p3 "/tmp/p3" sudo mount ${LOOPX}p3 "/tmp/p3"
[[ ! -f "brs/bzImage-arc" || ! -f "brs/initrd-arc" ]] && return 1
ARC_BUILD="`date +'%y%m%d'`" ARC_BUILD="`date +'%y%m%d'`"
ARC_VERSION="13.37.dev" ARC_VERSION="13.37.dev"
ARC_BRANCH="stable" ARC_BRANCH="stable"
@ -46,6 +44,7 @@ echo "${ARC_BRANCH}" >files/p1/ARC-BRANCH
echo "Repack initrd" echo "Repack initrd"
cp -f "brs/bzImage-arc" "files/p3/bzImage-arc" cp -f "brs/bzImage-arc" "files/p3/bzImage-arc"
[[ ! -f "brs/bzImage-arc" || ! -f "brs/initrd-arc" ]] && exit 1
repackInitrd "brs/initrd-arc" "files/initrd" "files/p3/initrd-arc" repackInitrd "brs/initrd-arc" "files/initrd" "files/p3/initrd-arc"
echo "Copying files" echo "Copying files"