Steps: - bitbake and boot build-appliance-image (using 1.4M3.rc1 or rc2 release) Expected results: - VM should have access to the network The VM doesn't have network because connman doesn't manage ethX interfaces anymore. This was tricky to notice at first because a minimal build works in Hob (it has sources pre-fetched). Commit 7048fbdc05c1f2d9acaf1052550dec792c1f18da introduces connman-conf recipe for all qemu machines, which installs a config for connman, blacklisting all eth* interfaces. Blacklisting eth interfaces affects build appliance image too (because it's built as qemux86-64 machine usually). Ugly fix (tested): diff --git a/meta/recipes-core/images/build-appliance-image.bb b/meta/recipes-core/images/build-appliance-image.bb index 2359eca..b8255ac 100644 --- a/meta/recipes-core/images/build-appliance-image.bb +++ b/meta/recipes-core/images/build-appliance-image.bb @@ -64,6 +64,8 @@ fakeroot do_populate_poky_src () { # Use Clearlooks GTK+ theme mkdir -p ${IMAGE_ROOTFS}/etc/gtk-2.0 echo 'gtk-theme-name = "Clearlooks"' > ${IMAGE_ROOTFS}/etc/gtk-2.0/gtkrc + + rm -f ${IMAGE_ROOTFS}/etc/connman/main.conf } IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; "
In connman 1.12, Ethernet provisioning is introduced. Connman no longer is set up to ignore Ethernet interfaces for Build Appliance.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6159ad1063f4be518d8f0a1c024f12fc16d13592
Marked as Verified (1.4M5.rc1)