Re: [gentoo-dev] stupid ebuild question

2009-04-21 Thread Greg KH
On Tue, Apr 21, 2009 at 06:47:40PM +0100, Ciaran McCreesh wrote: > On Tue, 21 Apr 2009 10:39:38 -0700 > Greg KH wrote: > > cp -R "${S}/*" "${D}lib/firmware/" || die "Install > > failed!" } > > That should be "${S}"/* . If you quote the *, bash won't glob it. > > > `/var/tmp/portage/s

Re: [gentoo-dev] stupid ebuild question

2009-04-21 Thread Markos Chandras
On Tuesday 21 April 2009 18:51:55 Ciaran McCreesh wrote: > On Tue, 21 Apr 2009 20:48:48 +0100 > > Markos Chandras wrote: > > insinto /lib/firmware/ > > doins -r "${S}"/* || die "doins failed" > > Careful with that. For current EAPIs, doins -r's behaviour is only > defined if it encounters

Re: [gentoo-dev] stupid ebuild question

2009-04-21 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg KH wrote: > Ok, I know I'm doing something stupid here, but I can't figure it out. > > I have a new ebuild (linux-firmware) that is really just a tarball that > needs to be placed somewhere in the filesystem. > > So, I do the following: >

Re: [gentoo-dev] stupid ebuild question

2009-04-21 Thread Ciaran McCreesh
On Tue, 21 Apr 2009 20:48:48 +0100 Markos Chandras wrote: > insinto /lib/firmware/ > doins -r "${S}"/* || die "doins failed" Careful with that. For current EAPIs, doins -r's behaviour is only defined if it encounters regular files or directories. If there're any symlinks under there,

Re: [gentoo-dev] stupid ebuild question

2009-04-21 Thread Markos Chandras
On Tuesday 21 April 2009 18:39:38 Greg KH wrote: > Ok, I know I'm doing something stupid here, but I can't figure it out. > > I have a new ebuild (linux-firmware) that is really just a tarball that > needs to be placed somewhere in the filesystem. > > So, I do the following: > src_install() {

Re: [gentoo-dev] stupid ebuild question

2009-04-21 Thread Ciaran McCreesh
On Tue, 21 Apr 2009 10:39:38 -0700 Greg KH wrote: > cp -R "${S}/*" "${D}lib/firmware/" || die "Install > failed!" } That should be "${S}"/* . If you quote the *, bash won't glob it. > `/var/tmp/portage/sys-kernel/linux-firmware-20090421/work/linux-firmware-20090421/*': > No such fi

Re: [gentoo-dev] stupid ebuild question

2009-04-21 Thread Tobias Klausmann
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/t

[gentoo-dev] stupid ebuild question

2009-04-21 Thread Greg KH
Ok, I know I'm doing something stupid here, but I can't figure it out. I have a new ebuild (linux-firmware) that is really just a tarball that needs to be placed somewhere in the filesystem. So, I do the following: src_install() { dodir /lib/firmware cp -R