commit:     526bad1b7ee0983978d8fc3cfee866e770af382d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 18 16:05:26 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 16:05:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=526bad1b

sys-kernel/vanilla-kernel-bin: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-kernel/vanilla-kernel-bin/Manifest             |  10 --
 .../vanilla-kernel-bin-4.19.94-r1.ebuild           |  52 ------
 .../vanilla-kernel-bin-4.19.95.ebuild              |  52 ------
 .../vanilla-kernel-bin-5.4.10-r1.ebuild            |  52 ------
 .../vanilla-kernel-bin-5.4.11.ebuild               |  52 ------
 .../vanilla-kernel-bin-5.4.7.ebuild                | 180 ---------------------
 6 files changed, 398 deletions(-)

diff --git a/sys-kernel/vanilla-kernel-bin/Manifest 
b/sys-kernel/vanilla-kernel-bin/Manifest
index bdfd77b2c92..bfe34351a38 100644
--- a/sys-kernel/vanilla-kernel-bin/Manifest
+++ b/sys-kernel/vanilla-kernel-bin/Manifest
@@ -1,18 +1,8 @@
 DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B 
e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366
 SHA512 
c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641
 DIST tinycorelinux-10.1-x86.qcow2 14876672 BLAKE2B 
3c760eb7438b13261e52ecfaa33a53649ced95f1ab40aae52134b8cdc31a16d7aa0d6a6dd716e268ed148e9d77a10b7c700b141b61d70c82d271ffe88e8e2a3c
 SHA512 
9964538dc42f232a11949f74b61d46422ea5da3bdc253a217119bd0b8a750c40fd2da0b07157067be9ac0226472614f210a1248114df0d331df390979867a895
-DIST vanilla-kernel-4.19.94-1.amd64.xpak 61341217 BLAKE2B 
0d83e6e831b30368ea866eed3470cfef743a07ed32705871e212233914af6081305c36cdc1ffe8b9184c6a15995168beace8d3ac77249f205cc5955d1f1186ab
 SHA512 
351d93eeac30fc550fc491f8ba36827951845eb546d4075f77ba3a0b573fdfee2e1f81852c7bfd943df172430799af304d6bc02c45a6ee9d393a82c97c89602c
-DIST vanilla-kernel-4.19.94-1.x86.xpak 53592115 BLAKE2B 
b648dd9d4c90c3754cd2d8bba614ceb4c1c0fc30c9fd5624624651ba1d2f106ad7584115c84b16f132d6cf9e292f088107ca711f6c60f72a9e82e0b920975eb3
 SHA512 
1a435efacbf3e5bccaa78e1a5852da08d21df56e83a49254ffdd1db467f1de28148448c368c9b42f846988ea508f24e0ddcedd48a81b167105db617b99f96bb2
-DIST vanilla-kernel-4.19.95-1.amd64.xpak 61328132 BLAKE2B 
da9ad18c05df0301ab56767e678d4c8561f93609faceaba7a6e6912cfcc9025f30fba648e94079d783c3b06c99e9144007fbe495ef217e0eeb190323786f33f0
 SHA512 
97c252ab3e7f55e8b56c608ac2854cd89ccc67f3b2d40f7ab06b4499d02fc5b29b51535c99939d46b172d7db56b28f8687aac7101e0f4dcfa1dfe7e1b54388dd
-DIST vanilla-kernel-4.19.95-1.x86.xpak 53598871 BLAKE2B 
ada3debb8338012bb4372dd531805710528e7f80116086ae4c88910837319c9f3092ab709e5dc64388f7a2027e0db448bee146502a2b439720bf3eabb64bc8da
 SHA512 
fd1f58a796a22c62048845222c5b255ea2db4c7acfcdea7d87638d716c750cd555eb1956a7839d607a043f0772fa9541b0a2ee9b231090f6ee2d2a80f099233a
 DIST vanilla-kernel-4.19.96-1.amd64.xpak 61330551 BLAKE2B 
0e4cb07973ce47297c59a7989418a6dccce2723da96c50332d0f6df3af8a74ef98cfa85d1aa7dbb0a43138769c39663acceffd16779b8360a9bfb68b964867c6
 SHA512 
20f30ee5ad5bcd43c96404920c82a55b3ba3f51268819b94581c303bf187bd902232ef9c2dbd432f7ae0d44e087555f73fff05f203a4d92eca92e104c6ad0814
 DIST vanilla-kernel-4.19.96-1.x86.xpak 53581929 BLAKE2B 
09875438c6b035e033a159cf4dabce752bd56886dc9578949e9c6e6a4929f9017bef5daab0da9e6f74fb243a90912ae330a4a10bfef640b4b5700ba26a1e8bab
 SHA512 
2cc4c8ef8417468ab361807ee924492dd37b4b6e24b66d678b032635f4d044f19844746094424d2dda8c174d0fc13134d424e5c07c493d1af8db25b1f33494cf
-DIST vanilla-kernel-5.4.10-1.amd64.xpak 64966959 BLAKE2B 
8ad67a79ecdb7e53a41f4b02d3f1e9dafd169e2e74b179664d7b798e816c8f31b1a3c0f4a7f0e216761c4751f6044889c39f2bdd8783de2a926c64a7e1d601bd
 SHA512 
00a5c4365594968705580d68c8d86fd251632db43d5cafc54ecce8ab83a951de4be3c0eb0934e905f3ca84634b464d4d333b6417e148402dc0ea1b1fa16c5a9e
-DIST vanilla-kernel-5.4.10-1.x86.xpak 56405752 BLAKE2B 
86ca7aefff05c0ba222cd4f165b229182850f0c698417edcbe07da784e988b2e870f7dfad9f74c20421dc8068c4bf82475abf4ba3281b0f5c157ef27fa99a88a
 SHA512 
dcf5e333a87219434c2741217ad29137469c85464234c625aa57521d3f0c1613e83a121f5541646586d0b4938d60f82afc823c9ed4dc02ec1994ed0e0bb80540
-DIST vanilla-kernel-5.4.11-1.amd64.xpak 64959470 BLAKE2B 
af2b1c707950a0592f0551ec3b4163c22346a37f308c4b1752a6c9284f2f61b2fb96a65d357146c7a44813b4bc82788c479a300e6df37388de7782cfe98ab0fc
 SHA512 
a8be0a5a8c398cf7ed12de96f262ab526700de51faf40a3a4a1d3332c36d3756298edbc5d624a2773f6e8c09589b85e18c12549f42ccfa52f9b71eccda53df8f
-DIST vanilla-kernel-5.4.11-1.x86.xpak 56379611 BLAKE2B 
3446ae6db4f526b00ea448874f7cec2917744c93f7908aa9437e2c91177a3c715a17fe8fd0e79f4d7b712b033b3d4d82a80d77aa200c8b573453e00ab530cf8c
 SHA512 
6a271baa837d0c7ff0affea9aed2a24b2f21eed525510f3bbb525c2fb504778a9775752fd96e1401a69f5350101840d94367ef62aa9c5538d5f431b062252982
 DIST vanilla-kernel-5.4.12-1.amd64.xpak 64949751 BLAKE2B 
c65f58763ca58a21b0e8981309646a8502c9ba55fb9eb835bd9dd0afe0ae33e16198fd54ba7cd768906a329a2910a196558fa16e2168df5a67233986f410f7dd
 SHA512 
95bee704124462d0bbd0ae7a33674c56fa9e9d1f01690b638c5691b82b0af9649edfeb437d177bb773f861a77b31ec7afb2a6fe611684d4fee107c8fb4961cdc
 DIST vanilla-kernel-5.4.12-1.x86.xpak 56393584 BLAKE2B 
89ebc921148a3cfd6950c4e6d8094c3a4c79f699ec4a911c440c16858ef878020065986ebfb8173290b8c18398c47f0de16235fddbd9fa12901ccc067cec6bea
 SHA512 
9e7f096d267c28839595a776cd1c7ad2b325dcc41b8ec6bfff196f6f762084a23eaa56d24b6658c1d0925434bcc3efb88bcb398cb9e1a79697bc5be79701f71c
 DIST vanilla-kernel-5.4.13-1.amd64.xpak 64948280 BLAKE2B 
b59f4bede8935dca2269c17829794cacef8d3868f3d225a86adccf38c1737948cf62b68fe156da029da1f7b32d2e4950f3df940b18252ad9a98f08c9b720e822
 SHA512 
9fc3f0b3744e6d0d9cde60e4afcc780c051a5700845c567a8799534b124c05f1b406b8c50d64ce7e8548efe3fb0c92fe655df28463f53ebb960c8960750c76b7
 DIST vanilla-kernel-5.4.13-1.x86.xpak 56388529 BLAKE2B 
348a21712e6c1df9c8f167293e5bfc933ec06100ed4e7231a95f3de32e1e3a0d5e4640cfb0eb3a8879337af7dd98e46439490f3937e876f7340b82ca7a145e93
 SHA512 
818d820553c7409e47174fcc85a422c3580e24b5551c7d75d5d809d1a26ecf5a9fddb23bc0eab07386e3dcc5f9f5efb71d241faf2a7e3b9113f3846c018b3d4e
-DIST vanilla-kernel-5.4.7-1.amd64.xpak 67980060 BLAKE2B 
6bff3c16edc33dc65eedc55290d83cd26bf23bcf70addff39f43ba0d2fe9a678bc8bd2ba259802c95032132dce14e6866f15c30d66c4be23d82b88fa7e33d2f1
 SHA512 
edad0f70a46d2398702beeed442a84818d9d34cbd057372ad1175e7c2d944d59f6c5dbe2731658ed4c74eb66ffc3dd542b2589b1e776095c457b6347872d3dc4
-DIST vanilla-kernel-5.4.7-1.x86.xpak 59512079 BLAKE2B 
be8b611d164cb0e17fc9232eebdd642ea3e7926acf0c8628dde6bfe4de9d5600fca8f33aeba039bffce574926d7f1dff5bfa9910ed42553fa168e6104207fa13
 SHA512 
9d2a59824f7ce0cd01ea5aced3a95c4e2ac44ca4ad82cf5997987f9b0df730650cb8c8c5a83476084e427af345ad4d5515eb996dd2db5d5c7fa21c0eb1d8871e

diff --git a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-4.19.94-r1.ebuild 
b/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-4.19.94-r1.ebuild
deleted file mode 100644
index db05c926690..00000000000
--- a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-4.19.94-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit kernel-install
-
-MY_P=${P/-bin/}-1
-DESCRIPTION="Pre-built vanilla Linux kernel"
-HOMEPAGE="https://www.kernel.org/";
-SRC_URI+="
-       amd64? (
-               
https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
-                       -> ${MY_P}.amd64.xpak
-       )
-       x86? (
-               
https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
-                       -> ${MY_P}.x86.xpak
-       )"
-S=${WORKDIR}
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-       !sys-kernel/vanilla-kernel:${SLOT}"
-
-QA_PREBUILT='*'
-
-pkg_pretend() {
-       mount-boot_pkg_pretend
-
-       ewarn "This is an experimental package.  The built kernel and/or 
initramfs"
-       ewarn "may not work at all or fail with your bootloader configuration.  
Please"
-       ewarn "make sure to keep a backup kernel available before testing it."
-}
-
-src_unpack() {
-       ebegin "Unpacking ${MY_P}.${ARCH}.xpak"
-       tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak")
-       eend ${?} || die "Unpacking ${MY_P} failed"
-}
-
-src_test() {
-       kernel-install_test "${PV}" \
-               
"${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \
-               "lib/modules/${PV}"
-}
-
-src_install() {
-       mv * "${ED}" || die
-}

diff --git a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-4.19.95.ebuild 
b/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-4.19.95.ebuild
deleted file mode 100644
index db05c926690..00000000000
--- a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-4.19.95.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit kernel-install
-
-MY_P=${P/-bin/}-1
-DESCRIPTION="Pre-built vanilla Linux kernel"
-HOMEPAGE="https://www.kernel.org/";
-SRC_URI+="
-       amd64? (
-               
https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
-                       -> ${MY_P}.amd64.xpak
-       )
-       x86? (
-               
https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
-                       -> ${MY_P}.x86.xpak
-       )"
-S=${WORKDIR}
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-       !sys-kernel/vanilla-kernel:${SLOT}"
-
-QA_PREBUILT='*'
-
-pkg_pretend() {
-       mount-boot_pkg_pretend
-
-       ewarn "This is an experimental package.  The built kernel and/or 
initramfs"
-       ewarn "may not work at all or fail with your bootloader configuration.  
Please"
-       ewarn "make sure to keep a backup kernel available before testing it."
-}
-
-src_unpack() {
-       ebegin "Unpacking ${MY_P}.${ARCH}.xpak"
-       tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak")
-       eend ${?} || die "Unpacking ${MY_P} failed"
-}
-
-src_test() {
-       kernel-install_test "${PV}" \
-               
"${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \
-               "lib/modules/${PV}"
-}
-
-src_install() {
-       mv * "${ED}" || die
-}

diff --git a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.10-r1.ebuild 
b/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.10-r1.ebuild
deleted file mode 100644
index db05c926690..00000000000
--- a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.10-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit kernel-install
-
-MY_P=${P/-bin/}-1
-DESCRIPTION="Pre-built vanilla Linux kernel"
-HOMEPAGE="https://www.kernel.org/";
-SRC_URI+="
-       amd64? (
-               
https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
-                       -> ${MY_P}.amd64.xpak
-       )
-       x86? (
-               
https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
-                       -> ${MY_P}.x86.xpak
-       )"
-S=${WORKDIR}
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-       !sys-kernel/vanilla-kernel:${SLOT}"
-
-QA_PREBUILT='*'
-
-pkg_pretend() {
-       mount-boot_pkg_pretend
-
-       ewarn "This is an experimental package.  The built kernel and/or 
initramfs"
-       ewarn "may not work at all or fail with your bootloader configuration.  
Please"
-       ewarn "make sure to keep a backup kernel available before testing it."
-}
-
-src_unpack() {
-       ebegin "Unpacking ${MY_P}.${ARCH}.xpak"
-       tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak")
-       eend ${?} || die "Unpacking ${MY_P} failed"
-}
-
-src_test() {
-       kernel-install_test "${PV}" \
-               
"${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \
-               "lib/modules/${PV}"
-}
-
-src_install() {
-       mv * "${ED}" || die
-}

diff --git a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.11.ebuild 
b/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.11.ebuild
deleted file mode 100644
index db05c926690..00000000000
--- a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.11.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit kernel-install
-
-MY_P=${P/-bin/}-1
-DESCRIPTION="Pre-built vanilla Linux kernel"
-HOMEPAGE="https://www.kernel.org/";
-SRC_URI+="
-       amd64? (
-               
https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
-                       -> ${MY_P}.amd64.xpak
-       )
-       x86? (
-               
https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
-                       -> ${MY_P}.x86.xpak
-       )"
-S=${WORKDIR}
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-       !sys-kernel/vanilla-kernel:${SLOT}"
-
-QA_PREBUILT='*'
-
-pkg_pretend() {
-       mount-boot_pkg_pretend
-
-       ewarn "This is an experimental package.  The built kernel and/or 
initramfs"
-       ewarn "may not work at all or fail with your bootloader configuration.  
Please"
-       ewarn "make sure to keep a backup kernel available before testing it."
-}
-
-src_unpack() {
-       ebegin "Unpacking ${MY_P}.${ARCH}.xpak"
-       tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak")
-       eend ${?} || die "Unpacking ${MY_P} failed"
-}
-
-src_test() {
-       kernel-install_test "${PV}" \
-               
"${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \
-               "lib/modules/${PV}"
-}
-
-src_install() {
-       mv * "${ED}" || die
-}

diff --git a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.7.ebuild 
b/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.7.ebuild
deleted file mode 100644
index 998f07ed5e9..00000000000
--- a/sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.7.ebuild
+++ /dev/null
@@ -1,180 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit mount-boot
-
-MY_P=vanilla-kernel-${PV}-1
-TCL_VER=10.1
-DESCRIPTION="Pre-built vanilla Linux kernel"
-HOMEPAGE="https://www.kernel.org/";
-SRC_URI="
-       amd64? (
-               
https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
-                       -> ${MY_P}.amd64.xpak
-               test? (
-                       
https://dev.gentoo.org/~mgorny/dist/tinycorelinux-${TCL_VER}-amd64.qcow2
-               )
-       )
-       x86? (
-               
https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/vanilla-kernel/${MY_P}.xpak
-                       -> ${MY_P}.x86.xpak
-               test? (
-                       
https://dev.gentoo.org/~mgorny/dist/tinycorelinux-${TCL_VER}-x86.qcow2
-               )
-       )"
-S=${WORKDIR}
-
-LICENSE="GPL-2"
-SLOT="${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="+initramfs test"
-RESTRICT="!test? ( test ) test? ( userpriv )"
-
-# install-DEPEND actually
-# note: we need installkernel with initramfs support!
-RDEPEND="
-       || (
-               sys-kernel/installkernel-gentoo
-               sys-kernel/installkernel-systemd-boot
-       )
-       initramfs? ( >=sys-kernel/dracut-049-r2 )
-       !sys-kernel/vanilla-kernel:${SLOT}"
-BDEPEND="
-       test? (
-               dev-tcltk/expect
-               sys-kernel/dracut
-               amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
-               x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] )
-       )"
-
-QA_PREBUILT='*'
-
-pkg_pretend() {
-       mount-boot_pkg_pretend
-
-       ewarn "This is an experimental package.  The built kernel and/or 
initramfs"
-       ewarn "may not work at all or fail with your bootloader configuration.  
Please"
-       ewarn "make sure to keep a backup kernel available before testing it."
-}
-
-src_unpack() {
-       ebegin "Unpacking ${MY_P}.${ARCH}.xpak"
-       tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak")
-       eend ${?} || die "Unpacking ${MY_P} failed"
-}
-
-src_test() {
-       local image_arch=${ARCH}
-       local qemu_arch=$(usex amd64 x86_64 i386)
-
-       dracut \
-               --conf /dev/null \
-               --confdir /dev/null \
-               --no-hostonly \
-               --kmoddir "lib/modules/${PV}" \
-               "${T}/initrd" "${PV}" || die
-       cp "${DISTDIR}/tinycorelinux-${TCL_VER}-${image_arch}.qcow2" \
-               "${T}/fs.qcow2" || die
-
-       cd "${T}" || die
-       cat > run.sh <<-EOF || die
-               #!/bin/sh
-               exec qemu-system-${qemu_arch} \
-                       -m 256M \
-                       -display none \
-                       -no-reboot \
-                       -kernel '${WORKDIR}/usr/src/linux-${PV}/bzImage' \
-                       -initrd '${T}/initrd' \
-                       -serial mon:stdio \
-                       -hda '${T}/fs.qcow2' \
-                       -append 'root=/dev/sda console=ttyS0,115200n8'
-       EOF
-       chmod +x run.sh || die
-       # TODO: initramfs does not let core finish starting on some systems,
-       # figure out how to make it better at that
-       expect - <<-EOF || die "Booting kernel failed"
-               set timeout 900
-               spawn ./run.sh
-               expect {
-                       "Kernel panic" {
-                               send_error "\n* Kernel panic"
-                               exit 1
-                       }
-                       "Entering emergency mode" {
-                               send_error "\n* Initramfs failed to start the 
system"
-                               exit 1
-                       }
-                       "Core 10.1" {
-                               send_error "\n* Booted to login"
-                               exit 0
-                       }
-                       timeout {
-                               send_error "\n* Kernel boot timed out"
-                               exit 2
-                       }
-               }
-       EOF
-}
-
-src_install() {
-       mv * "${ED}" || die
-}
-
-pkg_preinst() {
-       :
-}
-
-pkg_postinst() {
-       if [[ -z ${ROOT} ]]; then
-               mount-boot_pkg_preinst
-
-               if use initramfs; then
-                       ebegin "Building initramfs via dracut"
-                       # putting it alongside kernel image as 'initrd' makes
-                       # kernel-install happier
-                       dracut --force "${EROOT}/usr/src/linux-${PV}/initrd" 
"${PV}"
-                       eend ${?} || die "Building initramfs failed"
-               fi
-
-               ebegin "Installing the kernel via installkernel"
-               # note: .config is taken relatively to System.map;
-               # initrd relatively to bzImage
-               installkernel "${PV}" \
-                       "${EROOT}/usr/src/linux-${PV}/bzImage" \
-                       "${EROOT}/usr/src/linux-${PV}/System.map"
-               eend ${?} || die "Installing the kernel failed"
-       fi
-
-       if [[ ! -e ${EROOT}/usr/src/linux ]]; then
-               ebegin "Creating /usr/src/linux symlink"
-               ln -f -n -s linux-${PV} "${EROOT}"/usr/src/linux
-               eend ${?}
-       else
-               local symlink_target=$(readlink "${EROOT}"/usr/src/linux)
-               local symlink_ver=${symlink_target#linux-}
-               if [[ ${symlink_target} == linux-* && -z 
${symlink_ver//[0-9.]/} ]]
-               then
-                       local symlink_pkg=${CATEGORY}/${PN}-${symlink_ver}
-                       # if the current target is either being replaced, or 
still
-                       # installed (probably depclean candidate), update the 
symlink
-                       if has "${symlink_ver}" ${REPLACING_VERSIONS} ||
-                                       has_version -r "~${symlink_pkg}"
-                       then
-                               ebegin "Updating /usr/src/linux symlink"
-                               ln -f -n -s linux-${PV} "${EROOT}"/usr/src/linux
-                               eend ${?}
-                       fi
-               fi
-       fi
-}
-
-pkg_prerm() {
-       :
-}
-
-pkg_postrm() {
-       rm -f "${EROOT}/usr/src/linux-${PV}/initrd" &&
-       rmdir --ignore-fail-on-non-empty "${EROOT}/usr/src/linux-${PV}"
-}

Reply via email to