Skip to content

Commit 2944ac1

Browse files
committed
Revert "Use separate base-public name for base-public.hnp"
This reverts commit c5e89bd.
1 parent c5e89bd commit 2944ac1

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,16 @@ Pro tip: you can use these utilities in the builtin Terminal app under `/data/se
6161
Although 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

6767
You 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
7575
fi
7676
```

build-hnp/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ all: copy
4242
copy: 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

4747
base.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,%,$@)

0 commit comments

Comments
 (0)