- Fix Play services battery drain on arm - Fixed remove-faceunlock from updater script - Show some love for who doesn't have realpath - Export md5 as a file too - Simplify create checks (@stucki 6a05464df7ae80784fc8fe8ff2de65152d7bb67b) - Move target zip out of arch directory (@stucki bf57998702c634f560535b586706931f56a3ed31) - Clean Up after the build (@stucki f6660501afa1eaefc4d3cf1a043e5c73bdab398d) - CleanUp final output
20 lines
1.4 KiB
Plaintext
20 lines
1.4 KiB
Plaintext
ui_print("Installing GApps...");
|
|
run_program("/sbin/busybox", "umount", "/system");
|
|
run_program("/sbin/busybox", "mount", "/system");
|
|
show_progress(1, 15);
|
|
package_extract_dir("arch", "/system");
|
|
package_extract_dir("common", "/system");
|
|
set_perm(0, 0, 0777, "/system/gapps_scripts.sh");
|
|
run_program("/system/gapps_scripts.sh", "");
|
|
delete("/system/gapps_scripts.sh");
|
|
show_progress(1, 15);
|
|
set_metadata_recursive("/system/addon.d", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
|
|
set_metadata_recursive("/system/app", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
|
|
set_metadata_recursive("/system/priv-app", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
|
|
set_metadata_recursive("/system/etc/permissions", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
|
|
set_metadata_recursive("/system/framework", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
|
|
set_metadata_recursive("/system/vendor/pittpatt", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
|
|
delete("/system/faceunlock.sh");
|
|
run_program("/sbin/busybox", "umount", "/system");
|
|
ui_print("Done!");
|