Skip to contentSkip to conversation

runqemu-gen-tapdevs: fix file path in example

PATCH Superseded Chen Qi 2 participants 4 messages Mar 22, 2017 – Mar 23, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover runqemu-gen-tapdevs: fix file path in example

The following changes since commit 9fc3fec4499e6110031245d7b56e580c903e77e5:

Revert "file: update SRCREV for 5.30 to fix fetch fail on missing commit" (2017-03-21 22:39:17 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/example-path
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/example-path

Chen Qi (1):
runqemu-gen-tapdevs: fix file path in example

 scripts/runqemu-gen-tapdevs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 runqemu-gen-tapdevs: fix file path in example

Fix the path in example so that '/usr/bin/tunctl' could be found under this path.

---
 scripts/runqemu-gen-tapdevs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/runqemu-gen-tapdevs +1 -1
index 9e5e5b9..994efd0 100755
@@ -29,7 +29,7 @@ usage() {
 	echo "<num> is the number of tap devices to create (0 to remove all)"
 	echo "<native-sysroot-basedir> is the path to the build system's native sysroot"
 	echo "e.g. $ bitbake qemu-helper-native -c addto_recipe_sysroot"
-	echo "$ sudo $0 1000 1000 4 tmp/work/x86_64-linux/qemu-helper-native/*/recipe-sysroot-native/"
+	echo "$ sudo $0 1000 1000 4 tmp/sysroots-components/x86_64/qemu-helper-native/"
 	exit 1
 }
 
Signature · 1 line
1.9.1
#2 lore raw
Quoted 13 lines · Chen Qi

Fix the path in example so that '/usr/bin/tunctl' could be found under this path.

---
 scripts/runqemu-gen-tapdevs | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/runqemu-gen-tapdevs +0 -0
index 9e5e5b9..994efd0 100755
@@ -29,7 +29,7 @@ usage() {
Quoted 3 lines

  echo " is the number of tap devices to create (0 to remove all)" echo " is the path to the build system's native sysroot" echo "e.g. $ bitbake qemu-helper-native -c addto_recipe_sysroot"

If we change this, you also need to change the above to remove -c addto_recipe_sysroot.

Cheers,

Richard

Quoted 8 lines
scripts/runqemu-gen-tapdevs +1 -1
-	echo "$ sudo $0 1000 1000 4 tmp/work/x86_64-linux/qemu-helper-native/*/recipe-sysroot-native/"
+	echo "$ sudo $0 1000 1000 4 tmp/sysroots-components/x86_64/qemu-helper-native/"

  exit 1
 }

--
1.9.1

author
#3 lore raw
Quoted 20 lines · Richard Purdie
Quoted 13 lines · Chen Qi

Fix the path in example so that '/usr/bin/tunctl' could be found under this path.

---
  scripts/runqemu-gen-tapdevs | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
scripts/runqemu-gen-tapdevs +0 -0
index 9e5e5b9..994efd0 100755

scripts/runqemu-gen-tapdevs usage() { · line 31

Quoted 3 lines
scripts/runqemu-gen-tapdevs +0 -0
@@ -29,7 +29,7 @@ usage() {
  	echo " is the number of tap devices to create (0 to remove all)"
  	echo " is the path to the build system's native sysroot"
  	echo "e.g. $ bitbake qemu-helper-native -c addto_recipe_sysroot"

If we change this, you also need to change the above to remove -c addto_recipe_sysroot.

Quoted 3 lines

Cheers,

Richard

Thanks. V2 has been sent.

Best Regards,
Chen Qi

Quoted 8 lines
Quoted 8 lines
scripts/runqemu-gen-tapdevs +1 -1
-	echo "$ sudo $0 1000 1000 4 tmp/work/x86_64-linux/qemu-helper-native/*/recipe-sysroot-native/"
+	echo "$ sudo $0 1000 1000 4 tmp/sysroots-components/x86_64/qemu-helper-native/"
  	exit 1
  }
 
Signature · 1 line
1.9.1