Fix superuser for user builds

Change-Id: Ib2d8d38825a2982d2bc7625eeb1d9c1f9631a400
Signed-off-by: Evan Anderson <evan1124@gmail.com>
This commit is contained in:
Evan 2013-12-16 14:39:15 -06:00
parent 5986cbcb5e
commit baccadafab
2 changed files with 2 additions and 1 deletions

View File

@ -40,6 +40,7 @@ PRODUCT_COPY_FILES += \
# SU Support # SU Support
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
vendor/$(VENDOR)/prebuilt/bin/su:system/xbin/daemonsu \
vendor/$(VENDOR)/prebuilt/bin/su:system/xbin/su \ vendor/$(VENDOR)/prebuilt/bin/su:system/xbin/su \
vendor/$(VENDOR)/prebuilt/etc/init.d/99SuperSUDaemon:system/etc/init.d/99SuperSUDaemon \ vendor/$(VENDOR)/prebuilt/etc/init.d/99SuperSUDaemon:system/etc/init.d/99SuperSUDaemon \
vendor/$(VENDOR)/prebuilt/apk/Superuser.apk:system/app/Superuser.apk vendor/$(VENDOR)/prebuilt/apk/Superuser.apk:system/app/Superuser.apk

View File

@ -1,2 +1,2 @@
#!/system/bin/sh #!/system/bin/sh
/system/xbin/su --auto-daemon & /system/xbin/daemonsu --auto-daemon &