Here is a one line patch to add thin-manifest support to crossdev. Without it if your portage tree uses thin-manifests(As is the case with funtoos git based portage tree and I believe gentoos once it switches to git) crossdev fails as the local portage tree which crossdev links to the main portage tree does not have thin-manifests enabled by default. Crossdev already manages settings in metadata/layout.conf. This patch causes it to turn on thin-manifests in the local portage tree. Even if the portage tree is not using thin manifests and there are current regular manifests in the local tree it works fine with thin manifests enabled. Reproducible: Always Steps to Reproduce: 1. run "crossdev --target avr" on a system using a git based portage tree with thin-manifests enabled 2. 3. Actual Results: crossdev fails complaining about corrupt manifests Expected Results: A working crossdev toolchain
Created attachment 302109 [details, diff] crossdev-thinManifests.patch
Comment on attachment 302109 [details, diff] crossdev-thinManifests.patch enabling it unconditionally is wrong
should be handled by this ... seems to work for me, but i only lightly tested ;) http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=55e07ef11873c874a3ccc4a9182889bc59f31475
Thanks. I knew it wasnt the most elegant but didnt have time to figure out the best way to do it properly. Now what will it take to get the avr multilib patch submitted? https://bugs.gentoo.org/show_bug.cgi?id=378387