Skip to contentSkip to conversation

dev-manual: gen-tapdevs need iptables installed

PATCH In review [email protected] 2 participants 3 messages Feb 1, 2024 – Feb 5, 2024 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dev-manual: gen-tapdevs need iptables installed

From: Simone Weiß <[email protected]>

Add the hint to the test setup that runqemu-gen-tapdevs will need the iptables package installed.

---
 documentation/dev-manual/runtime-testing.rst | 2 ++
 1 file changed, 2 insertions(+)
documentation/dev-manual/runtime-testing.rst +2 -0
index be1e8c02e..1a2e9ec4f 100644
@@ -52,6 +52,8 @@ In order to run tests, you need to do the following:
          -  Be sure to use an absolute path when calling this script
             with sudo.
 
+         -  Ensure that your host has the package ``iptables`` installed.
+
          -  The package recipe ``qemu-helper-native`` is required to run
             this script. Build the package using the following command::
 
Signature · 1 line
2.39.2
#1 lore raw

Hi Simone

Quoted 15 lines · Simone Weiß

From: Simone Weiß <[email protected]>

Add the hint to the test setup that runqemu-gen-tapdevs will need the iptables package installed.

---
  documentation/dev-manual/runtime-testing.rst | 2 ++
  1 file changed, 2 insertions(+)
documentation/dev-manual/runtime-testing.rst +0 -0
index be1e8c02e..1a2e9ec4f 100644

documentation/dev-manual/runtime-testing.rst In order to run tests, you need to do the following: · line 59

Quoted 8 lines
documentation/dev-manual/runtime-testing.rst +2 -0
@@ -52,6 +52,8 @@ In order to run tests, you need to do the following:
           -  Be sure to use an absolute path when calling this script
              with sudo.
 
+         -  Ensure that your host has the package ``iptables`` installed.
+
           -  The package recipe ``qemu-helper-native`` is required to run
              this script. Build the package using the following command::
 

Thanks for the patch, but it doesn't apply with "git am" on "master-next". Did you send it with "git send-email", or was the patch messed-up by your mail server?

Applying: dev-manual: gen-tapdevs need iptables installed

error: patch failed: documentation/dev-manual/runtime-testing.rst:52

error: documentation/dev-manual/runtime-testing.rst: patch does not apply

Patch failed at 0001 dev-manual: gen-tapdevs need iptables installed

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

Of course, I could re-create the patch, but that's interesting to solve this issue for next time. Cheers
Michael

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hi Simone

Quoted 38 lines · Michael Opdenacker via lists.yoctoproject.org

Hi Simone

Quoted 15 lines · Simone Weiß

From: Simone Weiß <[email protected]>

Add the hint to the test setup that runqemu-gen-tapdevs will need the iptables package installed.

---
  documentation/dev-manual/runtime-testing.rst | 2 ++

  1 file changed, 2 insertions(+)
documentation/dev-manual/runtime-testing.rst +0 -0
index be1e8c02e..1a2e9ec4f 100644
@@ -52,6 +52,8 @@ In order to run tests, you need to do the following:
Quoted 6 lines

           -  Be sure to use an absolute path when calling this script with sudo.
  +         -  Ensure that your host has the package ``iptables`` installed. +
           -  The package recipe ``qemu-helper-native`` is required to run this script. Build the package using the following command::

Thanks for the patch, but it doesn't apply with "git am" on "master-next". Did you send it with "git send-email", or was the patch messed-up by your mail server?

Applying: dev-manual: gen-tapdevs need iptables installed

error: patch failed: documentation/dev-manual/runtime-testing.rst:52

error: documentation/dev-manual/runtime-testing.rst: patch does not apply

Patch failed at 0001 dev-manual: gen-tapdevs need iptables installed

hint: Use 'git am --show-current-patch=diff' to see the failed patch

Quoted 7 lines

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

Of course, I could re-create the patch, but that's interesting to solve this issue for next time.

Never mind, the problem is probably on my side. It seems I tried to apply it twice, so everything's OK now and the patch is in "master-next". Thanks again
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com