1 |
On Tuesday 21 April 2009 18:39:38 Greg KH wrote: |
2 |
> Ok, I know I'm doing something stupid here, but I can't figure it out. |
3 |
> |
4 |
> I have a new ebuild (linux-firmware) that is really just a tarball that |
5 |
> needs to be placed somewhere in the filesystem. |
6 |
> |
7 |
> So, I do the following: |
8 |
> src_install() { |
9 |
> dodir /lib/firmware |
10 |
> cp -R "${S}/*" "${D}lib/firmware/" || die "Install failed!" |
11 |
> } |
12 |
> |
13 |
What I would do is the following |
14 |
src_install() { |
15 |
insinto /lib/firmware/ |
16 |
doins -r "${S}"/* || die "doins failed" |
17 |
} |
18 |
> but that fails badly: |
19 |
> >>> Install linux-firmware-20090421 into |
20 |
> >>> /var/tmp/portage/sys-kernel/linux-firmware-20090421/image/ category |
21 |
> >>> sys-kernel |
22 |
> |
23 |
> cp: cannot stat |
24 |
> `/var/tmp/portage/sys-kernel/linux-firmware-20090421/work/linux-firmware-20 |
25 |
>090421/*': No such file or directory |
26 |
> |
27 |
> Yet the files are really in that directory. |
28 |
> |
29 |
> I can't drop the trailing "*" on the cp command, otherwise we get the |
30 |
> directory name that the firmware was expanded into during unpack into |
31 |
> lib/firmware/. |
32 |
> |
33 |
> So, anyone want to apply the cluestick? |
34 |
> |
35 |
> thanks, |
36 |
> |
37 |
> greg k-h |
38 |
|
39 |
-- |
40 |
Markos Chandras (hwoarang) |
41 |
Gentoo Linux Developer |
42 |
Qt/KDE/Sunrise/Sound |
43 |
Web: http://hwoarang.silverarrow.gr |