usr目录下增加软连接

Signed-off-by: lyn1121 <335661597@qq.com>
This commit is contained in:
lyn1121
2026-01-21 19:09:15 +08:00
parent 30071d6dfb
commit 05cb65d4e0
3 changed files with 10 additions and 1 deletions
+5
View File
@@ -257,6 +257,11 @@ if (defined(ohos_lite)) {
"-Wl,-z,now",
"-Wl,-z,noexecstack",
]
if (mksh_feature_support_usr_symlink) {
symlink_target_name = [
"../usr/bin/sh",
]
}
install_images = [
"system",
"ramdisk",
+4 -1
View File
@@ -17,7 +17,10 @@
"name": "mksh",
"subsystem": "thirdparty",
"syscap": [],
"features": [ "mksh_terminal_ext" ],
"features": [
"mksh_terminal_ext",
"mksh_feature_support_usr_symlink"
],
"adapted_system_type": [
"standard",
"small"
+1
View File
@@ -30,4 +30,5 @@ MKSH_SRC_DIR = [ "//third_party/mksh" ]
declare_args() {
mksh_terminal_ext = false
mksh_feature_support_usr_symlink = false
}