From: "Richard Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/genkernel/
Date: Thu, 20 Aug 2015 02:45:05 +0000 (UTC) [thread overview]
Message-ID: <1440038661.fe18e46695d8fe442a8075cf165eeb7b8e1434a2.zerochaos@gentoo> (raw)
commit: fe18e46695d8fe442a8075cf165eeb7b8e1434a2
Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 20 02:37:19 2015 +0000
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Thu Aug 20 02:44:21 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe18e466
sys-kernel/genkernel: minor ebuid cleanup wrt eapi5 and matching latest tagged ebuild to live ebuild
Package-Manager: portage-2.2.20.1
sys-kernel/genkernel/genkernel-3.4.52.2.ebuild | 70 +++++++++++---------------
sys-kernel/genkernel/genkernel-9999.ebuild | 4 +-
2 files changed, 32 insertions(+), 42 deletions(-)
diff --git a/sys-kernel/genkernel/genkernel-3.4.52.2.ebuild b/sys-kernel/genkernel/genkernel-3.4.52.2.ebuild
index 35cc851..a0bd94d 100644
--- a/sys-kernel/genkernel/genkernel-3.4.52.2.ebuild
+++ b/sys-kernel/genkernel/genkernel-3.4.52.2.ebuild
@@ -5,7 +5,7 @@
# genkernel-9999 -> latest Git branch "master"
# genkernel-VERSION -> normal genkernel release
-EAPI="5"
+EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
VERSION_BUSYBOX='1.20.2'
VERSION_DMRAID='1.0.0.rc16-3'
@@ -52,26 +52,36 @@ HOMEPAGE="http://www.gentoo.org"
LICENSE="GPL-2"
SLOT="0"
RESTRICT=""
-IUSE="crypt cryptsetup ibm selinux" # Keep 'crypt' in to keep 'use crypt' below working!
+IUSE="cryptsetup ibm selinux"
DEPEND="sys-fs/e2fsprogs
selinux? ( sys-libs/libselinux )"
RDEPEND="${DEPEND}
- cryptsetup? ( sys-fs/cryptsetup )
- app-arch/cpio
- >=app-misc/pax-utils-0.2.1
- !<sys-apps/openrc-0.9.9"
+ cryptsetup? ( sys-fs/cryptsetup )
+ app-arch/cpio
+ >=app-misc/pax-utils-0.2.1
+ !<sys-apps/openrc-0.9.9"
# pax-utils is used for lddtree
if [[ ${PV} == 9999* ]]; then
DEPEND="${DEPEND} app-text/asciidoc"
fi
+pkg_pretend() {
+ if ! use cryptsetup && has_version "sys-kernel/genkernel[crypt]"; then
+ ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
+ ewarn "Please set flag 'cryptsetup' for this very package if you would like"
+ ewarn "to have genkernel create an initramfs with LUKS support."
+ ewarn "Sorry for the inconvenience."
+ echo
+ fi
+}
+
src_unpack() {
if [[ ${PV} == 9999* ]] ; then
git-2_src_unpack
else
- default
+ unpack ${P}.tar.bz2
fi
}
@@ -82,7 +92,9 @@ src_prepare() {
git log > "${S}"/ChangeLog || die
popd >/dev/null || die
fi
- use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
+ if use selinux ; then
+ sed -i 's/###//g' "${S}"/gen_compile.sh || die
+ fi
# Update software.sh
sed -i \
@@ -97,12 +109,6 @@ src_prepare() {
"${S}"/defaults/software.sh \
|| die "Could not adjust versions"
- # sparc doesn't need crosscompiler anymore
- # remove this after >3.4.51.2
- sed -i -e "s:^DEFAULT_KERNEL_CC:#DEFAULT_KERNEL_CC:g" \
- "${S}"/arch/sparc64/config.sh \
- || die "Could not remove sparc64 crosscompiler config"
-
epatch_user
}
@@ -118,32 +124,24 @@ src_install() {
doman genkernel.8
dodoc AUTHORS ChangeLog README TODO
-
dobin genkernel
-
rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
+ if use ibm ; then
+ cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
+ else
+ cp "${S}"/arch/ppc64/kernel-2.6{.g5,} || die
+ fi
insinto /usr/share/genkernel
doins -r "${S}"/*
- use ibm && cp "${S}"/ppc64/kernel-2.6-pSeries "${S}"/ppc64/kernel-2.6 || \
- cp "${S}"/arch/ppc64/kernel-2.6.g5 "${S}"/arch/ppc64/kernel-2.6
-
- # Copy files to /var/cache/genkernel/src
- GKDISTDIR=/usr/share/genkernel/distfiles/
- elog "Copying files to ${GKDISTDIR}..."
- insinto $GKDISTDIR
- doins "${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2
- doins "${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2
- doins "${DISTDIR}"/LVM2.${VERSION_LVM}.tgz
- doins "${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2
- doins "${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz
- doins "${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
- doins "${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2
- doins "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz
newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
insinto /etc
doins "${FILESDIR}"/initramfs.mounts
+
+ cd "${DISTDIR}"
+ insinto /usr/share/genkernel/distfiles
+ doins ${A/${P}.tar.bz2/}
}
pkg_postinst() {
@@ -156,17 +154,9 @@ pkg_postinst() {
ewarn "This package is known to not work with reiser4. If you are running"
ewarn "reiser4 and have a problem, do not file a bug. We know it does not"
ewarn "work and we don't plan on fixing it since reiser4 is the one that is"
- ewarn "broken in this regard. Try using a sane filesystem like ext3 or"
- ewarn "even reiser3."
+ ewarn "broken in this regard. Try using a sane filesystem like ext4."
echo
ewarn "The LUKS support has changed from versions prior to 3.4.4. Now,"
ewarn "you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah."
echo
- if use crypt && ! use cryptsetup ; then
- ewarn "Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523)."
- ewarn "Please set flag 'cryptsetup' for this very package if you would like"
- ewarn "to have genkernel create an initramfs with LUKS support."
- ewarn "Sorry for the inconvenience."
- echo
- fi
}
diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild
index a473b5a..0280e2a 100644
--- a/sys-kernel/genkernel/genkernel-9999.ebuild
+++ b/sys-kernel/genkernel/genkernel-9999.ebuild
@@ -113,7 +113,7 @@ src_prepare() {
}
src_compile() {
- if [[ ${PV} == 9999* ]] ; then
+ if [[ ${PV} == 9999* ]]; then
emake
fi
}
@@ -125,7 +125,7 @@ src_install() {
doman genkernel.8
dodoc AUTHORS ChangeLog README TODO
dobin genkernel
- rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf || die
+ rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
if use ibm ; then
cp "${S}"/arch/ppc64/kernel-2.6{-pSeries,} || die
next reply other threads:[~2015-08-20 2:45 UTC|newest]
Thread overview: 283+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-20 2:45 Richard Farina [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-11 18:42 [gentoo-commits] repo/gentoo:master commit in: sys-kernel/genkernel/ Ben Kohler
2024-05-23 19:19 Ben Kohler
2024-05-01 18:43 Ben Kohler
2024-04-30 17:20 Ben Kohler
2024-04-30 17:20 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-30 14:31 Ben Kohler
2024-04-26 17:27 Ben Kohler
2024-04-22 20:16 Mike Gilbert
2024-04-22 16:02 Ben Kohler
2024-02-24 22:33 Robin H. Johnson
2024-02-24 22:33 Robin H. Johnson
2024-02-24 22:33 Robin H. Johnson
2024-02-24 22:33 Robin H. Johnson
2024-02-24 22:06 Robin H. Johnson
2024-02-24 22:06 Robin H. Johnson
2024-01-21 20:37 Sam James
2024-01-21 20:37 Sam James
2024-01-21 20:37 Sam James
2024-01-21 20:37 Sam James
2024-01-21 20:37 Sam James
2024-01-21 20:11 Sam James
2024-01-21 19:53 Sam James
2024-01-21 19:53 Sam James
2024-01-19 20:16 Ben Kohler
2024-01-08 12:28 Sam James
2024-01-08 12:03 Sam James
2024-01-08 9:48 Sam James
2023-12-02 14:52 Arthur Zamarin
2023-10-28 2:02 Sam James
2023-10-21 13:54 Sam James
2023-09-02 17:46 Sam James
2023-09-02 17:46 Sam James
2023-09-02 17:46 Sam James
2023-09-02 17:46 Sam James
2023-09-02 17:46 Sam James
2023-09-02 17:46 Sam James
2023-09-02 17:46 Sam James
2023-07-28 15:43 Sam James
2023-07-27 10:50 Sam James
2023-07-27 10:45 Sam James
2023-07-23 22:11 Sam James
2023-07-19 15:07 Sam James
2023-07-19 9:33 Sam James
2023-07-18 22:33 Sam James
2023-07-18 22:33 Sam James
2023-07-18 22:33 Sam James
2023-07-18 22:33 Sam James
2023-07-18 22:33 Sam James
2023-07-05 18:27 Sam James
2023-05-29 2:50 Matt Turner
2023-03-04 7:23 Arthur Zamarin
2023-03-04 6:33 Arthur Zamarin
2023-03-03 18:47 Arthur Zamarin
2023-03-03 18:47 Arthur Zamarin
2023-03-03 17:20 Arthur Zamarin
2023-03-03 5:57 Arthur Zamarin
2023-03-03 5:57 Arthur Zamarin
2023-01-08 19:05 Matt Turner
2023-01-03 6:14 Sam James
2022-12-07 16:44 Ben Kohler
2022-12-07 16:44 Ben Kohler
2022-11-21 18:23 Arthur Zamarin
2022-11-20 0:27 Sam James
2022-11-20 0:27 Sam James
2022-11-20 0:27 Sam James
2022-11-20 0:27 Sam James
2022-11-20 0:27 Sam James
2022-11-20 0:27 Sam James
2022-11-20 0:27 Sam James
2022-11-20 0:13 Sam James
2022-11-15 10:07 Sam James
2022-07-31 5:31 Joonas Niilola
2022-07-31 5:31 Joonas Niilola
2022-07-29 18:27 Arthur Zamarin
2022-07-26 15:20 Agostino Sarubbo
2022-07-26 15:19 Agostino Sarubbo
2022-07-26 15:18 Agostino Sarubbo
2022-07-26 15:17 Agostino Sarubbo
2022-07-26 7:05 Sam James
2022-07-26 7:04 Sam James
2022-07-26 7:04 Sam James
2022-07-04 3:57 Robin H. Johnson
2022-05-25 4:29 Robin H. Johnson
2022-05-24 10:51 Ulrich Müller
2022-05-24 10:16 Ulrich Müller
2022-04-19 23:17 Robin H. Johnson
2021-12-10 0:18 Thomas Deutschmann
2021-12-01 17:42 Thomas Deutschmann
2021-11-15 18:36 Thomas Deutschmann
2021-11-15 18:33 Thomas Deutschmann
2021-11-01 1:07 Thomas Deutschmann
2021-11-01 1:07 Thomas Deutschmann
2021-09-25 19:26 Thomas Deutschmann
2021-09-12 2:11 Matt Turner
2021-07-23 23:21 Thomas Deutschmann
2021-07-12 14:35 Thomas Deutschmann
2021-07-12 14:35 Thomas Deutschmann
2021-07-08 22:18 Thomas Deutschmann
2021-07-06 23:07 Thomas Deutschmann
2021-07-06 1:55 Thomas Deutschmann
2021-07-06 0:26 Thomas Deutschmann
2021-03-27 13:11 Thomas Deutschmann
2021-03-21 23:07 Thomas Deutschmann
2021-03-13 15:44 Thomas Deutschmann
2021-03-08 0:39 Thomas Deutschmann
2021-02-18 13:33 Thomas Deutschmann
2021-02-13 15:04 Thomas Deutschmann
2021-02-10 0:27 Thomas Deutschmann
2021-02-08 22:14 Thomas Deutschmann
2020-09-05 12:56 Thomas Deutschmann
2020-08-31 17:47 Thomas Deutschmann
2020-08-28 21:35 Thomas Deutschmann
2020-08-27 1:01 Thomas Deutschmann
2020-08-26 23:00 Thomas Deutschmann
2020-08-24 12:36 Thomas Deutschmann
2020-08-15 22:53 Thomas Deutschmann
2020-08-10 9:49 Thomas Deutschmann
2020-08-10 9:49 Thomas Deutschmann
2020-08-04 9:42 Thomas Deutschmann
2020-07-25 2:07 Thomas Deutschmann
2020-07-23 23:57 Thomas Deutschmann
2020-07-23 21:17 Thomas Deutschmann
2020-07-23 21:17 Thomas Deutschmann
2020-07-20 16:09 Thomas Deutschmann
2020-06-29 12:23 Thomas Deutschmann
2020-06-26 11:26 Thomas Deutschmann
2020-06-26 11:26 Thomas Deutschmann
2020-06-23 18:46 Thomas Deutschmann
2020-06-20 2:19 Thomas Deutschmann
2020-06-19 11:28 Thomas Deutschmann
2020-06-15 21:13 Thomas Deutschmann
2020-06-15 18:22 Thomas Deutschmann
2020-06-15 18:20 Thomas Deutschmann
2020-04-19 14:45 Thomas Deutschmann
2020-04-19 14:45 Thomas Deutschmann
2020-04-11 21:11 Thomas Deutschmann
2020-04-10 12:54 Thomas Deutschmann
2020-04-07 23:25 Thomas Deutschmann
2020-03-25 14:14 Thomas Deutschmann
2020-03-09 14:21 Thomas Deutschmann
2020-03-09 14:21 Thomas Deutschmann
2020-03-05 15:14 Thomas Deutschmann
2020-03-04 0:05 Thomas Deutschmann
2020-02-15 21:27 Thomas Deutschmann
2020-02-08 14:18 David Seifert
2020-01-16 22:02 Thomas Deutschmann
2020-01-16 22:02 Thomas Deutschmann
2020-01-14 23:24 Thomas Deutschmann
2019-12-29 21:17 Sergei Trofimovich
2019-12-22 19:29 Thomas Deutschmann
2019-12-13 22:34 Ulrich Müller
2019-12-06 0:06 Thomas Deutschmann
2019-12-06 0:06 Thomas Deutschmann
2019-11-27 19:39 Thomas Deutschmann
2019-11-26 17:47 Thomas Deutschmann
2019-11-24 21:02 Thomas Deutschmann
2019-11-24 20:08 Thomas Deutschmann
2019-10-14 15:06 Thomas Deutschmann
2019-10-07 22:04 Thomas Deutschmann
2019-10-05 18:56 Michał Górny
2019-10-05 0:55 Thomas Deutschmann
2019-10-02 23:10 Thomas Deutschmann
2019-09-16 21:43 Thomas Deutschmann
2019-09-08 13:17 Thomas Deutschmann
2019-09-06 20:47 Thomas Deutschmann
2019-09-06 20:47 Thomas Deutschmann
2019-09-06 20:47 Thomas Deutschmann
2019-09-06 20:47 Thomas Deutschmann
2019-09-01 21:49 Thomas Deutschmann
2019-08-31 21:08 Thomas Deutschmann
2019-08-30 22:34 Thomas Deutschmann
2019-08-21 19:25 Thomas Deutschmann
2019-08-19 8:50 Thomas Deutschmann
2019-08-16 21:04 Thomas Deutschmann
2019-08-07 16:50 Thomas Deutschmann
2019-07-29 21:11 Thomas Deutschmann
2019-07-23 21:12 Thomas Deutschmann
2019-07-21 20:55 Thomas Deutschmann
2019-07-18 22:28 Thomas Deutschmann
2019-07-18 22:28 Thomas Deutschmann
2019-07-18 2:18 Thomas Deutschmann
2019-07-16 22:30 Thomas Deutschmann
2019-07-16 18:31 Thomas Deutschmann
2019-07-16 12:20 Thomas Deutschmann
2019-07-16 1:08 Thomas Deutschmann
2019-07-16 1:08 Thomas Deutschmann
2019-07-15 18:17 Thomas Deutschmann
2019-07-15 18:17 Thomas Deutschmann
2019-07-15 0:16 Thomas Deutschmann
2019-04-21 2:32 Anthony G. Basile
2019-04-16 12:42 Anthony G. Basile
2019-03-27 9:12 Thomas Deutschmann
2019-03-24 23:25 Thomas Deutschmann
2019-03-24 23:15 Thomas Deutschmann
2019-03-24 23:15 Thomas Deutschmann
2019-03-22 0:34 Thomas Deutschmann
2019-03-22 0:34 Thomas Deutschmann
2019-03-21 23:55 Thomas Deutschmann
2018-09-16 18:13 Mikle Kolyada
2018-08-18 22:31 Sergei Trofimovich
2018-06-30 20:36 Mikle Kolyada
2018-06-26 15:53 Mikle Kolyada
2018-06-19 19:13 Sergei Trofimovich
2018-06-18 18:07 Tobias Klausmann
2018-06-17 23:29 Thomas Deutschmann
2018-06-16 15:01 Mikle Kolyada
2018-06-15 9:35 Sergei Trofimovich
2018-05-08 0:45 Thomas Deutschmann
2018-04-23 20:37 Robin H. Johnson
2018-04-13 19:39 Robin H. Johnson
2018-04-13 18:44 Robin H. Johnson
2018-04-04 18:31 Robin H. Johnson
2017-12-26 17:28 Robin H. Johnson
2017-12-20 19:16 Robin H. Johnson
2017-12-09 18:48 Robin H. Johnson
2017-11-16 23:44 Robin H. Johnson
2017-10-31 19:00 Robin H. Johnson
2017-10-28 8:31 Robin H. Johnson
2017-09-08 16:52 Robin H. Johnson
2017-09-06 23:48 Robin H. Johnson
2017-09-03 6:44 Robin H. Johnson
2017-09-02 14:18 Michael Palimaka
2017-07-14 19:57 Robin H. Johnson
2017-07-14 19:57 Robin H. Johnson
2017-06-23 22:17 Robin H. Johnson
2017-04-10 21:06 Robin H. Johnson
2017-01-02 23:48 Robin H. Johnson
2017-01-02 0:12 Matt Thode
2017-01-01 23:40 Matt Thode
2016-12-26 12:45 Markus Meier
2016-12-21 17:14 Thomas Deutschmann
2016-10-27 16:35 Robin H. Johnson
2016-10-12 16:04 Robin H. Johnson
2016-10-12 14:27 Robin H. Johnson
2016-10-12 14:27 Robin H. Johnson
2016-10-12 13:46 Robin H. Johnson
2016-09-29 4:11 Jeroen Roovers
2016-09-04 10:21 Tobias Klausmann
2016-08-31 22:29 Robin H. Johnson
2016-08-16 21:36 Robin H. Johnson
2016-08-15 7:02 Robin H. Johnson
2016-05-16 7:02 Robin H. Johnson
2016-04-21 16:50 Mike Frysinger
2016-04-20 3:58 Mike Frysinger
2016-04-01 2:01 Mike Frysinger
2016-03-26 19:09 Mike Frysinger
2016-03-21 20:45 Mike Frysinger
2016-02-27 12:00 Jeroen Roovers
2016-02-06 22:56 Robin H. Johnson
2016-02-06 22:28 Robin H. Johnson
2016-01-11 9:07 Agostino Sarubbo
2016-01-06 7:37 Robin H. Johnson
2015-12-29 20:21 Richard Farina
2015-12-28 3:29 Robin H. Johnson
2015-12-27 9:41 Mikle Kolyada
2015-12-07 18:28 Richard Farina
2015-12-07 11:40 Agostino Sarubbo
2015-12-06 11:51 Markus Meier
2015-12-03 13:28 Agostino Sarubbo
2015-11-23 9:25 Agostino Sarubbo
2015-11-19 10:44 Agostino Sarubbo
2015-08-20 2:45 Richard Farina
2015-08-20 2:45 Richard Farina
2015-08-20 2:45 Richard Farina
2015-08-20 2:45 Richard Farina
2015-08-20 2:11 Richard Farina
2015-08-20 2:11 Richard Farina
2015-08-20 2:11 Richard Farina
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=1440038661.fe18e46695d8fe442a8075cf165eeb7b8e1434a2.zerochaos@gentoo \
--to=zerochaos@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