File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,16 +61,16 @@ Pro tip: you can use these utilities in the builtin Terminal app under `/data/se
6161Although some paths might get wrong due to prefix set to ` /data/app/base.org/base_1.0 ` (thanks to @duskmoon314 ). You can override them like:
6262
6363``` shell
64- LD_LIBRARY_PATH=/data/service/hnp/base-public .org/base-public_1 .0/lib TERMINFO=/data/service/hnp/base-public .org/base-public_1 .0/share/terminfo fish
64+ LD_LIBRARY_PATH=/data/service/hnp/base.org/base_1 .0/lib TERMINFO=/data/service/hnp/base.org/base_1 .0/share/terminfo fish
6565```
6666
6767You can persist them to ` ~/.bashrc ` , and run bash before executing other commands from Termony:
6868
6969``` shell
70- if [ -d " /data/service/hnp/base-public .org/base-public_1 .0" ]; then
71- export LD_LIBRARY_PATH=/data/service/hnp/base-public .org/base-public_1 .0/lib
72- export TERMINFO=/data/service/hnp/base-public .org/base-public_1 .0/share/terminfo
73- export VIM=/data/service/hnp/base-public .org/base-public_1 .0/share/vim
70+ if [ -d " /data/service/hnp/base.org/base_1 .0" ]; then
71+ export LD_LIBRARY_PATH=/data/service/hnp/base.org/base_1 .0/lib
72+ export TERMINFO=/data/service/hnp/base.org/base_1 .0/share/terminfo
73+ export VIM=/data/service/hnp/base.org/base_1 .0/share/vim
7474 export TMUX_TMPDIR=/data/storage/el2/base/cache
7575fi
7676```
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ all: copy
4242copy : base.hnp
4343 rm -f ../entry/hnp/arm64-v8a/* .hnp
4444 cp $^ ../entry/hnp/arm64-v8a
45- cp base-public.hnp ../entry/hnp/arm64-v8a
45+ cp $^ ../entry/hnp/arm64-v8a/base-public.hnp
4646
4747base.hnp : $(STAMP ) utils/pbcopy utils/pbpaste
4848 # reduce size
@@ -61,7 +61,6 @@ base.hnp: $(STAMP) utils/pbcopy utils/pbpaste
6161 cp $(TOOL_HOME ) /sdk/default/openharmony/native/llvm/lib/clang/15.0.4/lib/aarch64-linux-ohos/clang_rt.crtend.o sysroot/aarch64-unknown-linux-musl/lib/crtend.o
6262 cp $(TOOL_HOME ) /sdk/default/openharmony/native/llvm/lib/clang/15.0.4/lib/aarch64-linux-ohos/libclang_rt.builtins.a sysroot/aarch64-unknown-linux-musl/lib/libgcc.a
6363 $(TOOL_HOME ) /sdk/default/openharmony/toolchains/hnpcli pack -i sysroot -n base -v 1.0
64- $(TOOL_HOME ) /sdk/default/openharmony/toolchains/hnpcli pack -i sysroot -n base-public -v 1.0
6564
6665% /.stamp : % /Makefile
6766 make -C $(patsubst % /.stamp,% ,$@ )
You can’t perform that action at this time.
0 commit comments