Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0544943

Browse files
Bug-fix: cd into mounted volume in docker container [2] (#1424)
Updated also bash script
1 parent 204469c commit 0544943

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎content/hardware/04.pro/boards/portenta-x8/tutorials/08.image-building/assets/portenta-x8_build.sh‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
echo --------------------------------------------------------------------------
66
echo Starting wrapper script to setup and build an Image and the Flashing tools
77
echo @arduino Portenta-X8
8-
echo 1 Oct 2022
8+
echo 17 Oct 2023
99
echo
1010

1111
# Make sure its on the home directory
1212
echo Changing directory to home
13-
cd ~
13+
cd /dockerVolume
1414

1515
# Git config
1616
echo Git config to example credentials
@@ -45,8 +45,8 @@ cd ..
4545
# Copy files to the deploy folder
4646
todaysDate=$(date +%d-%b-%H_%M)
4747
echo copying files
48-
mkdir ../../dockerVolume/$todaysDate
49-
DEPLOY_FOLDER=../../dockerVolume/$todaysDate
48+
DEPLOY_FOLDER=/dockerVolume/$todaysDate
49+
mkdir $DEPLOY_FOLDER
5050

5151
cp -L build-lmp-mfgtool/deploy/images/portenta-x8/mfgtool-files-portenta-x8.tar.gz $DEPLOY_FOLDER
5252
cp -L build-lmp-xwayland/deploy/images/portenta-x8/imx-boot-portenta-x8 $DEPLOY_FOLDER
@@ -60,4 +60,4 @@ tar xvf mfgtool-files-portenta-x8.tar.gz
6060
echo finished
6161
echo Output folder called $todaysDate
6262
echo
63-
echo Read more at https://docs.arduino.cc/hardware/portenta-x8
63+
echo Read more at https://docs.arduino.cc/hardware/portenta-x8

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /