diff options
author | Joel Fernandes <joel@joelfernandes.org> | 2018-07-02 20:08:07 -0700 |
---|---|---|
committer | Joel Fernandes <joel@joelfernandes.org> | 2018-07-02 20:08:07 -0700 |
commit | fa4b8cdef88c73ccfcda9f79d44b8c4d79e2530c (patch) | |
tree | fb7c4564524c632ae21cb06a716fceb276e18d65 | |
parent | 47689a7c85876a0182a43deadfc3a6ee4463e357 (diff) | |
download | adeb-fa4b8cdef88c73ccfcda9f79d44b8c4d79e2530c.tar.gz |
androdeb: Silence banner from run-command
Signed-off-by: Joel Fernandes <joel@joelfernandes.org>
-rwxr-xr-x | addons/run-command | 2 | ||||
-rwxr-xr-x | buildstrap | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/addons/run-command b/addons/run-command index 01c182c..eed84f9 100755 --- a/addons/run-command +++ b/addons/run-command @@ -5,4 +5,4 @@ cd $spath # Directly execute a command within the chroot of an Android device CMD="$*" -chroot debian /bin/bash -i -c "$CMD" +chroot debian /bin/bash --rcfile '.bashrc.silent' -i -c "$CMD" @@ -24,6 +24,8 @@ umount $OUT_TMP/proc || true chroot $OUT_TMP rm /bin/sh || true chroot $OUT_TMP ln -s /bin/bash /bin/sh || true cp $spath/addons/bashrc $OUT_TMP/.bashrc +cp $spath/addons/bashrc.common $OUT_TMP/.bashrc.common +cp $spath/addons/bashrc.silent $OUT_TMP/.bashrc.silent for f in $EXTRA_FILES; do if [ $f == "none" ]; then continue; fi |