mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-27 10:20:46 +00:00
检查uid 取值
Signed-off-by: zhongning5 <zhongning5@huawei.com>
This commit is contained in:
parent
f62e134482
commit
d639fe54ad
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user