xen-troops / meta-xt-prod-devel

GNU General Public License v2.0
4 stars 13 forks source link

visservice: Move visservice host to base-files #344

Closed arminn closed 3 years ago

arminn commented 3 years ago

Move visservice host to base-files to prevent build time race conditions between base-files and netbase.

Signed-off-by: Andrii Chepurnyi andrii_chepurnyi@epam.com

lorc commented 3 years ago

Is this because /etc/hosts/ was moved to base-files package? Otherwise, I can't imagine how it worked before.

arminn commented 3 years ago

@lorc

During REL-V6 build I've got an error:

ERROR: Unable to install packages. Command '/mnt/storage/AC/p/base/build/tmp/work/x86_64-xt-linux/domd-image-weston/1.0-r0/repo/build/tmp/work/salvator_x_h3_4x2g_xt-poky-linux/core-image-weston/1.0-r0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /mnt/storage/AC/p/base/build/tmp/work/x86_64-xt-linux/domd-image-weston/1.0-r0/repo/build/tmp/work/salvator_x_h3_4x2g_xt-poky-linux/core-image-weston/1.0-r0/opkg.conf -t /mnt/storage/AC/p/base/build/tmp/work/x86_64-xt-linux/domd-image-weston/1.0-r0/repo/build/tmp/work/salvator_x_h3_4x2g_xt-poky-linux/core-image-weston/1.0-r0/temp/ipktemp/ -o /mnt/storage/AC/p/base/build/tmp/work/x86_64-xt-linux/domd-image-weston/1.0-r0/repo/build/tmp/work/salvator_x_h3_4x2g_xt-poky-linux/core-image-weston/1.0-r0/rootfs  --force_postinstall --prefer-arch-to-version   install alsa-utils aos-vis bash coreutils displaymanager glmark2 i2c-tools kernel-modules kmscube nftables opkg optee-os packagegroup-base-extended packagegroup-core-boot packagegroup-core-ssh-dropbear packagegroup-graphics-renesas-wayland packagegroup-gstreamer1.0-plugins packagegroup-multimedia-kernel-modules packagegroup-multimedia-libs packagegroup-wayland-community packagegroup-xt-core-guest-addons packagegroup-xt-core-network packagegroup-xt-core-pv packagegroup-xt-core-xen psplash pulseaudio run-postinsts v4l-utils wayland-ivi-extension weston weston-examples weston-init xen-tools' returned 255:
ln -s /lib/systemd/system/pulseaudio.service /mnt/storage/AC/p/base/build/tmp/work/x86_64-xt-linux/domd-image-weston/1.0-r0/repo/build/tmp/work/salvator_x_h3_4x2g_xt-poky-linux/core-image-weston/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/pulseaudio.service
Collected errors:
 * check_data_file_clashes: Package netbase wants to install file /mnt/storage/AC/p/base/build/tmp/work/x86_64-xt-linux/domd-image-weston/1.0-r0/repo/build/tmp/work/salvator_x_h3_4x2g_xt-poky-linux/core-image-weston/1.0-r0/rootfs/etc/hosts
        But that file is already provided by package  * base-files
arminn commented 3 years ago

https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/base-files/base-files_3.0.14.bb

arminn commented 3 years ago

@lorc https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-core/base-files/base-files_3.0.14.bb?h=dunfell-23.0.8&id=53cebfdfcc189a65de82eccdbd18acf4d979e624

lorc commented 3 years ago

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-core/base-files/base-files_3.0.14.bb?h=dunfell-23.0.8&id=53cebfdfcc189a65de82eccdbd18acf4d979e624

I'm okay with that. Could you please mention in the commit message that this change is needed because "poky/meta" moved "/etc/hosts" from netbase to base-files?