In sys-boot/raspberrypi-firmware ebuilds there are two checks: if [ -e "${D}"/boot/cmdline.txt -a -e /boot/cmdline.txt ] ; then if [ -e "${D}"/boot/config.txt -a -e /boot/config.txt ] ; then These checks affect files /boot/cmdline.txt and /boot/config.txt, but instead ebuild should check ${ROOT}/boot/cmdline.txt and ${ROOT}/boot/config.txt. For example, when I do cross-compiling in prefix /usr/armv6j-hardfloat-linux-gnueabi, it should check /usr/armv6j-hardfloat-linux-gnueabi/boot/{cmdline,config}.txt instead of hosts' /boot/{cmdline,config}.txt. It leads to build failure because there is /boot/cmdline.txt on my host system that is not relevant to this check really. So I suggest changing that two lines in all raspberrypi-firmware ebuilds to the following: if [ -e "${D}"/boot/cmdline.txt -a -e "${ROOT}"/boot/cmdline.txt ] ; then if [ -e "${D}"/boot/config.txt -a -e "${ROOT}"/boot/config.txt ] ; then
In my overlay, in tree soon. + 01 Apr 2015; Michael Weber <xmw@gentoo.org> + raspberrypi-firmware-1_pre20150327.ebuild: + Fix bug 520686 by Maxim Mikityanskiy. +