From: Peter Hjalmarsson <xake@rymdraket.net>
To: gentoo-genkernel@lists.gentoo.org
Subject: Re: [gentoo-genkernel] Re: patch for bashcompletion-r1
Date: Wed, 16 May 2012 17:28:01 +0200 [thread overview]
Message-ID: <1337182081.30813.1.camel@lillen.dodi> (raw)
In-Reply-To: <4FB3A2FA.3080504@hotmail.com>
When we are at it, is there a reason why genkernel.bash is not
distributed with the genkernel tarball instead for living in FILESDIR?
Regards
Peter
ons 2012-05-16 klockan 08:52 -0400 skrev Richard Farina:
> On 05/16/12 08:50, Richard Farina wrote:
> > This has been driving me nuts for a while
> >
> > Get rid of deprecation warning by using bash-completion-r1 instead of
> > bash-completion. Simple and logical migration.
> HA! Or the patch not in reverse....
>
> ozzie genkernel # diff -Naur genkernel-3.4.32.ebuild genkernel-3.4.30.ebuild
> --- genkernel-3.4.32.ebuild 2012-05-16 08:48:23.444013089 -0400
> +++ genkernel-3.4.30.ebuild 2012-05-14 22:30:47.348296737 -0400
> @@ -1,6 +1,6 @@
> # Copyright 1999-2012 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
> -# $Header:
> /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.32.ebuild,v
> 1.1 2012/05/14 00:20:53 sping Exp $
> +# $Header:
> /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.30.ebuild,v
> 1.2 2012/05/03 22:26:18 sping Exp $
>
> # genkernel-9999 -> latest Git branch "master"
> # genkernel-VERSION -> normal genkernel release
> @@ -38,12 +38,12 @@
> then
> EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/${PN}.git
> http://git.overlays.gentoo.org/gitroot/proj/${PN}.git"
> - inherit git-2 bash-completion eutils
> + inherit git-2 bash-completion-r1 eutils
> S="${WORKDIR}/${PN}"
> SRC_URI="${COMMON_URI}"
> KEYWORDS=""
> else
> - inherit bash-completion eutils
> + inherit bash-completion-r1 eutils
> SRC_URI="mirror://gentoo/${P}.tar.bz2
> ${MY_HOME}/sources/genkernel/${P}.tar.bz2
> ${COMMON_URI}"
> @@ -134,7 +134,7 @@
> "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz \
> "${D}"/var/cache/genkernel/src || die "Copying distfiles..."
>
> - dobashcompletion "${FILESDIR}"/genkernel.bash
> + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
> insinto /etc
> doins "${FILESDIR}"/initramfs.mounts
> }
>
>
> >
> > Thanks,
> > Zero
> >
>
>
next prev parent reply other threads:[~2012-05-16 15:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-16 12:50 [gentoo-genkernel] patch for bashcompletion-r1 Richard Farina
2012-05-16 12:52 ` [gentoo-genkernel] " Richard Farina
2012-05-16 15:28 ` Peter Hjalmarsson [this message]
2012-05-16 18:57 ` Richard Farina
2012-05-16 19:00 ` Sebastian Pipping
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337182081.30813.1.camel@lillen.dodi \
--to=xake@rymdraket.net \
--cc=gentoo-genkernel@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox