File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
common/system/priv-app/VpnDialogs Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -607,6 +607,15 @@ elif [ "$ROOT_SOL" = "kernelsu" ]; then
607
607
echo -e " Copy KernelSU kernel done\n"
608
608
fi
609
609
610
+ echo " Add extra packages"
611
+ sudo cp -r " ../common/system/" * " $SYSTEM_MNT " || abort
612
+ find " ../common/system/priv-app/" -maxdepth 1 -mindepth 1 -printf ' %P\n' | xargs -I placeholder sudo rm -rf " $SYSTEM_MNT /priv-app/placeholder/oat"
613
+ find " ../common/system/priv-app/" -maxdepth 1 -mindepth 1 -printf ' %P\n' | xargs -I placeholder sudo find " $SYSTEM_MNT /priv-app/placeholder" -type d -exec chmod 0755 {} \;
614
+ find " ../common/system/priv-app/" -maxdepth 1 -mindepth 1 -printf ' %P\n' | xargs -I placeholder sudo find " $SYSTEM_MNT /priv-app/placeholder" -type f -exec chmod 0644 {} \;
615
+ find " ../common/system/priv-app/" -maxdepth 1 -mindepth 1 -printf ' %P\n' | xargs -I placeholder sudo find " $SYSTEM_MNT /priv-app/placeholder" -exec chown root:root {} \;
616
+ find " ../common/system/priv-app/" -maxdepth 1 -mindepth 1 -printf ' %P\n' | xargs -I placeholder sudo find " $SYSTEM_MNT /priv-app/placeholder" -exec setfattr -n security.selinux -v " u:object_r:system_file:s0" {} \; || abort
617
+ echo -e " Add extra packages done\n"
618
+
610
619
echo " Permissions management Netfree and Netspark security certificates"
611
620
sudo cp -r " ../cacerts/" * " $SYSTEM_MNT /etc/security/cacerts/" || abort
612
621
sudo chmod 0755 " $SYSTEM_MNT /etc/security/cacerts/"
You can’t perform that action at this time.
0 commit comments