Skip to content

patchtest: update to work with latest Yocto changes

Trevor Gamblin yocto 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7python3-pylint: update to use new override syntaxmeta-patchtest/recipes-devtools/python/python3-pylint_1.6.5.bb+1 -10 replies
2/7qemu: update to use new override syntaxmeta-patchtest/recipes-devtools/qemu/qemu_%.bbappend+1 -10 replies
3/7initscripts: update to use new override syntaxmeta-patchtest/recipes-core/initscripts/initscripts_1.0.bbappend+4 -40 replies
4/7initscripts: use mkdir before mv with patchtest initscriptmeta-patchtest/recipes-core/initscripts/initscripts/patchtest+1 -00 replies
5/7linux-yocto: update version, fix override syntaxmeta-patchtest/recipes-kernel/linux/linux-yocto_4.%.bbappend meta-patchtest/recipes-kernel/linux/linux-yocto_6.%.bbappend+2 -20 replies
6/7qemu-system-native: add virtfs to PACKAGECONFIGmeta-patchtest/recipes-devtools/qemu/qemu-system-native_%.bbappend+1 -00 replies
7/7README: Update maintainer listREADME+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patchtest][PATCH 0/7] patchtest: update to work with latest Yocto changes

This is the first series of patches intended to help get patchtest up and running again. Specifically, these make core-image-patchtest build and run again (although one of the initscripts still shuts the image down shortly after boot, so testing it may seem confusing). In the longer-term, patchtest may be moved to oe-core, so right now the focus for this repo is to make sure it's in a working state so that it can be cleaned up and prepared for that change.There are some other additions that will be coming soon, namely updates to the pylint version and some updated documentation.

In order to start core-image-patchtest with runqemu, I had to invoke it like so:

runqemu kvm nographic qemuparams="-snapshot \
-fsdev local,id=test_dev,path=/workspace/yocto/manual/openembedded-core/build/test_share,security_model=mapped \
-device virtio-9p-pci,fsdev=test_dev,mount_tag=test_mount -m 2048"

which is similar to the contents of the patchtest/scripts/guest script (but in this case I created the share directory "test_share" inside my build directory). The PACKAGECONFIG for qemu-system-native wasn't being set to properly support the required virtio-9p-pci device, hence the addition of the .bbappend file for that recipe. I've left the corresponding qemu .bbappend in place for now, but it might be removable after more testing.

Trevor Gamblin (7):
python3-pylint: update to use new override syntax
qemu: update to use new override syntax
initscripts: update to use new override syntax
initscripts: use mkdir before mv with patchtest initscript
linux-yocto: update version, fix override syntax
qemu-system-native: add virtfs to PACKAGECONFIG
README: Update maintainer list

 README                                                    | 1 +
 .../recipes-core/initscripts/initscripts/patchtest        | 1 +
 .../recipes-core/initscripts/initscripts_1.0.bbappend     | 8 ++++----
 .../recipes-devtools/python/python3-pylint_1.6.5.bb       | 2 +-
 .../recipes-devtools/qemu/qemu-system-native_%.bbappend   | 1 +
 meta-patchtest/recipes-devtools/qemu/qemu_%.bbappend      | 2 +-
 .../recipes-kernel/linux/linux-yocto_4.%.bbappend         | 2 --
 .../recipes-kernel/linux/linux-yocto_6.%.bbappend         | 2 ++
 8 files changed, 11 insertions(+), 8 deletions(-)
 create mode 100644 meta-patchtest/recipes-devtools/qemu/qemu-system-native_%.bbappend
 delete mode 100644 meta-patchtest/recipes-kernel/linux/linux-yocto_4.%.bbappend
 create mode 100644 meta-patchtest/recipes-kernel/linux/linux-yocto_6.%.bbappend
Signature · 1 line
2.40.0