Commit 0876b94b authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

hardcode /mnt/mmc path

parent 31d10084
...@@ -78,12 +78,11 @@ do_install() { ...@@ -78,12 +78,11 @@ do_install() {
REMOTE_USER ??= "root" REMOTE_USER ??= "root"
IDENTITY_FILE ??= "~/.ssh/id_rsa" IDENTITY_FILE ??= "~/.ssh/id_rsa"
REMOTE_IP ??= "192.168.0.9" REMOTE_IP ??= "192.168.0.9"
REMOTE_PATH ??= "/mnt/mmc"
do_target_scp () { do_target_scp () {
# mmc device tree only # mmc device tree only
echo "scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/${MACHINE}_mmc.dtb ${REMOTE_USER}@${REMOTE_IP}:${REMOTE_PATH}/devicetree.dtb" echo "scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/${MACHINE}_mmc.dtb ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/devicetree.dtb"
scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/${MACHINE}_mmc.dtb ${REMOTE_USER}@${REMOTE_IP}:${REMOTE_PATH}/devicetree.dtb scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/${MACHINE}_mmc.dtb ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/devicetree.dtb
} }
addtask do_target_scp after do_deploy addtask do_target_scp after do_deploy
......
...@@ -172,11 +172,10 @@ sysroot_stage_all_append() { ...@@ -172,11 +172,10 @@ sysroot_stage_all_append() {
REMOTE_USER ??= "root" REMOTE_USER ??= "root"
IDENTITY_FILE ??= "~/.ssh/id_rsa" IDENTITY_FILE ??= "~/.ssh/id_rsa"
REMOTE_IP ??= "192.168.0.9" REMOTE_IP ??= "192.168.0.9"
REMOTE_PATH ??= "/mnt/mmc"
do_target_scp () { do_target_scp () {
echo "scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_KERNEL} ${REMOTE_USER}@${REMOTE_IP}:${REMOTE_PATH}/${PRODUCTION_KERNEL}" echo "scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/${RLOC}/${PRODUCTION_KERNEL} ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/${PRODUCTION_KERNEL}"
scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/mmc/${PRODUCTION_KERNEL} ${REMOTE_USER}@${REMOTE_IP}:${REMOTE_PATH}/${PRODUCTION_KERNEL} scp -i ${IDENTITY_FILE} -p ${DEPLOY_DIR_IMAGE}/mmc/${PRODUCTION_KERNEL} ${REMOTE_USER}@${REMOTE_IP}:/mnt/mmc/${PRODUCTION_KERNEL}
} }
addtask do_target_scp after do_deploy addtask do_target_scp after do_deploy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment