From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/jmbsvicetto:master commit in: sys-kernel/infra-kernel-sources/
Date: Sun, 29 Jun 2014 15:50:14 +0000 (UTC) [thread overview]
Message-ID: <1404056806.c533623ce820740f52170469e126038982d0b3be.jmbsvicetto@gentoo> (raw)
commit: c533623ce820740f52170469e126038982d0b3be
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 29 15:46:46 2014 +0000
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Sun Jun 29 15:46:46 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/jmbsvicetto.git;a=commit;h=c533623c
Add suport for non-rX kernel versions.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
---
.../infra-kernel-sources/infra-kernel-sources-3.15.2.ebuild | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/sys-kernel/infra-kernel-sources/infra-kernel-sources-3.15.2.ebuild b/sys-kernel/infra-kernel-sources/infra-kernel-sources-3.15.2.ebuild
index 093a408..01460d3 100644
--- a/sys-kernel/infra-kernel-sources/infra-kernel-sources-3.15.2.ebuild
+++ b/sys-kernel/infra-kernel-sources/infra-kernel-sources-3.15.2.ebuild
@@ -8,10 +8,16 @@ inherit flag-o-matic
KERNEL_SOURCES="hardened-sources"
KERNEL_NAME="hardened"
KERNEL_PV="$PV"
-KERNEL_REVISION="$PR"
INFRA_SUFFIX="infra27"
-KERNEL_PVR="${KERNEL_PV}-${KERNEL_REVISION}"
+if [[ ${PR} != r0 ]]; then
+ KERNEL_REVISION="$PR"
+ KERNEL_PVR="${KERNEL_PV}-${KERNEL_REVISION}"
+ KERNEL_DIR="linux-${KERNEL_PV}-${KERNEL_NAME}-${KERNEL_REVISION}"
+else
+ KERNEL_PVR="${KERNEL_PV}"
+ KERNEL_DIR="linux-${KERNEL_PV}-${KERNEL_NAME}"
+fi
KERNEL_PF="${KERNEL_SOURCES}-${KERNEL_PVR}"
BUILD_DIR="/home/upload-kernel/"
@@ -37,7 +43,6 @@ pkg_setup() {
use amd64 && KARCH="x86_64"
use x86 && KARCH="x86"
- KERNEL_DIR="linux-${KERNEL_PV}-${KERNEL_NAME}-${KERNEL_REVISION}"
BINPKG_PVR="${PVR}-${INFRA_SUFFIX}"
BINPKG_KERNEL="${PN/-sources/}-kernel-${KARCH}-${BINPKG_PVR}.tbz2"
BINPKG_MODULES="${PN/-sources/}-modules-${KARCH}-${BINPKG_PVR}.tbz2"
next reply other threads:[~2014-06-29 15:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-29 15:50 Jorge Manuel B. S. Vicetto [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-06-29 15:02 [gentoo-commits] dev/jmbsvicetto:master commit in: sys-kernel/infra-kernel-sources/ Jorge Manuel B. S. Vicetto
2014-06-20 19:58 Jorge Manuel B. S. Vicetto
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=1404056806.c533623ce820740f52170469e126038982d0b3be.jmbsvicetto@gentoo \
--to=jmbsvicetto@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@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