* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/drbd: ChangeLog drbd-8.0.6.ebuild
[not found] <E1IYHVK-0003x5-Uy@stork.gentoo.org>
@ 2007-09-20 17:17 ` Donnie Berkholz
2007-09-21 0:47 ` Mike Frysinger
2007-09-23 9:23 ` Daniel Drake
0 siblings, 2 replies; 3+ messages in thread
From: Donnie Berkholz @ 2007-09-20 17:17 UTC (permalink / raw
To: gentoo-dev; +Cc: xmerlin
On 08:35 Thu 20 Sep , Christian Zoffoli (xmerlin) wrote:
> xmerlin 07/09/20 08:35:22
>
> Modified: ChangeLog
> Added: drbd-8.0.6.ebuild
> Log:
> Version Bump.
> (Portage version: 2.1.2.2)
> 1.1 sys-cluster/drbd/drbd-8.0.6.ebuild
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/drbd/drbd-8.0.6.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/drbd/drbd-8.0.6.ebuild?rev=1.1&content-type=text/plain
> pkg_setup() {
> linux-mod_pkg_setup
> }
You're just doing the default here.
> cd ${S}
> cp -R /usr/src/linux-${KV} ${WORKDIR}
> emake -j1 KDIR=/${WORKDIR}/linux-${KV} O=${KBUILD_OUTPUT} || die "compile problem"
> src_install() {
> emake PREFIX=${D} install || die "install problem"
> rm -f ${D}/etc/drbd.conf
Might want to quote S, WORKDIR and D, to allow for spaces.
Thanks,
Donnie
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/drbd: ChangeLog drbd-8.0.6.ebuild
2007-09-20 17:17 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/drbd: ChangeLog drbd-8.0.6.ebuild Donnie Berkholz
@ 2007-09-21 0:47 ` Mike Frysinger
2007-09-23 9:23 ` Daniel Drake
1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2007-09-21 0:47 UTC (permalink / raw
To: gentoo-dev; +Cc: Donnie Berkholz, xmerlin
[-- Attachment #1: Type: text/plain, Size: 366 bytes --]
On Thursday 20 September 2007, Donnie Berkholz wrote:
> On 08:35 Thu 20 Sep , Christian Zoffoli (xmerlin) wrote:
> > 1.1 sys-cluster/drbd/drbd-8.0.6.ebuild
> >
> > cp -R /usr/src/linux-${KV} ${WORKDIR}
that cant be right
> > emake -j1 KDIR=/${WORKDIR}/linux-${KV} O=${KBUILD_OUTPUT} || die
prefixing $WORKDIR with a / is just silly
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/drbd: ChangeLog drbd-8.0.6.ebuild
2007-09-20 17:17 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/drbd: ChangeLog drbd-8.0.6.ebuild Donnie Berkholz
2007-09-21 0:47 ` Mike Frysinger
@ 2007-09-23 9:23 ` Daniel Drake
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Drake @ 2007-09-23 9:23 UTC (permalink / raw
To: gentoo-dev; +Cc: xmerlin
Donnie Berkholz wrote:
>> cd ${S}
>
>> cp -R /usr/src/linux-${KV} ${WORKDIR}
>> emake -j1 KDIR=/${WORKDIR}/linux-${KV} O=${KBUILD_OUTPUT} || die "compile problem"
This is not the way that linux-mod is intended to be used. You should be
setting MODULE_NAMES, BUILD_PARAMS, BUILD_TARGETS, etc. Then
linux_mod_src_compile and src_install will handle compilation and
installation of the module.
Look at coda-kernel for a simple example.
Daniel
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-23 9:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1IYHVK-0003x5-Uy@stork.gentoo.org>
2007-09-20 17:17 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/drbd: ChangeLog drbd-8.0.6.ebuild Donnie Berkholz
2007-09-21 0:47 ` Mike Frysinger
2007-09-23 9:23 ` Daniel Drake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox