mbox series

[patchtest,0/7] patchtest: update to work with latest Yocto changes

Message ID 20230428133233.1155096-1-tgamblin@baylibre.com
Headers show
Series patchtest: update to work with latest Yocto changes | expand

Message

Trevor Gamblin April 28, 2023, 1:32 p.m. UTC
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