Skip to content

Commit

Permalink
build: Add initial snapshot to repack into AK3
Browse files Browse the repository at this point in the history
Signed-off-by: Saalim Quadri <[email protected]>
  • Loading branch information
danascape committed Mar 2, 2024
1 parent ee6df22 commit e754bf7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ check_kernel()

}

do_anykernel()
{
branch="$1"
ANYKERNEL_LINK="https://github.com/stormbreaker-project/AnyKernel3"
git clone -b $branch $ANYKERNEL_LINK
}

do_kernel_modules()
{
mkdir out/dist/modules
Expand Down Expand Up @@ -227,6 +234,17 @@ kernel_build()
fi
fi

if [[ -n "$do_anykernel" ]]; then
if [[ -n "$anykernel_branch" ]]; then
log_info "sworkflow: Cloning Anykernel3"
do_anykernel $anykernel_branch
else
log_error "error: Define Anykernel Branch!"
log_error "error: Check Documentation for more"
fi
fi


end=$(date +%s)

time=$((end - start))
Expand Down

0 comments on commit e754bf7

Please sign in to comment.