pmb.install: update UID 10000 explanation (MR 2158)

This commit is contained in:
Newbyte 2022-01-10 14:53:55 +01:00 committed by Alexey Min
parent 2ad5427126
commit 614cb72a2a
No known key found for this signature in database
GPG Key ID: EBF5ECFFFEE34DED
1 changed files with 3 additions and 2 deletions

View File

@ -189,8 +189,9 @@ def set_user(args):
"""
Create user with UID 10000 if it doesn't exist.
Usually the ID for the first user created is 1000, but higher ID is
chosen here to avoid conflict with Android UIDs/GIDs.
chosen here to not cause issues with existing installations. Historically,
this was done to avoid conflict with Android UIDs/GIDs, but pmOS has since
dropped support for hybris/Halium.
"""
suffix = "rootfs_" + args.device
if not pmb.chroot.user_exists(args, args.user, suffix):