mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 22:29:54 +07:00
build: fix local
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
039244715a
commit
ed5889c4b8
@ -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"
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user