Update calckernel for bugfix load net modules from initramfs.

atratsevskiy
Mike Hiretsky 13 years ago
parent fa0f39bfcc
commit 825d0185aa

@ -2,6 +2,12 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*calckernel-3.4.15-r16 (23 Aug 2011)
23 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>
+calckernel-3.4.15-r16.ebuild, +files/calckernel-3.4.15-r16.patch:
Update for bugfix
*calckernel-3.4.15-r15 (18 Aug 2011)
18 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>

@ -4,6 +4,7 @@ AUX calckernel-3.4.15-r12.patch 61208 RMD160 57dde29521c25511b198a6afdc3dfb1193d
AUX calckernel-3.4.15-r13.patch 62505 RMD160 b7171a57a6afd6718c0a4253ddf0aa68f07741f7 SHA1 87a95b153ff23648858b9c3bf7b07f79c1f9f463 SHA256 686f85aa2f4bcc455bb4861367b3323b9a8b651079ed567b96d62b9d2ea5c4c3
AUX calckernel-3.4.15-r14.patch 62531 RMD160 ee031e2fb5f8475e664e4ea0136d751d7fb1c483 SHA1 a42c518d6383a559b73247b25001a665cf22626b SHA256 f3f03c7e53a718b5cf236602aef7068650f675054ff15602de72143c85845365
AUX calckernel-3.4.15-r15.patch 62923 RMD160 d5e7b8a6372b2945003ca3db94ff534c36faac6d SHA1 3bfd50c369b38b70b1645bb60fdd7982271e5f39 SHA256 9cd32649cc89bbb8d37db511082697d06e0534f8b975964bda2f3b73347ee482
AUX calckernel-3.4.15-r16.patch 63571 RMD160 8f0091e8301391206eb903f16871a844e27abaa3 SHA1 ab7aef6020bf97111a2a76ca6ebf40e85df60fdc SHA256 f0bda231c051dcdaa43e58849a385dda62a9da76fb45b312555d2a9af20db2d4
AUX genkernel.bash 2438 RMD160 b3d8e4436d8768c07d18c5aaff9c14fc16641729 SHA1 e15a9c6ef506aa6872a6a97d26751246dedded04 SHA256 e7de9771ba79ef878e2c9a21a1c1720f092c6047d3cc7d4a49ff6b90e7e2c248
DIST LVM2.2.02.74.tgz 943084 RMD160 e5cb2a9e304c4075f05aecd03d67aa53eda9e43e SHA1 fc6cd04e4a908906c6f596ad99948140728be99c SHA256 a40c80c5b9a2547b8bd63e9321d7037c8bf041a35f734a5766ad2848d80bb697
DIST busybox-1.18.1.tar.bz2 2129404 RMD160 fb40d19103945eb1cd785a6041e5545f4055b8f6 SHA1 83b86858599870e46236da8d370d335d48cee77e SHA256 33eb25ea7b20c727c3af769256b21408a1ac1f927ff9f89a1f1e3767c18c9967
@ -22,5 +23,6 @@ EBUILD calckernel-3.4.15-r12.ebuild 5551 RMD160 eb79b1ec005bf49c9a058a61b290bd39
EBUILD calckernel-3.4.15-r13.ebuild 5551 RMD160 eb79b1ec005bf49c9a058a61b290bd398ec018b7 SHA1 65dcf8a7522aa4fb71c5fd7244a9552150ded1ee SHA256 b798eaed6a49f44bd6caa61ca2b541c00fa118dab2f7f2d1e9bea6c74ab95bc1
EBUILD calckernel-3.4.15-r14.ebuild 5551 RMD160 eb79b1ec005bf49c9a058a61b290bd398ec018b7 SHA1 65dcf8a7522aa4fb71c5fd7244a9552150ded1ee SHA256 b798eaed6a49f44bd6caa61ca2b541c00fa118dab2f7f2d1e9bea6c74ab95bc1
EBUILD calckernel-3.4.15-r15.ebuild 5551 RMD160 eb79b1ec005bf49c9a058a61b290bd398ec018b7 SHA1 65dcf8a7522aa4fb71c5fd7244a9552150ded1ee SHA256 b798eaed6a49f44bd6caa61ca2b541c00fa118dab2f7f2d1e9bea6c74ab95bc1
MISC ChangeLog 3716 RMD160 826642ea8a0359db1996d3c7e41f76df7520c1d1 SHA1 accea1bbe797fc0ce54d4078c31e1f67b4fc50f4 SHA256 3c496e249a611c594a541603353ff8ad8eb8230487aebe794d0c682f3f98698e
EBUILD calckernel-3.4.15-r16.ebuild 5551 RMD160 eb79b1ec005bf49c9a058a61b290bd398ec018b7 SHA1 65dcf8a7522aa4fb71c5fd7244a9552150ded1ee SHA256 b798eaed6a49f44bd6caa61ca2b541c00fa118dab2f7f2d1e9bea6c74ab95bc1
MISC ChangeLog 3904 RMD160 8d9598e09703bba0ab8440c2f3b486b1921833d3 SHA1 8c160e08aad2acfffea48b6ebe1d934b3e8aae3b SHA256 30b8c2428da082b99ed74eb1980238ad85e04c7ee613c42e531976420b4a8857
MISC metadata.xml 332 RMD160 7baff74f671fb7762513694b3d1694923b851b79 SHA1 72a7b3811a232e0506a65bdeb622f11abae0a04c SHA256 629337dd254d66431dd8752f97f1981de237cf1ca44a0eefc3a7cb8e667d7458

@ -0,0 +1,164 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.13.ebuild,v 1.1 2011/02/10 17:19:16 sping Exp $
# genkernel-9999 -> latest Git master
# genkernel-99999 -> latest Git experimental
# genkernel-VERSION -> normal genkernel release
VERSION_BUSYBOX='1.18.1'
VERSION_DMAP='1.02.22'
VERSION_DMRAID='1.0.0.rc14'
VERSION_MDADM='3.1.4'
VERSION_E2FSPROGS='1.41.14'
VERSION_FUSE='2.7.4'
VERSION_ISCSI='2.0-871'
VERSION_LVM='2.02.74'
VERSION_UNIONFS_FUSE='0.22'
VERSION_GPG='1.4.11'
MY_P=gen${P/#calc}
S=${WORKDIR}/${MY_P}
MY_HOME="http://wolf31o2.org"
RH_HOME="ftp://sources.redhat.com/pub"
DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src"
BB_HOME="http://www.busybox.net/downloads"
COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
${DM_HOME}/old/dmraid-${VERSION_DMRAID}.tar.bz2
mirror://kernel/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.bz2
${RH_HOME}/lvm2/LVM2.${VERSION_LVM}.tgz
${RH_HOME}/lvm2/old/LVM2.${VERSION_LVM}.tgz
${RH_HOME}/dm/device-mapper.${VERSION_DMAP}.tgz
${RH_HOME}/dm/old/device-mapper.${VERSION_DMAP}.tgz
${BB_HOME}/busybox-${VERSION_BUSYBOX}.tar.bz2
http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
mirror://sourceforge/e2fsprogs/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz
mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
if [[ ${PV} == 9999* ]]
then
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/genkernel.git"
[[ ${PV} == 99999* ]] && EGIT_BRANCH=experimental
inherit git bash-completion eutils
S="${WORKDIR}/${PN}"
SRC_URI="${COMMON_URI}"
KEYWORDS=""
else
inherit bash-completion eutils
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
${MY_HOME}/sources/genkernel/${MY_P}.tar.bz2
ftp://ftp.calculate.ru/pub/calculate/calckernel/${MY_P}.tar.bz2
${COMMON_URI}"
# Please don't touch individual KEYWORDS. Since this is maintained/tested by
# Release Engineering, it's easier for us to deal with all arches at once.
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
fi
DESCRIPTION="Calculate automatic kernel building scripts"
HOMEPAGE="http://www.calculate-linux.org/main/ru/calckernel"
LICENSE="GPL-2"
SLOT="0"
RESTRICT=""
IUSE="ibm selinux video_cards_radeon"
DEPEND="sys-fs/e2fsprogs
selinux? ( sys-libs/libselinux )
>=sys-apps/calculate-templates-2.2.13-r1
!sys-kernel/genkernel"
RDEPEND="${DEPEND} app-arch/cpio
video_cards_radeon? ( sys-kernel/linux-firmware )"
if [[ ${PV} == 9999* ]]; then
DEPEND="${DEPEND} app-text/asciidoc"
fi
src_unpack() {
if [[ ${PV} == 9999* ]] ; then
git_src_unpack
else
unpack ${MY_P}.tar.bz2
fi
use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
cd ${S}
epatch "${FILESDIR}"/${PF}.patch
}
src_compile() {
if [[ ${PV} == 9999* ]]; then
emake || die
fi
}
src_install() {
# This block updates genkernel.conf
sed \
-e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \
-e "s:VERSION_DMAP:$VERSION_DMAP:" \
-e "s:VERSION_MDADM:$VERSION_MDADM:" \
-e "s:VERSION_DMRAID:$VERSION_DMRAID:" \
-e "s:VERSION_E2FSPROGS:$VERSION_E2FSPROGS:" \
-e "s:VERSION_FUSE:$VERSION_FUSE:" \
-e "s:VERSION_ISCSI:$VERSION_ISCSI:" \
-e "s:VERSION_LVM:$VERSION_LVM:" \
-e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
-e "s:VERSION_GPG:$VERSION_GPG:" \
"${S}"/genkernel.conf > "${T}"/genkernel.conf \
|| die "Could not adjust versions"
insinto /etc
doins "${T}"/genkernel.conf || die "doins genkernel.conf"
doman genkernel.8 || die "doman"
dodoc AUTHORS ChangeLog README TODO || die "dodoc"
dobin genkernel || die "dobin genkernel"
rm -f genkernel genkernel.8 AUTHORS ChangeLog README TODO genkernel.conf
insinto /usr/share/genkernel
doins -r "${S}"/* || die "doins"
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
elog "Copying files to /var/cache/genkernel/src..."
mkdir -p "${D}"/var/cache/genkernel/src
cp -f \
"${DISTDIR}"/mdadm-${VERSION_MDADM}.tar.bz2 \
"${DISTDIR}"/dmraid-${VERSION_DMRAID}.tar.bz2 \
"${DISTDIR}"/LVM2.${VERSION_LVM}.tgz \
"${DISTDIR}"/device-mapper.${VERSION_DMAP}.tgz \
"${DISTDIR}"/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz \
"${DISTDIR}"/busybox-${VERSION_BUSYBOX}.tar.bz2 \
"${DISTDIR}"/fuse-${VERSION_FUSE}.tar.gz \
"${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 \
"${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 \
"${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz \
"${D}"/var/cache/genkernel/src || die "Copying distfiles..."
dobashcompletion "${FILESDIR}"/genkernel.bash
}
pkg_postinst() {
echo
elog 'Documentation is available in the genkernel manual page'
elog 'as well as the following URL:'
echo
elog 'http://www.gentoo.org/doc/en/genkernel.xml'
echo
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."
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
bash-completion_pkg_postinst
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save