Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40d9591

Browse files
authored
feat(VPNDialogs): Add back VPNDialogs to match with lspinit build (#1685)
1 parent 798104b commit 40d9591

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
160 KB
Binary file not shown.

scripts/build_with_mount.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,15 @@ elif [ "$ROOT_SOL" = "kernelsu" ]; then
607607
echo -e "Copy KernelSU kernel done\n"
608608
fi
609609

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+
610619
echo "Permissions management Netfree and Netspark security certificates"
611620
sudo cp -r "../cacerts/"* "$SYSTEM_MNT/etc/security/cacerts/" || abort
612621
sudo chmod 0755 "$SYSTEM_MNT/etc/security/cacerts/"

0 commit comments

Comments
 (0)