AK3+Backend: pass AKHOME via export
This commit is contained in:
3 files changed
+4
-3
No files matched your search
@@ -14,7 +14,7 @@ $BOOTMODE || DIR=$(dirname "$ZIPFILE");
|
||||
[ $DIR == "/sideload" ] && DIR=/tmp;
|
||||
|
||||
[ -d /postinstall/tmp ] && POSTINSTALL=/postinstall;
|
||||
[ "$AKHOME" ] || AKHOME=$POSTINSTALL/tmp/anykernel;
|
||||
[ "$AKHOME" ] || export AKHOME=$POSTINSTALL/tmp/anykernel;
|
||||
[ "$ANDROID_ROOT" ] || ANDROID_ROOT=/system;
|
||||
|
||||
ui_print() {
|
||||
@@ -488,7 +488,7 @@ ui_print "Installing...";
|
||||
# hack to maintain support for anykernel.sh files that weren't updated correctly along with the AK core
|
||||
CORE=$(grep -oE 'ak.*core.sh' anykernel.sh);
|
||||
[ -f tools/$CORE ] || ln -s $AKHOME/tools/ak*-core.sh $AKHOME/tools/$CORE;
|
||||
home=$AKHOME ash anykernel.sh;
|
||||
ash anykernel.sh;
|
||||
if [ $? != 0 ]; then
|
||||
abort;
|
||||
fi;
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
# Dummy file; update-binary is a shell script (DO NOT CHANGE)
|
||||
#
|
||||
#
|
||||
# AK_BASE_VERSION=20230423
|
||||
# AK_BASE_VERSION=20230503
|
||||
Reference in new issue
Block a user