summaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorBenoit Goby <benoit@android.com>2013-03-22 16:23:48 -0700
committerBenoit Goby <benoit@android.com>2013-03-26 12:24:10 -0700
commitc6d7e200eddd620d8ac55259ab3aa5f8bfa2aadb (patch)
tree3e2e332d9ed70377e13c91e2990c4a914d4f5f8b /CleanSpec.mk
parent82075a4044efe57ad9bad3d18982e311b4ef53ae (diff)
downloadcore-c6d7e200eddd620d8ac55259ab3aa5f8bfa2aadb.tar.gz
core-c6d7e200eddd620d8ac55259ab3aa5f8bfa2aadb.tar.bz2
core-c6d7e200eddd620d8ac55259ab3aa5f8bfa2aadb.zip
toolbox: Make reboot a separate command from toolbox
Set the CAP_SYS_BOOT filesystem capability on the new reboot command and keep CAP_SYS_BOOT in adb bounding set so that the shell user can run it. Change-Id: I1dd6143445ee2a952254f0452ab6e544318431dd
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r--CleanSpec.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 8611d3bc2..74ec29d2d 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -50,3 +50,4 @@
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/reboot)