Fix resolv.conf in tinyipa image build

Currently image build for tinyipa overrides resolv.conf with the one
from build host instead of backing it up.

Change-Id: I18598fe5327d0ff74cac2596161b9201d47d2c5b
This commit is contained in:
Pavlo Shchelokovskyy 2016-07-25 20:35:18 +03:00
parent e9dd5d3db0
commit db4099daef

View File

@ -34,7 +34,7 @@ mkdir "$FINALDIR"
# Setup Final Dir
#####################################
sudo cp /etc/resolv.conf $FINALDIR/etc/resolv.conf.old
sudo cp $FINALDIR/etc/resolv.conf $FINALDIR/etc/resolv.conf.old
sudo cp /etc/resolv.conf $FINALDIR/etc/resolv.conf
sudo cp -a $FINALDIR/opt/tcemirror $FINALDIR/opt/tcemirror.old