Commit 8ed5dc7 1 parent 7be248d commit 8ed5dc7 Copy full SHA for 8ed5dc7
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ CONFIG_BUILDTIME_EXTABLE_SORT=y
43
43
CONFIG_INIT_ENV_ARG_LIMIT=32
44
44
CONFIG_CROSS_COMPILE=""
45
45
# CONFIG_COMPILE_TEST is not set
46
- CONFIG_LOCALVERSION="-Okami"
46
+ CONFIG_LOCALVERSION="-Okami-v1.0 "
47
47
# CONFIG_LOCALVERSION_AUTO is not set
48
48
CONFIG_DEFAULT_HOSTNAME="(none)"
49
49
CONFIG_SWAP=y
Original file line number Diff line number Diff line change @@ -130,10 +130,10 @@ else
130
130
fi
131
131
132
132
# 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+) " )
134
134
echo -e " \n\n> Packing Loup Kernel v$LOUP_VERSION \n\n"
135
135
# 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
137
137
138
138
end=$SECONDS
139
139
duration=$(( end - start ))
You can’t perform that action at this time.
0 commit comments