Fix superuser for user builds
Change-Id: Ib2d8d38825a2982d2bc7625eeb1d9c1f9631a400 Signed-off-by: Evan Anderson <evan1124@gmail.com>
This commit is contained in:
parent
5986cbcb5e
commit
baccadafab
|
@ -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
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/system/bin/sh
|
#!/system/bin/sh
|
||||||
/system/xbin/su --auto-daemon &
|
/system/xbin/daemonsu --auto-daemon &
|
||||||
|
|
Loading…
Reference in New Issue