summaryrefslogtreecommitdiff
path: root/rootdir/system
diff options
context:
space:
mode:
authornailyk-fr <jenkins@nailyk.fr>2017-09-19 20:53:26 +0200
committerArian <arian.kulmer@web.de>2019-10-07 11:07:17 +0200
commit76f0ff1cc08e8488191e98c9ffab62ec4de59a6d (patch)
tree2ebff470a84d011168c48e0ff00bf545cdbec3c1 /rootdir/system
parentd21f6c5aec2d4e7b370166108ad70ef298351b26 (diff)
shinano-common: init: Use obscur oreo UID/GID
* With oreo all the AIDs process change. According to https://source.android.com/devices/tech/config/filesystem#using-an-oem-specific-aid user firendly names cannot be used anymore. Use oem_<uid> name instead. See msm8974-common related change for reference. Change-Id: I18294c5ba716a6c2ba038b9f624f5ae65f799e1f
Diffstat (limited to 'rootdir/system')
-rwxr-xr-xrootdir/system/bin/credmgrfirstboot.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/system/bin/credmgrfirstboot.sh b/rootdir/system/bin/credmgrfirstboot.sh
index 20de77d..289f9b1 100755
--- a/rootdir/system/bin/credmgrfirstboot.sh
+++ b/rootdir/system/bin/credmgrfirstboot.sh
@@ -18,10 +18,10 @@ F_ERR(){
}
# If credmgrd data doesn't match our
-CREDMGRCNT=$(find $CREDFOLDER -group credmgr_client -type f -name "credmgr.db" | wc -l )
+CREDMGRCNT=$(find $CREDFOLDER -group oem_5996 -type f -name "credmgr.db" | wc -l )
echo -e "credmgr folder:\n$(ls -la $CREDFOLDER)\ncredmgr match (if any):" >> $LOG
-find $CREDFOLDER -group credmgr_client -type f -name "credmgr.db" >> $LOG
+find $CREDFOLDER -group oem_5996 -type f -name "credmgr.db" >> $LOG
if [ "x$CREDMGRCNT" == "x0" ]; then
@@ -34,7 +34,7 @@ if [ "x$CREDMGRCNT" == "x0" ]; then
# Put binary into /cache
mkdir $CREDFOLDER >> $LOG 2>&1
F_ERR $? "mkdir $CREDFOLDER"
- chown system:credmgr_client $CREDFOLDER >> $LOG 2>&1
+ chown system:oem_5996 $CREDFOLDER >> $LOG 2>&1
F_ERR $? "chown $CREDFOLDER"
chcon u:object_r:credmgrd_data_file:s0 $CREDFOLDER >> $LOG 2>&1
F_ERR $? "chcon $CREDFOLDER"