Skip to content

Commit 8ed5dc7

Browse files
committed
⚡ Ōkami v1.0
1 parent 7be248d commit 8ed5dc7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arch/arm64/configs/santoni_defconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ CONFIG_BUILDTIME_EXTABLE_SORT=y
4343
CONFIG_INIT_ENV_ARG_LIMIT=32
4444
CONFIG_CROSS_COMPILE=""
4545
# CONFIG_COMPILE_TEST is not set
46-
CONFIG_LOCALVERSION="-Okami"
46+
CONFIG_LOCALVERSION="-Okami-v1.0"
4747
# CONFIG_LOCALVERSION_AUTO is not set
4848
CONFIG_DEFAULT_HOSTNAME="(none)"
4949
CONFIG_SWAP=y

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ else
130130
fi
131131

132132
# Get current kernel version
133-
LOUP_VERSION=$(head -n3 Makefile | sed -E 's/.*(^\w+\s[=]\s)//g' | xargs | sed -E 's/(\s)/./g')
133+
LOUP_VERSION=$(cat .config | grep -P "^(CONFIG_LOCALVERSION)" | grep -oP "(\d+\.)?(\d+\.)?(\*|\d+)")
134134
echo -e "\n\n> Packing Loup Kernel v$LOUP_VERSION\n\n"
135135
# Pack the kernel as a flashable TWRP zip. Nougat Edition
136-
$LOUP_WORKING_DIR/AnyKernel2/build.sh $LOUP_VERSION N
136+
$LOUP_WORKING_DIR/AnyKernel2/build.sh $LOUP_VERSION N Ōkami
137137

138138
end=$SECONDS
139139
duration=$(( end - start ))

0 commit comments

Comments
 (0)