I’ve had a request to port meta-mender-community tegra support to warrior. I see there’s no warrior branch yet on meta-mender and I see task MEN-2511 tracking a move to warrior, which mentions issues with grub support. Since I don’t use grub on this platform I’m assuming there’s a chance I can use the master branch?
I’ve noticed a problem attempting to build with a depency loop:
ERROR: 2485 unbuildable tasks were found. These are usually caused by circular dependencies and any circular dependency chains found will be printed below. Increase the debug level to see a list of unbuildable tasks. Identifying dependency loops (this may take a short while)... ERROR: Dependency loop #1 found: Task /home/dan/mender-tegra-warrior/build/../sources/meta-tegra/recipes-bsp/u-boot/u-boot- tegra_2016.07.bb:do_install (dependent Tasks ['pseudo_git.bb:do_populate_sysroot', 'u-boot-tegra_2016.07.bb:do_create_extlinux_config', 'u-boot-tegra_2016.07.bb:do_compile', 'tegra-minimal-initramfs.bb:do_image_complete']) Task /home/dan/mender-tegra-warrior/build/../sources/meta-tegra/recipes-bsp/u-boot/u-boot-tegra_2016.07.bb:do_populate_sysroot (dependent Tasks ['u-boot-tegra_2016.07.bb:do_install', 'binutils-cross_2.32.bb:do_populate_sysroot']) Task /home/dan/mender-tegra-warrior/build/../sources/meta-tegra/recipes-core/images/tegra-minimal-initramfs.bb:do_image_complete (dependent Tasks ['tegra-minimal-initramfs.bb:do_image_cpio', 'tegra-minimal-initramfs.bb:do_image', 'tegra-minimal-initramfs.bb:do_image_ext4', 'tegra-minimal-initramfs.bb:do_image_mender', 'u-boot-tegra_2016.07.bb:do_populate_sysroot']) ERROR: Command execution failed: Exited with 1
Notice the tegra-minimal-initramfs.bb:do_image_mender. I’m assuming this is related.
This looks similar to the issues I had building initially, where the I used do_image_mender[noexec]=“1” to keep the do_image_mender task from being associated with tegra-minimal-initramfs, since I’m assuming this task doesn’t need to run for initramfs.
For some reason I don’t understand do_image_mender[noexec]=“1” is now being ignored. Even if I add directly to tegra-minimal-initramfs.bb I still see do_image_mender listed when I do
bitbake -c listtasks tegra-minimal-initramfs. I’ve tried deltask or adding an empty task too, no difference.
My bitbake mojo is not sufficient for understanding how do_image_mender is getting added and how to prevent it from being added to this task, so I’d appreciate anyone who can help educate me on this.
You should be able to reproduce with
git clone firstname.lastname@example.org:Trellis-Logic/mender-tegra-warrior.git
git submodule init
git submodule update
. setup-environment tegra
bitbake -g tegra-minimal-initramfs
Thanks for any suggestions or pointers.
Edit: @mirzak: Apply syntax highlighting