检查uid 取值

Signed-off-by: zhongning5 <zhongning5@huawei.com>
This commit is contained in:
zhongning5 2024-03-26 15:09:24 +08:00
parent f62e134482
commit d639fe54ad

View File

@ -11,6 +11,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//base/startup/init/services/etc/passwd_appender/passwd_appender.gni")
if (defined(ohos_lite)) {
copy("ohos.para") {
sources = [ "//base/startup/init/services/etc/param/ohos.para" ]
@ -94,8 +96,10 @@ if (defined(ohos_lite)) {
subsystem_name = "startup"
}
ohos_prebuilt_etc("passwd") {
source = "//base/startup/init/services/etc/passwd"
ohos_passwd_appender("passwd") {
sources = [ "//base/startup/init/services/etc/passwd" ]
ranges = [ "0-6999" ]
output = "//base/startup/init/services/etc/passwd"
install_images = [
"system",
"updater",