Hi! 

On Tue, 21 Apr 2009, Greg KH wrote:
> So, I do the following:
>       src_install() {
>               dodir /lib/firmware
>               cp -R "${S}/*" "${D}lib/firmware/" || die "Install failed!"
>       }
> 
> but that fails badly:
>       >>> Install linux-firmware-20090421 into 
> /var/tmp/portage/sys-kernel/linux-firmware-20090421/image/ category sys-kernel
>       cp: cannot stat 
> `/var/tmp/portage/sys-kernel/linux-firmware-20090421/work/linux-firmware-20090421/*':
>  No such file or directory
> 
> Yet the files are really in that directory.
> 
> I can't drop the trailing "*" on the cp command, otherwise we get the
> directory name that the firmware was expanded into during unpack into
> lib/firmware/.
> 
> So, anyone want to apply the cluestick?

I don't see an error off the top of my head. What about writing
"echo" or "einfo" in front of the cp line so you see what the
expanded commandline is? An ls -l{,d } "${D}lib/firmware/" in the
same spot might be insightful, too.

Regards,
Tobias

-- 
printk(KERN_ERR "i82092aa: Oops, you did something we didn't think of.\n");
        linux-2.6.19/drivers/pcmcia/i82092.c

Reply via email to