Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
1eca9775
Commit
1eca9775
authored
8 years ago
by
Beat Küng
Committed by
Lorenz Meier
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
sitl_run.sh: fix $rootfs not set (needed for efk2 replay)
parent
bb61144e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tools/sitl_run.sh
+2
-0
2 additions, 0 deletions
Tools/sitl_run.sh
with
2 additions
and
0 deletions
Tools/sitl_run.sh
+
2
−
0
View file @
1eca9775
...
...
@@ -24,6 +24,7 @@ echo build_path: $build_path
working_dir
=
`
pwd
`
sitl_bin
=
$build_path
/src/firmware/posix/px4
rootfs
=
$build_path
/tmp/rootfs
if
[
"
$chroot
"
==
"1"
]
then
...
...
@@ -95,6 +96,7 @@ then
# Check if we need to creat a param file to allow user to change parameters
if
!
[
-f
"
$rootfs
/replay_params.txt"
]
then
mkdir
-p
$rootfs
touch
$rootfs
/replay_params.txt
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment