summaryrefslogtreecommitdiffstats
path: root/toolbox (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-19toolbox: Include setenforce into tools.hAndrea Mennillo1-7/+7
setenforce was filtered out of toolbox tools too early. Only filter it out just before symlinking (and only if busybox provides it). Change-Id: Id8c77d12b440416bfc21bf52705f2387ffd897cf
2015-03-11toolbox: Cleanup MakefileMatt Mower1-295/+168
* Do not split the makefile in two to support pre-lollipop trees. Go through and mark sections with PLATFORM_SDK_VERSION. * setenforce: Correct the handling to prevent build warnings -- if busybox provides this tool, then still allow it to be built, but do not write a symlink. * Correct indentation throughout * Remove dead code (LOCAL_STATIC_LIBRARIES) Change-Id: I1b13a0e0be78ea862f7d418d683407ff79d17e4f
2014-12-22toolbox_recovery should always include setenforceEthan Yonker1-1/+5
init does not follow symlinks and we need setenforce to be able to set permissive. toolbox_recovery will now always include the setenforce tool even if busybox has it so that our provided init.rc can run /sbin/toolbox setenforce 0 successfully. The symlink for setenforce will remain pointing to busybox if busybox has setenforce. Change-Id: I88a2a99bbed30cef3443ac5d94665e3850872237
2014-12-12Fix generating symlinks for older treesDees Troy1-0/+9
Symlinks for unpigz, toolbox, and busybox were not generating in older trees. Change-Id: I3ca2a2047510954e66fb3cf49eef6af713d3268e
2014-12-10Use one mizip for allEthan Yonker1-1/+1
The new minzip did not compile in older trees due to needing mmap64. For older trees we will just use mmap instead. Remove all files and code pertaining to minzipold. Updater should now build properly in older trees as well. Eliminate use of PLATFORM_VERSION in favor of PLATFORM_SDK_VERSION which should be more consistent and reliable. Change-Id: I38d2b604a73d1b17a2072c7d60e990b81ece0c10
2014-12-03bootable recovery: we upgraded to 5.0.1erikcas1-1/+1
Change-Id: I9e2f359dd7274e1ae885f6a3b392d5ab5ca99ac9
2014-12-02 Make the android-5.0 branch compile in 4.4 to 4.1Ethan Yonker1-0/+158
Migrate previous minzip to minzipold replacing the existing minzipold. This will break compatibility with trees that do not support selinux (ICS and older). Migrate former verifier files to verifierold. Add fuse.h to recovery source because older trees do not have it. Add LOCAL_MODULE_TAGS where needed for 4.1 tree. Change-Id: Iade57cb2b0115af7fce9f56aa98636b1744a1ef4
2014-11-12Make TWRP compile for arm64Ethan Yonker1-83/+123
-Remove dosfstools for arm64 until we can make it compile -Fix TW_USE_TOOLBOX flag to work again -Fix symlinking and handling of sh when using mksh -Fix legacy properties to find futex_wake function -Fix libcrecovery to not use bsd_signal anymore -Fix rules for building with regards to libcrecovery -Update toolbox_recovery rules to compile tools in lollipop -Fix a few compile errors specific to arm64 Testers report that TWRP does not boot on Nexus 9 and we fail to get a shell for adb shell. At least it compiles without errors. Change-Id: I286be8628defb60cc527b8a548c0bdfcb0ebb574
2014-11-03Remove dependence on build hax in makefilesMatt Mower1-6/+6
Update makefiles to no longer rely on INTERNAL_RECOVERY_FILES. Define LOCAL_ADDITIONAL_DEPENDENCIES instead. Set LOCAL_LDFLAGS to properly link recovery executable. Change-Id: I4542104c69399b5a19674b9772ab89c3709efa72
2014-09-03Only use SELinux tools from toolbox if not in busyboxMatt Mower1-1/+4
If busybox has SELinux support, we don't need toolbox to provide SELinux specific tools. Check busybox for restorecon to see if SELinux support is present and then adjust the tools built by toolbox based on this. Change-Id: I30a2b036b97ac3e26510d5e0498c52d7a8af36e1
2014-04-04Add option to build TWRP with toolbox instead of busyboxEthan Yonker1-0/+62
Makes a smaller TWRP Uses mksh for shell Change-Id: If78d7745dda8919fcb2e9c9b60c6696063c14114
2013-10-24Add toolbox_recovery rulesDees Troy1-0/+80
Build special limited toolbox with SELinux tools for recovery Change-Id: Ifc76a6bd0468a72081f15ede2a68adf48af8a0f2
2013-10-16Add toolbox_recovery rulesDees Troy1-0/+80
Build special limited toolbox with SELinux tools for recovery Change-Id: Ifc76a6bd0468a72081f15ede2a68adf48af8a0f2