Date   

Strange sporadic build issues (incremental builds in docker container)

Matthias Klein
 

Hello together,

I am building various kirkstone/master yoctos every night via Jenkins inside a Debian Bullseye Docker container.
These are incremental builds, reusing the build directory and sstate-cache of the previous build. The different yoctos are built in order. Each time, a new Docker container is launched.
(The same environment builds dunfell yoctos without any problems).

Now it happens sporadically that one of the builds aborts with the following message:

stderr: The series file no longer matches the applied patches. Please run 'quilt pop -a'.

They are usually alternating packages where the patch step fails with the above message. Also different yoctos are affected. But it is always the above message.
If I then restart the failed build it usually builds cleanly.

Does anyone have an idea in which direction the problem goes?

Many greetings,
Matthias


M+ & H bugs with Milestone Movements WW12

Stephen Jolley
 

All,

YP M+ or high bugs which moved to a new milestone in WW12 are listed below:

Priority

Bug ID

Short Description

Changer

Owner

Was

Became

Medium+

5389

bitbake/lib/bb/fetch2: filename too long

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

10061

Ctrl+C during BB_HASHCHECK_FUNCTION execution does not interrupt processing nicely

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

10731

bitbake --observe-only doesn't work with memres

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

11781

bitbake --observe-only may get KeyError

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

11899

broken 'bitbake --status-only' and 'bitbake -m'

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

12290

cross recipe kernel module dependency generation stopped working

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

12342

lib32-core-image-sato -ctestimage failed due to wrong package names

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

12374

do_rootfs failed when len(TMPDIR) == 410

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

12367

moving or removing tmp breaks persistent bitbake server

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

12760

CMake Toolchain File Has Wrong Module Path

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

12963

nativesdk-opkg prefixes all internal paths with $SDKPATH and won't work

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13008

toaster testing

david.reyna@...

david.reyna@...

3.5 M3

3.6 M1

 

13109

Implement CPE to package to Release mapping

david.reyna@...

david.reyna@...

3.5 M3

3.6 M1

 

13181

persist_data sqlite database mixed with forking is irreparably broken

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13236

sstate for host native packages

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13279

Make sure users/groups exist for package_write_* tasks

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13285

YoctoProject Compatibility script improvements needed

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13338

SDK  build fails if image contains bash

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13353

bitbake git fetcher does not honour BB_FETCH_PREMIRRORONLY

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13419

recipes that add users to groups cannot rely on other recipes creating those groups (when population from sstate happens)

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13425

Add bblock and bbunlock helper tools

randy.macleod@...

newcomer@...

3.5 M3

3.6 M1

 

13463

test linux-yocto-rt kernels too

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13550

username/password specified to gitsm:// does not get propagated to submodules

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13674

master dnf failures on qemumips

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13705

master] bitbake and hashserve.sock left behind when ^C a build

randy.macleod@...

unassigned@...

3.5 M3

3.5 M4

 

13722

Debugging With the GNU Project Debugger enhancements

randy.macleod@...

john.kaldas.enpj@...

3.5 M3

3.5 M4

 

13735

Performing Automated Runtime Testing with a custom hardware target / BeagleBone Hardware target

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13819

No clue when CONNECTIVITY_CHECK_URIS is unaccessible

randy.macleod@...

newcomer@...

3.5 M3

3.6 M1

 

13843

bitbake worker stuck using 100% cpu on aborted build

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13868

Python cache files get lost in packages

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13897

POSTINST_INTERCEPTS_DIR broken by undocumented POSTINST_INTERCEPTS_PATHS since thud

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13910

Intermittent host UID contamination highlighted by devtool tests

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13919

Multi License GPLv3 -lic cannot be installed into the image because it has incompatible license

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13920

uninative tarball license compliance in ESDK

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13934

Apparent duplication of libtirpc package causes failure in "bitbake linux-yocto -c menuconfig"

randy.macleod@...

unassigned@...

3.5 M3

3.5 M4

 

13954

Invalid layerindex data causing backtrace in `bitbake-layers layerindex-fetch`

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

13964

bitbake stuck doing nothing after hitting disk-full condition

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14015

URL Arguments in MIRROR/PREMIRROR get encoded

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14020

environment-setup script in multilib eSDK doesn't work for multilib variant

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14066

bitbake core-image-base -c populate_sdk fails when image contains bash, core-utils and package_deb is used

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14099

PACKAGE_EXCLUDE not removing packages when PACKAGE_CLASSES = "package_deb"

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14127

cve-check falsely indicates a vulnerabily to be patched

randy.macleod@...

unassigned@...

3.5 M3

3.5 M4

 

14126

resolvconf incompatible with busybox flock

randy.macleod@...

newcomer@...

3.5 M3

3.5 M4

 

14136

If u-boot defconfig is incomplete, 'bitbake u-boot -c configure' hangs and eats all memory

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14150

devtool: modify: fails for gstreamer1.0-plugins-good

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14151

devtool build fails for python3

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14154

yocto-check-layer fails incorrectly with kernel hash changes

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14155

yocto-check-layer fails with hash changes if license added

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14157

git fetcher: consider using different git commands for repo packing, eliminating "git pack-redundant"

randy.macleod@...

newcomer@...

3.5 M3

3.6 M1

 

14206

oe-selftest perl errors on rpm based distros

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14218

Recipe rebuilds can contaminate builds

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14274

dnf parselogs failed on qemux86-64 due to networking error

randy.macleod@...

unassigned@...

3.5 M3

3.5 M4

 

 

 

 

3.5 M4

3.6 M1

 

14383

archiver.bbclass:do_ar_mirror copies entire contents of ${DL_DIR} to ${WORKDIR} when used with npm.bbclass

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14386

patchelf breaks go -native executables

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14446

devtool add malformed PACKAGECONFIG

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14461

devtool sdk-update do not clean old version files

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14462

devtool sdk-update does not update sstate-cache

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14520

A qemuboot.conf file isn't generated if the rootfs wasn't modified

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14528

remove floppy controller from qemu

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14553

insane.bbclass: host-user-contaminated QA doesn't skip the home directory

randy.macleod@...

unassigned@...

3.5 M3

3.5 M4

 

14609

Unable to build on a host with FIPS mode enabled

randy.macleod@...

unassigned@...

3.5 M3

3.6 M1

 

14642

Yocto-check-layer add patch Upstream-Status check

randy.macleod@...

unassigned@...

3.5 M3

3.5 M4

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Enhancements/Bugs closed WW12!

Stephen Jolley
 

All,

The below were the owners of enhancements or bugs closed during the last week!

Who

Count

randy.macleod@...

3

michael.opdenacker@...

1

sundeep.kokkonda@...

1

ross@...

1

Grand Total

6

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Current high bug count owners for Yocto Project 3.5

Stephen Jolley
 

All,

Below is the list as of top 44 bug owners as of the end of WW12 of who have open medium or higher bugs and enhancements against YP 3.5.   There are 28 possible work days left until the final release candidates for YP 3.5 needs to be released.

Who

Count

michael.opdenacker@...

34

ross@...

28

randy.macleod@...

19

david.reyna@...

14

tim.orling@...

13

sakib.sajal@...

13

bruce.ashfield@...

12

richard.purdie@...

10

mhalstead@...

9

saul.wold@...

7

trevor.gamblin@...

7

bluelightning@...

6

kai.kang@...

5

chee.yang.lee@...

4

JPEWhacker@...

4

hongxu.jia@...

4

jon.mason@...

3

Qi.Chen@...

3

pgowda.cve@...

2

mshah@...

2

alejandro@...

2

akuster808@...

2

mostthingsweb@...

1

andrei@...

1

pavel@...

1

open.source@...

1

thomas.perrot@...

1

Martin.Jansa@...

1

mingli.yu@...

1

liezhi.yang@...

1

sundeep.kokkonda@...

1

yi.zhao@...

1

mark.hatle@...

1

aehs29@...

1

jay.shen.teoh@...

1

matthewzmd@...

1

TicoTimo@...

1

pokylinux@...

1

jaskij@...

1

raj.khem@...

1

martin.beeger@...

1

john.kaldas.enpj@...

1

nicolas.dechesne@...

1

alexandre.belloni@...

1

Grand Total

225

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Yocto Project Newcomer & Unassigned Bugs - Help Needed

Stephen Jolley
 

All,

 

The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading:

https://wiki.yoctoproject.org/wiki/Bug_Triage#Newcomer_Bugs  Also please review: https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded and how to create a bugzilla account at: https://bugzilla.yoctoproject.org/createaccount.cgi

The idea is these bugs should be straight forward for a person to help work on who doesn't have deep experience with the project.  If anyone can help, please take ownership of the bug and send patches!  If anyone needs help/advice there are people on irc who can likely do so, or some of the more experienced contributors will likely be happy to help too.

 

Also, the triage team meets weekly and does its best to handle the bugs reported into the Bugzilla. The number of people attending that meeting has fallen, as have the number of people available to help fix bugs. One of the things we hear users report is they don't know how to help. We (the triage team) are therefore going to start reporting out the currently 399 unassigned or newcomer bugs.

 

We're hoping people may be able to spare some time now and again to help out with these.  Bugs are split into two types, "true bugs" where things don't work as they should and "enhancements" which are features we'd want to add to the system.  There are also roughly four different "priority" classes right now,  “3.5, “3.6”, "3.99" and "Future", the more pressing/urgent issues being in "3.5" and then “3.6”.

 

Please review this link and if a bug is something you would be able to help with either take ownership of the bug, or send me (sjolley.yp.pm@...) an e-mail with the bug number you would like and I will assign it to you (please make sure you have a Bugzilla account).  The list is at: https://wiki.yoctoproject.org/wiki/Bug_Triage_Archive#Unassigned_or_Newcomer_Bugs

 

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

(    Cell:                (208) 244-4460

* Email:              sjolley.yp.pm@...

 


Re: Multiconfig dependency

Oleh Kravchenko
 

Hello Manuel,
Thank you for your reply.

It isn't missing.
Here is a cut from manual:

A "default" configuration already exists by definition. This configuration is named: "" (i.e. empty string) and is defined by the variables coming from your local.conf file.


21.03.22 08:02, Manuel Wagesreither пише:

Hi Oleh,
Am Do, 17. Mär 2022, um 21:29, schrieb Oleh Kravchenko:
do_install[mcdepends] = "mc:initramfs::core-image-minimal:do_image_complete"
I have zero practical experience with multiconfig, but isn't this missing one argument?
See here:
https://github.com/JPEWdev/meta-multiconfig-demos/blob/main/recipes-misc/arthur-embed/arthur-embed.bb#L21https://youtu.be/YvtlGjWrL-M?list=PLD4M5FoHz-TwWYbaJwduH8ZYNYvva76QQ&t=5030
Regards,
Manuel


Re: [yocto-autobuilder-helper] [PATCH] scripts/run-docs-build: Support auto generation of switchers.js and poky.yaml

Michael Opdenacker
 

Hi Richard,

On 3/19/22 16:28, Richard Purdie wrote:
This uses the set_versions.py script from the docs master branch to handle
creation of the swictchers.js version information as well as the data in
poky.yaml.

This allows patches to those sections of the docs to be dropped.

It is assumed the patch to use set_versions is applied to the docs transitions
branch so that it's switchers.js files no longer need to be tweaked.

This does lead to user visible changes on the website:

- Older versioned released docs gain their current version and the
latest version listed in the switcher rather than being unlisted
- The list of releases is normally filtered down to our active ones
(hardknott, honister and dev right now)
- 3.3's doc references to gatesgath are corrected to hardknott
- Docs for unversioned release branches (not linked on the website) now
use 3.1.999 versioning instead of confusing them with the last relased version
- 3.1.13 refers to 3.1.13 instead of 3.1.12

all of which seem to be reasonable improvements.

The big advantage of these changes is that with a single change to the script
in the master branch, the right thing should happen for all the current docs
and at release time, only a docs rebuild should need to be triggered after tags
are pushed.

Signed-off-by: Richard Purdie <richard.purdie@...>
---
...01-releases-update-to-include-3.1.14.patch | 41 ------------
...umentation-update-for-3.1.14-release.patch | 23 -------
...umentation-prepare-for-3.3.5-release.patch | 53 ---------------
.../0001-conf-update-for-release.patch | 17 -----
...honister-updates-for-recent-releases.patch | 67 -------------------
...001-releases-update-to-include-3.4.2.patch | 63 -----------------
.../0001-conf-update-for-release.patch | 17 -----
scripts/run-docs-build | 24 +++++--
8 files changed, 20 insertions(+), 285 deletions(-)
delete mode 100644 scripts/docs-build-patches/yocto-3.1.14/0001-releases-update-to-include-3.1.14.patch
delete mode 100644 scripts/docs-build-patches/yocto-3.4.2/0001-releases-update-to-include-3.4.2.patch

Looks good to me. Thanks for the simplification.

Reviewed-by: Michael Opdenacker <michael.opdenacker@...>
Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


Re: [PATCH yocto-autobuilder-helper 6/6] scripts: run-docs-build: factor out yocto-docs tags and branches building

Michael Opdenacker
 

On 3/18/22 17:36, Quentin Schulz wrote:
From: Quentin Schulz <quentin.schulz@...>

Except patching which is specific to tags and yocto- tag prefix
stripping, the logic is identical, so let's merge both loops together.

Cc: Quentin Schuls <foss+yocto@...>
Signed-off-by: Quentin Schulz <quentin.schulz@...>
---
scripts/run-docs-build | 36 ++++++++++++------------------------
1 file changed, 12 insertions(+), 24 deletions(-)

Reviewed-by: Michael Opdenacker <michael.opdenacker@...>
Thanks for making the script much more readable :-)
Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


Re: [PATCH yocto-autobuilder-helper 5/6] scripts: run-docs-build: simplify sphinx-buildable yocto-docs tag list fetching

Michael Opdenacker
 

On 3/18/22 17:36, Quentin Schulz wrote:
From: Quentin Schulz <quentin.schulz@...>

The commit that introduced Sphinx support in yocto-docs is
01dd5af7954e24552aca022917669b27bb0541ed. Any tag containing this commit
is buildable by sphinx.

Dunfell tags don't all have Sphinx support. However, all tags containing
the introducing commit c25fe058b88b893b0d146f3ed27320b47cdec236 are
buildable by sphinx.

Therefore, let's just list all tags which contains either of those two
commits instead of the complex series of pipes and shell commands.

Cc: Quentin Schulz <foss+yocto@...>
Signed-off-by: Quentin Schulz <quentin.schulz@...>
---
scripts/run-docs-build | 36 +++++++++++++++++-------------------
1 file changed, 17 insertions(+), 19 deletions(-)

Thanks for the simplification!
Reviewed-by: Michael Opdenacker <michael.opdenacker@...>
Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


Re: [PATCH yocto-autobuilder-helper 4/6] scripts: run-docs-build: automatically build new yocto-docs branches

Michael Opdenacker
 

On 3/18/22 17:36, Quentin Schulz wrote:
From: Quentin Schulz <quentin.schulz@...>

Since commit 01dd5af7954e24552aca022917669b27bb0541ed, all later
releases of yocto-docs can be built with Sphinx. Instead of manually
updating this list, let's have git return the list of remote branches
which contains the commit.

dunfell branch was initially released without Sphinx support but was
later patched, hence why it's explicitly listed.

Cc: Quentin Schulz <foss+yocto@...>
Signed-off-by: Quentin Schulz <quentin.schulz@...>
---
scripts/run-docs-build | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

Reviewed-by: Michael Opdenacker <michael.opdenacker@...>
Many thanks
Michael.
--

Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


Re: [PATCH yocto-autobuilder-helper 3/6] scripts: run-docs-build: factor out all yocto-docs branches building

Michael Opdenacker
 

On 3/18/22 17:36, Quentin Schulz wrote:
From: Quentin Schulz <quentin.schulz@...>

master, master-next and transition only differ from other branches by
their output directory name. Let's put everything in common and only
have a check on whether the branch is master, master-next or transition
and modify the output dir in those cases.

Cc: Quentin Schulz <foss+yocto@...>
Signed-off-by: Quentin Schulz <quentin.schulz@...>
---
scripts/run-docs-build | 35 +++++++++++------------------------
1 file changed, 11 insertions(+), 24 deletions(-)

Reviewed-by: Michael Opdenacker <michael.opdenacker@...>
Thanks!
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


Re: [PATCH yocto-autobuilder-helper 2/6] scripts: run-docs-build: automatically build new Bitbake branches

Michael Opdenacker
 

On 3/18/22 17:36, Quentin Schulz wrote:
From: Quentin Schulz <quentin.schulz@...>

Since commit 84ccba0f4aff91528f764523fe1205a354c889ed, docs of all later
releases can be built with Sphinx. Instead of manually updating this
list, let's have git return the list of remote branches which contains
this commit.

1.46 branch was initially released without Sphinx support but was later
patched, hence why it's explicitly listed.

Cc: Quentin Schulz <foss+yocto@...>
Signed-off-by: Quentin Schulz <quentin.schulz@...>
---
scripts/run-docs-build | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/scripts/run-docs-build b/scripts/run-docs-build
index f7b5f97..d8d77c7 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -37,7 +37,12 @@ mkdir $outputdir/bitbake
# https://lists.yoctoproject.org/g/docs/message/2193
# We copy the releases.rst file from master so that all versions of the docs
# see the latest releases.
-for branch in 1.46 1.48 1.50 1.52 master master-next; do
+first_sphinx_commit=84ccba0f4aff91528f764523fe1205a354c889ed
+for branch in 1.46 $(git branch --remote --contains "$first_sphinx_commit" --format '%(refname:lstrip=3)'); do
+ if [ "$branch" = "HEAD" ]; then
+ continue
+ fi
+
echo Building bitbake $branch branch
git checkout $branch
git checkout master releases.rst

Very good idea! I learned a new git option today.
Reviewed-by: Michael Opdenacker <michael.opdenacker@...>
Thanks!
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


Re: [PATCH yocto-autobuilder-helper 1/6] scripts: run-docs-build: factor out all bitbake branches building

Michael Opdenacker
 

Hi Quentin

On 3/18/22 17:36, Quentin Schulz wrote:
From: Quentin Schulz <quentin.schulz@...>

master and master-next only differ from other branches by their output
directory name. Let's put everything in common and only have a check on
whether the branch is master or master-next and modify the output dir in
those cases.

Cc: Quentin Schulz <foss+yocto@...>
Signed-off-by: Quentin Schulz <quentin.schulz@...>
Thanks for the useful patch!

Reviewed-by: Michael Opdenacker <michael.opdenacker@...>
Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


Re: Multiconfig dependency

Manuel Wagesreither
 

Hi Oleh,

Am Do, 17. Mär 2022, um 21:29, schrieb Oleh Kravchenko:
do_install[mcdepends] = "mc:initramfs::core-image-minimal:do_image_complete"
I have zero practical experience with multiconfig, but isn't this missing one argument?

See here:

https://github.com/JPEWdev/meta-multiconfig-demos/blob/main/recipes-misc/arthur-embed/arthur-embed.bb#L21https://youtu.be/YvtlGjWrL-M?list=PLD4M5FoHz-TwWYbaJwduH8ZYNYvva76QQ&t=5030

Regards,
Manuel


Booting my raspberry pi image hangs at some point. Where exactly?

Manuel Wagesreither
 

Hi all,

I can netboot my Raspberry Pi 4 still fine, but when I flash the image onto a usb drive using wic, booting fails. I just stops to boot at one point. I'd be glad if someone could tell me where it's hanging so I could try to start tracking it down at the right place. All metalayers are on dunfell but not at the newest commit.

USB booting was working fine months ago and I don't really know at which point it stopped working.

This is the last I get from the serial console:

Read config.txt bytes 36302 hnd 0x00000035
Read start4.elf bytes 2229120 hnd 0x000025f8
Read fixup4.dat bytes 5448 hnd 0x0000004b
Firmware: 7d9a298cda813f747b51fe17e1e417e7bf5ca94d May 27 2021 14:02:15
0x00d03114 0x00000000 0x000000ff
MEM GPU: 76 ARM: 947 TOTAL: 1023
Starting start4.elf @ 0xfeb00200 partition 0
Stopping network
Stop display
Display stopped
+

The rest sadly appears on the screen only, so here is an actual screenshot:

https://user.fm/files/v2-1d64d080db788dec685957ae4863e1f4/raspi.png

It seems to detect the usb drive just fine. The last related log line I get is

sd 0:0:0:0: [sda] Attached SCSI removable disk

Whatever is running (the kernel?) is not dead, though. Around 30 seconds later it prints a "vcc-sd: disabling" and some minutes later a "random: crng init done" (= random number generator is initialized).

Does anyone have an idea? I'll try to get my hands on an sd card in the meantime.

Regards,
Manuel


Re: qemu: Enable guest access to the internet

Manuel Wagesreither
 

Hi Richard,

Am Sa, 19. Mär 2022, um 13:00, schrieb Richard Purdie:
SLIRP only allows specific ports and will not work for general internet
connectivity. It can be done without root but the downside is it isn't as
powerful. TAP would allow the guest internet access but needs to be setup in
advance (using the gen-tapdevs script) or for there to be sudo access to setup
what is needed.
I hoped I could SLIRP for general internet connectivity to work by enabling NAT on the host. If I recall correctly, I could see the pings I sent from inside the qemu guest to 10.0.2.2 show up on my host, hence I assumed there is a chance. (I checked with wireguard.) With systemd-networkd NAT seems to be quite easy to set up: [1].

[1] https://www.freedesktop.org/software/systemd/man/systemd.network.html#IPMasquerade=

Regards,
Manuel


Re: Multiconfig dependency

Oleh Kravchenko
 

Hello Joshua,
Could you please help me with multiconfig?

Currently I've found this workaround:
do_install[nostamp] = "1"
For all tasks that have "do_install[mcdepends]".

17.03.22 22:29, Oleh Kravchenko пише:
Hello guys!
Could you please help me with Multiconfig setup?
I’ve "default" configuration with SystemD by default.
And "initramfs" configuration with Busybox and other settings.
I use next targets/recipes with initramfs configuration:
1. core-image-rootfs - packs core-image-minimal ext4 image to debian package;
2. initramfs-flasher-image - image that has core-image-rootfs;
Default configuration:
1. core-image-minimal - main rootfs;
2. flasher - packs initramfs-flasher-image squashfs image to debian package;
3. app-flasher - special application that has inside squashfs file from flasher package.
Everything works fine if I do clean build.
If I change somethings for core-image-minial (like IMAGE_INSTALL), it builds core-image-minial only:

bitbake app-flasher
But no updates for core-image-rootfs, initramfs-flasher-image, flasher and app-flasher.
Here how my multiconfig dependency in core-image-rootfs.bb:

> do_install[mcdepends] =
"mc:initramfs::core-image-minimal:do_image_complete"


[yocto-autobuilder-helper] [PATCH] scripts/run-docs-build: Support auto generation of switchers.js and poky.yaml

Richard Purdie
 

This uses the set_versions.py script from the docs master branch to handle
creation of the swictchers.js version information as well as the data in
poky.yaml.

This allows patches to those sections of the docs to be dropped.

It is assumed the patch to use set_versions is applied to the docs transitions
branch so that it's switchers.js files no longer need to be tweaked.

This does lead to user visible changes on the website:

- Older versioned released docs gain their current version and the
latest version listed in the switcher rather than being unlisted
- The list of releases is normally filtered down to our active ones
(hardknott, honister and dev right now)
- 3.3's doc references to gatesgath are corrected to hardknott
- Docs for unversioned release branches (not linked on the website) now
use 3.1.999 versioning instead of confusing them with the last relased version
- 3.1.13 refers to 3.1.13 instead of 3.1.12

all of which seem to be reasonable improvements.

The big advantage of these changes is that with a single change to the script
in the master branch, the right thing should happen for all the current docs
and at release time, only a docs rebuild should need to be triggered after tags
are pushed.

Signed-off-by: Richard Purdie <richard.purdie@...>
---
...01-releases-update-to-include-3.1.14.patch | 41 ------------
...umentation-update-for-3.1.14-release.patch | 23 -------
...umentation-prepare-for-3.3.5-release.patch | 53 ---------------
.../0001-conf-update-for-release.patch | 17 -----
...honister-updates-for-recent-releases.patch | 67 -------------------
...001-releases-update-to-include-3.4.2.patch | 63 -----------------
.../0001-conf-update-for-release.patch | 17 -----
scripts/run-docs-build | 24 +++++--
8 files changed, 20 insertions(+), 285 deletions(-)
delete mode 100644 scripts/docs-build-patches/yocto-3.1.14/0001-releases-update-to-include-3.1.14.patch
delete mode 100644 scripts/docs-build-patches/yocto-3.4.2/0001-releases-update-to-include-3.4.2.patch

diff --git a/scripts/docs-build-patches/yocto-3.1.14/0001-releases-update-to-include-3.1.14.patch b/scripts/docs-build-patches/yocto-3.1.14/0001-releases-update-to-include-3.1.14.patch
deleted file mode 100644
index ee2983a..0000000
--- a/scripts/docs-build-patches/yocto-3.1.14/0001-releases-update-to-include-3.1.14.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 2e3ec94e906a255cd7b22dfca29a6148fc433732 Mon Sep 17 00:00:00 2001
-From: Michael Halstead <mhalstead@...>
-Date: Wed, 16 Feb 2022 23:04:15 -0800
-Subject: [PATCH 1/2] releases: update to include 3.1.14
-
-Adding 3.1.14 to documentation switcher and release list.
-
-Signed-off-by: Michael Halstead <mhalstead@...>
----
- documentation/releases.rst | 1 +
- documentation/sphinx-static/switchers.js | 2 +-
- 2 files changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/documentation/releases.rst b/documentation/releases.rst
-index 57e4566e1..affe63403 100644
---- a/documentation/releases.rst
-+++ b/documentation/releases.rst
-@@ -39,6 +39,7 @@ Release Series 3.1 (dunfell)
- - :yocto_docs:`3.1.11 Documentation </3.1.11>`
- - :yocto_docs:`3.1.12 Documentation </3.1.12>`
- - :yocto_docs:`3.1.13 Documentation </3.1.13>`
-+- :yocto_docs:`3.1.14 Documentation </3.1.14>`
-
- ==========================
- Outdated Release Manuals
-diff --git a/documentation/sphinx-static/switchers.js b/documentation/sphinx-static/switchers.js
-index bda15485c..1d65fa7fa 100644
---- a/documentation/sphinx-static/switchers.js
-+++ b/documentation/sphinx-static/switchers.js
-@@ -6,7 +6,7 @@
- '3.4.1': '3.4.1',
- '3.3.4': '3.3.4',
- '3.2.4': '3.2.4',
-- '3.1.13': '3.1.13',
-+ '3.1.14': '3.1.14',
- '3.0.4': '3.0.4',
- '2.7.4': '2.7.4',
- };
---
-2.35.1
-
diff --git a/scripts/docs-build-patches/yocto-3.1.14/0002-documentation-update-for-3.1.14-release.patch b/scripts/docs-build-patches/yocto-3.1.14/0002-documentation-update-for-3.1.14-release.patch
index aef59a3..c1d303c 100644
--- a/scripts/docs-build-patches/yocto-3.1.14/0002-documentation-update-for-3.1.14-release.patch
+++ b/scripts/docs-build-patches/yocto-3.1.14/0002-documentation-update-for-3.1.14-release.patch
@@ -23,26 +23,3 @@ index 0d61afc9d..01d5e00c1 100644
bitbake_version = "1.46"

# String used in sidebar
-diff --git a/documentation/poky.yaml b/documentation/poky.yaml
-index 8da5f5915..e37ea420a 100644
---- a/documentation/poky.yaml
-+++ b/documentation/poky.yaml
-@@ -1,11 +1,11 @@
--DISTRO : "3.1.13"
-+DISTRO : "3.1.14"
- DISTRO_NAME_NO_CAP : "dunfell"
- DISTRO_NAME : "Dunfell"
- DISTRO_NAME_NO_CAP_MINUS_ONE : "zeus"
--YOCTO_DOC_VERSION : "3.1.13"
-+YOCTO_DOC_VERSION : "3.1.14"
- YOCTO_DOC_VERSION_MINUS_ONE : "3.0.4"
--DISTRO_REL_TAG : "yocto-3.1.13"
--POKYVERSION : "23.0.13"
-+DISTRO_REL_TAG : "yocto-3.1.14"
-+POKYVERSION : "23.0.14"
- YOCTO_POKY : "poky-&DISTRO_NAME_NO_CAP;-&POKYVERSION;"
- YOCTO_DL_URL : "https://downloads.yoctoproject.org"
- YOCTO_AB_URL : "https://autobuilder.yoctoproject.org"
---
-2.35.1
-
diff --git a/scripts/docs-build-patches/yocto-3.3.5/0001-documentation-prepare-for-3.3.5-release.patch b/scripts/docs-build-patches/yocto-3.3.5/0001-documentation-prepare-for-3.3.5-release.patch
index ec26d67..1bd2d89 100644
--- a/scripts/docs-build-patches/yocto-3.3.5/0001-documentation-prepare-for-3.3.5-release.patch
+++ b/scripts/docs-build-patches/yocto-3.3.5/0001-documentation-prepare-for-3.3.5-release.patch
@@ -25,56 +25,3 @@ index e42e7b18a..fc064bf32 100644
bitbake_version = "1.50"

# String used in sidebar
-diff --git a/documentation/poky.yaml b/documentation/poky.yaml
-index 30eb45379..32849bc70 100644
---- a/documentation/poky.yaml
-+++ b/documentation/poky.yaml
-@@ -1,12 +1,12 @@
--DISTRO : "3.3.4"
-+DISTRO : "3.3.5"
- DISTRO_NAME_NO_CAP : "hardknott"
- DISTRO_NAME : "Hardknott"
- DISTRO_NAME_NO_CAP_MINUS_ONE : "gatesgarth"
- DISTRO_NAME_NO_CAP_LTS : "gatesgarth"
--YOCTO_DOC_VERSION : "3.3.4"
-+YOCTO_DOC_VERSION : "3.3.5"
- YOCTO_DOC_VERSION_MINUS_ONE : "3.2.4"
--DISTRO_REL_TAG : "yocto-3.3.4"
--POKYVERSION : "25.0.4"
-+DISTRO_REL_TAG : "yocto-3.3.5"
-+POKYVERSION : "25.0.5"
- YOCTO_POKY : "poky-&DISTRO_NAME_NO_CAP;-&POKYVERSION;"
- YOCTO_DL_URL : "https://downloads.yoctoproject.org"
- YOCTO_AB_URL : "https://autobuilder.yoctoproject.org"
-diff --git a/documentation/releases.rst b/documentation/releases.rst
-index acee21d6b..1fb6054bc 100644
---- a/documentation/releases.rst
-+++ b/documentation/releases.rst
-@@ -10,6 +10,7 @@
-
- - :yocto_docs:`3.4 Documentation </3.4>`
- - :yocto_docs:`3.4.1 Documentation </3.4.1>`
-+- :yocto_docs:`3.4.1 Documentation </3.4.2>`
-
- *******************************
- 3.3 'hardknott' Release Series
-@@ -20,6 +21,7 @@
- - :yocto_docs:`3.3.2 Documentation </3.3.2>`
- - :yocto_docs:`3.3.3 Documentation </3.3.3>`
- - :yocto_docs:`3.3.4 Documentation </3.3.4>`
-+- :yocto_docs:`3.3.5 Documentation </3.3.5>`
-
- ****************************
- 3.1 'dunfell' Release Series
-@@ -38,6 +40,8 @@
- - :yocto_docs:`3.1.10 Documentation </3.1.10>`
- - :yocto_docs:`3.1.11 Documentation </3.1.11>`
- - :yocto_docs:`3.1.12 Documentation </3.1.12>`
-+- :yocto_docs:`3.1.13 Documentation </3.1.13>`
-+- :yocto_docs:`3.1.14 Documentation </3.1.14>`
-
- ==========================
- Previous Release Manuals
---
-2.35.1
-
diff --git a/scripts/docs-build-patches/yocto-3.3/0001-conf-update-for-release.patch b/scripts/docs-build-patches/yocto-3.3/0001-conf-update-for-release.patch
index 79b4cde..0b632f9 100644
--- a/scripts/docs-build-patches/yocto-3.3/0001-conf-update-for-release.patch
+++ b/scripts/docs-build-patches/yocto-3.3/0001-conf-update-for-release.patch
@@ -29,20 +29,3 @@ index 5a2e25f7b..ab1b2b14c 100644

# String used in sidebar
version = 'Version: ' + current_version
-diff --git a/documentation/sphinx-static/switchers.js b/documentation/sphinx-static/switchers.js
-index 7a4edc9e7..96efab2e8 100644
---- a/documentation/sphinx-static/switchers.js
-+++ b/documentation/sphinx-static/switchers.js
-@@ -2,7 +2,8 @@
- 'use strict';
-
- var all_versions = {
-- 'dev': 'dev (3.3)',
-+ 'dev': 'dev (3.4)',
-+ '3.3': '3.3',
- '3.2.3': '3.2.3',
- '3.1.6': '3.1.6',
- '3.0.4': '3.0.4',
---
-2.31.1
-
diff --git a/scripts/docs-build-patches/yocto-3.4.1/0002-honister-updates-for-recent-releases.patch b/scripts/docs-build-patches/yocto-3.4.1/0002-honister-updates-for-recent-releases.patch
index 4e72db1..dc22558 100644
--- a/scripts/docs-build-patches/yocto-3.4.1/0002-honister-updates-for-recent-releases.patch
+++ b/scripts/docs-build-patches/yocto-3.4.1/0002-honister-updates-for-recent-releases.patch
@@ -24,70 +24,3 @@ index eff758a7b..ef369b7f1 100644
bitbake_version = "1.52"

# String used in sidebar
-diff --git a/documentation/poky.yaml b/documentation/poky.yaml
-index 392e3bd63..11e209e30 100644
---- a/documentation/poky.yaml
-+++ b/documentation/poky.yaml
-@@ -1,12 +1,12 @@
--DISTRO : "3.4"
-+DISTRO : "3.4.1"
- DISTRO_NAME_NO_CAP : "honister"
- DISTRO_NAME : "Honister"
- DISTRO_NAME_NO_CAP_MINUS_ONE : "hardknott"
- DISTRO_NAME_NO_CAP_LTS : "dunfell"
--YOCTO_DOC_VERSION : "3.4"
-+YOCTO_DOC_VERSION : "3.4.1"
- YOCTO_DOC_VERSION_MINUS_ONE : "3.3.4"
--DISTRO_REL_TAG : "yocto-3.4"
--POKYVERSION : "26.0.0"
-+DISTRO_REL_TAG : "yocto-3.4.1"
-+POKYVERSION : "26.0.1"
- YOCTO_POKY : "poky-&DISTRO_NAME_NO_CAP;-&POKYVERSION;"
- YOCTO_DL_URL : "https://downloads.yoctoproject.org"
- YOCTO_AB_URL : "https://autobuilder.yoctoproject.org"
-diff --git a/documentation/releases.rst b/documentation/releases.rst
-index a6c9a47b8..16ecbf712 100644
---- a/documentation/releases.rst
-+++ b/documentation/releases.rst
-@@ -4,6 +4,13 @@
- Supported Release Manuals
- ===========================
-
-+*****************************
-+Release Series 3.4 (honister)
-+*****************************
-+
-+- :yocto_docs:`3.4 Documentation </3.4>`
-+- :yocto_docs:`3.4.1 Documentation </3.4.1>`
-+
- ******************************
- Release Series 3.3 (hardknott)
- ******************************
-@@ -30,6 +37,7 @@ Release Series 3.1 (dunfell)
- - :yocto_docs:`3.1.9 Documentation </3.1.9>`
- - :yocto_docs:`3.1.10 Documentation </3.1.10>`
- - :yocto_docs:`3.1.11 Documentation </3.1.11>`
-+- :yocto_docs:`3.1.12 Documentation </3.1.12>`
-
- ==========================
- Outdated Release Manuals
-diff --git a/documentation/sphinx-static/switchers.js b/documentation/sphinx-static/switchers.js
-index b15f5b3c1..056a8926b 100644
---- a/documentation/sphinx-static/switchers.js
-+++ b/documentation/sphinx-static/switchers.js
-@@ -3,10 +3,10 @@
-
- var all_versions = {
- 'dev': 'dev (3.5)',
-- '3.4': '3.4',
-+ '3.4.1': '3.4.1',
- '3.3.4': '3.3.4',
- '3.2.4': '3.2.4',
-- '3.1.11': '3.1.11',
-+ '3.1.12': '3.1.12',
- '3.0.4': '3.0.4',
- '2.7.4': '2.7.4',
- };
---
-2.35.1
-
diff --git a/scripts/docs-build-patches/yocto-3.4.2/0001-releases-update-to-include-3.4.2.patch b/scripts/docs-build-patches/yocto-3.4.2/0001-releases-update-to-include-3.4.2.patch
deleted file mode 100644
index 115e1e7..0000000
--- a/scripts/docs-build-patches/yocto-3.4.2/0001-releases-update-to-include-3.4.2.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 3a72177f8ce5a52bece7d6d2f11514c47256a6f9 Mon Sep 17 00:00:00 2001
-From: Michael Halstead <mhalstead@...>
-Date: Sun, 20 Feb 2022 19:33:01 -0800
-Subject: [PATCH 1/2] releases: update to include 3.4.2
-
-Adding 3.4.2 to documentation switcher and release list.
-
-Signed-off-by: Michael Halstead <mhalstead@...>
----
- documentation/poky.yaml | 8 ++++----
- documentation/releases.rst | 1 +
- documentation/sphinx-static/switchers.js | 2 +-
- 3 files changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/documentation/poky.yaml b/documentation/poky.yaml
-index 11e209e30..058f76e50 100644
---- a/documentation/poky.yaml
-+++ b/documentation/poky.yaml
-@@ -1,12 +1,12 @@
--DISTRO : "3.4.1"
-+DISTRO : "3.4.2"
- DISTRO_NAME_NO_CAP : "honister"
- DISTRO_NAME : "Honister"
- DISTRO_NAME_NO_CAP_MINUS_ONE : "hardknott"
- DISTRO_NAME_NO_CAP_LTS : "dunfell"
--YOCTO_DOC_VERSION : "3.4.1"
-+YOCTO_DOC_VERSION : "3.4.2"
- YOCTO_DOC_VERSION_MINUS_ONE : "3.3.4"
--DISTRO_REL_TAG : "yocto-3.4.1"
--POKYVERSION : "26.0.1"
-+DISTRO_REL_TAG : "yocto-3.4.2"
-+POKYVERSION : "26.0.2"
- YOCTO_POKY : "poky-&DISTRO_NAME_NO_CAP;-&POKYVERSION;"
- YOCTO_DL_URL : "https://downloads.yoctoproject.org"
- YOCTO_AB_URL : "https://autobuilder.yoctoproject.org"
-diff --git a/documentation/releases.rst b/documentation/releases.rst
-index 16ecbf712..c4bfa857a 100644
---- a/documentation/releases.rst
-+++ b/documentation/releases.rst
-@@ -10,6 +10,7 @@ Release Series 3.4 (honister)
-
- - :yocto_docs:`3.4 Documentation </3.4>`
- - :yocto_docs:`3.4.1 Documentation </3.4.1>`
-+- :yocto_docs:`3.4.2 Documentation </3.4.2>`
-
- ******************************
- Release Series 3.3 (hardknott)
-diff --git a/documentation/sphinx-static/switchers.js b/documentation/sphinx-static/switchers.js
-index 056a8926b..c40823d8d 100644
---- a/documentation/sphinx-static/switchers.js
-+++ b/documentation/sphinx-static/switchers.js
-@@ -3,7 +3,7 @@
-
- var all_versions = {
- 'dev': 'dev (3.5)',
-- '3.4.1': '3.4.1',
-+ '3.4.2': '3.4.2',
- '3.3.4': '3.3.4',
- '3.2.4': '3.2.4',
- '3.1.12': '3.1.12',
---
-2.35.1
-
diff --git a/scripts/docs-build-patches/yocto-3.4/0001-conf-update-for-release.patch b/scripts/docs-build-patches/yocto-3.4/0001-conf-update-for-release.patch
index a940eb0..2daf4f4 100644
--- a/scripts/docs-build-patches/yocto-3.4/0001-conf-update-for-release.patch
+++ b/scripts/docs-build-patches/yocto-3.4/0001-conf-update-for-release.patch
@@ -35,20 +35,3 @@ index 8e0847938..104b49ea0 100644

# String used in sidebar
version = 'Version: ' + current_version
-diff --git a/documentation/sphinx-static/switchers.js b/documentation/sphinx-static/switchers.js
-index 1e37b625a..6038dbb5a 100644
---- a/documentation/sphinx-static/switchers.js
-+++ b/documentation/sphinx-static/switchers.js
-@@ -2,7 +2,8 @@
- 'use strict';
-
- var all_versions = {
-- 'dev': 'dev (3.4)',
-+ 'dev': 'dev (3.5)',
-+ '3.4': '3.4',
- '3.3.3': '3.3.3',
- '3.2.4': '3.2.4',
- '3.1.11': '3.1.11',
---
-2.31.1
-
diff --git a/scripts/run-docs-build b/scripts/run-docs-build
index ceda213..685fe10 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -69,10 +69,11 @@ rsync -irlp --checksum --ignore-times --delete bitbake docs@...

cd $ypdocs

+# transition must build after master for the switchers.js file
# Again, keeping even the no longer supported releases (see above comment)
first_sphinx_commit=01dd5af7954e24552aca022917669b27bb0541ed
first_dunfell_sphinx_commit=c25fe058b88b893b0d146f3ed27320b47cdec236
-for branch in dunfell transition $(git branch --remote --contains "$first_sphinx_commit" --format '%(refname:lstrip=3)') $(git tag --contains "$first_sphinx_commit" --contains "$first_dunfell_sphinx_commit" 'yocto-*'); do
+for branch in dunfell $(git branch --remote --contains "$first_sphinx_commit" --format '%(refname:lstrip=3)') $(git tag --contains "$first_sphinx_commit" --contains "$first_dunfell_sphinx_commit" 'yocto-*') transition; do
if [ "$branch" = "HEAD" ]; then
continue
fi
@@ -92,6 +93,20 @@ for branch in dunfell transition $(git branch --remote --contains "$first_sphinx
fi

git checkout master releases.rst
+ if [ -e poky.yaml ]; then
+ git checkout master sphinx-static/switchers.js.in
+ cp poky.yaml poky.yaml.in
+ git checkout master set_versions.py
+ case $branch in
+ yocto-*)
+ ./set_versions.py $(echo "$branch" | sed 's/yocto-//')
+ ;;
+ *)
+ ./set_versions.py
+ ;;
+ esac
+ fi
+
make clean
make publish

@@ -109,6 +124,7 @@ for branch in dunfell transition $(git branch --remote --contains "$first_sphinx

cp -r ./_build/final/* $outputdir/$branch
git reset --hard
+ git clean -f
done

# get current release (e.g. most recent tag), and add a 'current' link
@@ -116,9 +132,9 @@ tag=$(git tag --list 'yocto-*' | sort --version-sort | tail -1 | cut -c7-)
echo Linking to $tag as current
ln -s $tag $outputdir/current

-# Update switchers.js with the copy from master ypdocs
-cd $outputdir
-find . -name switchers.js -not -path ./_static/switchers.js -exec cp ./_static/switchers.js {} \;
+# Update bitbake switchers.js with the copy from master ypdocs
+cd $outputdir/bitbake
+find . -name switchers.js -exec cp ./../_static/switchers.js {} \;

cd $outputdir
rsync -irlp --checksum --ignore-times --delete . docs@...:docs/
--
2.32.0


Re: qemu: Enable guest access to the internet

Richard Purdie
 

On Sat, 2022-03-19 at 09:30 +0100, Manuel Wagesreither wrote:
Hi Matthias,

Am Sa, 19. Mär 2022, um 08:43, schrieb Matthias Klein:
Then everything worked through the tap device.
Please note I'd like to use SLIRP instead of TAP as TAP needs root on the host.

But I guess I could just try it for once, just to see if it works...
SLIRP only allows specific ports and will not work for general internet
connectivity. It can be done without root but the downside is it isn't as
powerful. TAP would allow the guest internet access but needs to be setup in
advance (using the gen-tapdevs script) or for there to be sudo access to setup
what is needed.

Cheers,

Richard


Re: qemu: Enable guest access to the internet

Manuel Wagesreither
 

Hi Matthias,

Am Sa, 19. Mär 2022, um 08:43, schrieb Matthias Klein:
Then everything worked through the tap device.
Please note I'd like to use SLIRP instead of TAP as TAP needs root on the host.

But I guess I could just try it for once, just to see if it works...

Regards,
Manuel

941 - 960 of 57416