Only /bin/sh is symlinked to /system/bin/sh

This commit is contained in:
Robert Valik 2015-10-17 19:32:30 +02:00
parent 46105f8aa8
commit 9f29b4abd8

View File

@ -51,9 +51,10 @@ RUN cd /tmp && \
mkdir /root/lib && \
mv /tmp/android-sdk-linux /root/lib/android-sdk && \
mv /tmp/android-ndk-r10e /root/lib/android-ndk && \
rm -fr /tmp/* \
rm -fr /tmp/* && \
# This link is needed for building git package
ln -s / /system
mkdir -p /system/bin && \
ln -s /bin/sh /system/bin/sh
RUN mkdir -p /data/data/com.termux/files/usr && mkdir -p /root/termux-packages
ADD *.py /root/termux-packages/