diff options
Diffstat (limited to 'private')
11 files changed, 557 insertions, 0 deletions
diff --git a/private/sys-kernel/kernelinstall/Manifest b/private/sys-kernel/kernelinstall/Manifest new file mode 100644 index 0000000..9a53656 --- /dev/null +++ b/private/sys-kernel/kernelinstall/Manifest @@ -0,0 +1,33 @@ +AUX kernelinstall-1.2.sh 3935 RMD160 7e67f82189f228b07d696fb2f06429d762e64f2d SHA1 3f55c7fad8f85ed5c2fa8afece77006750e842bb SHA256 db20a3453dd1fd46134f61669b1ad41051ea7224fbf0e08ee334232fb73f3fb6 +MD5 c4a13c3c5f7ef43a960afaec95da6415 files/kernelinstall-1.2.sh 3935 +RMD160 7e67f82189f228b07d696fb2f06429d762e64f2d files/kernelinstall-1.2.sh 3935 +SHA256 db20a3453dd1fd46134f61669b1ad41051ea7224fbf0e08ee334232fb73f3fb6 files/kernelinstall-1.2.sh 3935 +AUX kernelinstall-1.3.sh 4176 RMD160 09edd39240c6f2ced0a13cd5df16445bf9521904 SHA1 cbb0ffa8fbfc354c15277335c157b2908b4df4e6 SHA256 841133e3df55fe7838b508b3093f0e0d07a41de8b9f1175483ce8c69d8469650 +MD5 2910e58bd3b5e811787ff4dff3b6dbd5 files/kernelinstall-1.3.sh 4176 +RMD160 09edd39240c6f2ced0a13cd5df16445bf9521904 files/kernelinstall-1.3.sh 4176 +SHA256 841133e3df55fe7838b508b3093f0e0d07a41de8b9f1175483ce8c69d8469650 files/kernelinstall-1.3.sh 4176 +AUX kernelinstall-1.4.sh 4225 RMD160 91d05a139cb0752f0c28aa2d2d18811233b52a2b SHA1 e18312a15829db8475a36436901323f1a60aca2c SHA256 311498643e8cffa95d1db1db27fa759e202376a95d01da3e14ccd2e298faac5f +MD5 1d79e9d6dffceb6feced0aadfc15ab56 files/kernelinstall-1.4.sh 4225 +RMD160 91d05a139cb0752f0c28aa2d2d18811233b52a2b files/kernelinstall-1.4.sh 4225 +SHA256 311498643e8cffa95d1db1db27fa759e202376a95d01da3e14ccd2e298faac5f files/kernelinstall-1.4.sh 4225 +EBUILD kernelinstall-1.2.ebuild 394 RMD160 967dc29f1456a7caa6c24ed3637b4bf7e62a48a7 SHA1 a633327be4efb0dbdb797416aec16a97dc5d8bdf SHA256 447c2e1ddd908e8b492083fac18272c0364ba9ad14ea56ffc110054a1fafd62b +MD5 f65d77d3a9e9902286acb527d23af66c kernelinstall-1.2.ebuild 394 +RMD160 967dc29f1456a7caa6c24ed3637b4bf7e62a48a7 kernelinstall-1.2.ebuild 394 +SHA256 447c2e1ddd908e8b492083fac18272c0364ba9ad14ea56ffc110054a1fafd62b kernelinstall-1.2.ebuild 394 +EBUILD kernelinstall-1.3.ebuild 448 RMD160 203a716628b2e967c0ffb9f3421079e6feb0bde2 SHA1 144a5fccb99fb3c1bd656ae2551adf20315b3620 SHA256 30b10a043ac7168abe1bb4cdf26c170aaca95d988a4f288f3825653ec2a8b1aa +MD5 2b2a622dba119a77210196b4681a7e9c kernelinstall-1.3.ebuild 448 +RMD160 203a716628b2e967c0ffb9f3421079e6feb0bde2 kernelinstall-1.3.ebuild 448 +SHA256 30b10a043ac7168abe1bb4cdf26c170aaca95d988a4f288f3825653ec2a8b1aa kernelinstall-1.3.ebuild 448 +EBUILD kernelinstall-1.4.ebuild 440 RMD160 642d714d95730977bb3845b8864b33cd61ec4390 SHA1 b59993e57cbdd565b90ae4328224da2639393af7 SHA256 97b7e84c47ca6c309c5640fba83190a9695536414f9288adcbbe662bfd0374a8 +MD5 9a2ccb6f1246d1dc54896968444d0609 kernelinstall-1.4.ebuild 440 +RMD160 642d714d95730977bb3845b8864b33cd61ec4390 kernelinstall-1.4.ebuild 440 +SHA256 97b7e84c47ca6c309c5640fba83190a9695536414f9288adcbbe662bfd0374a8 kernelinstall-1.4.ebuild 440 +MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-kernelinstall-1.2 1 +RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-kernelinstall-1.2 1 +SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-kernelinstall-1.2 1 +MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-kernelinstall-1.3 1 +RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-kernelinstall-1.3 1 +SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-kernelinstall-1.3 1 +MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-kernelinstall-1.4 1 +RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-kernelinstall-1.4 1 +SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-kernelinstall-1.4 1 diff --git a/private/sys-kernel/kernelinstall/files/digest-kernelinstall-1.1 b/private/sys-kernel/kernelinstall/files/digest-kernelinstall-1.1 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/private/sys-kernel/kernelinstall/files/digest-kernelinstall-1.1 diff --git a/private/sys-kernel/kernelinstall/files/digest-kernelinstall-1.2 b/private/sys-kernel/kernelinstall/files/digest-kernelinstall-1.2 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/private/sys-kernel/kernelinstall/files/digest-kernelinstall-1.2 @@ -0,0 +1 @@ + diff --git a/private/sys-kernel/kernelinstall/files/digest-kernelinstall-1.3 b/private/sys-kernel/kernelinstall/files/digest-kernelinstall-1.3 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/private/sys-kernel/kernelinstall/files/digest-kernelinstall-1.3 @@ -0,0 +1 @@ + diff --git a/private/sys-kernel/kernelinstall/files/digest-kernelinstall-1.4 b/private/sys-kernel/kernelinstall/files/digest-kernelinstall-1.4 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/private/sys-kernel/kernelinstall/files/digest-kernelinstall-1.4 @@ -0,0 +1 @@ + diff --git a/private/sys-kernel/kernelinstall/files/kernelinstall-1.2.sh b/private/sys-kernel/kernelinstall/files/kernelinstall-1.2.sh new file mode 100644 index 0000000..cffb030 --- /dev/null +++ b/private/sys-kernel/kernelinstall/files/kernelinstall-1.2.sh @@ -0,0 +1,137 @@ +#!/bin/bash + +source /sbin/functions.sh +source /etc/make.globals +esyslog() { + echo &> /dev/null +} +echo "" + +## runs with UID=0 ? +if [[ `id -u` -ne 0 ]] ; then + eerror "This script requires root privileges" + eerror "Exiting!" + echo "" + exit 1 +fi + +## check if we are in the kernel root-dir +if [[ ! -f ${PWD}/Makefile ]] ; then + eerror "You are either in a subdirectory of your kernel dir or not in any kernel dir." + eerror "You better change to your kernel top level directory and run this script again," + eerror "or the kernel will not get installed ...." + echo "" + exit 1 +fi + +if [[ -z "${KERNEL_ARCH}" ]] ; then + ARCH="$( uname -m )" +fi + +case "${ARCH}" in + i*86) + KERNEL_ARCH="i386" + ;; + x86_64) + KERNEL_ARCH="${ARCH}" + ;; + alpha*) + KERNEL_ARCH="${ARCH}" + ;; +esac + +if [[ ! -e ${PWD}/arch/${KERNEL_ARCH}/boot/bzImage ]] ; then + eerror "${PWD}/arch/${KERNEL_ARCH}/boot does not contain an compressed kernel image." + eerror "If you are in the top-level directory of your kernel, please run" + eerror "'make' first. Otherwise, if you are not in /usr/src/linux" + eerror "change into your top-level kerneldirectory!" + exit 1 +fi + +if [[ -n "${ROOT}" && ! -d "${ROOT}" ]] ; then + eerror "The given ROOT does not exist. Please create it first." + exit 1 +fi + +if [[ "$1" == "-p" ]] ; then + PRETEND="true" +fi + +getmakefilevar() { + grep $1 $2 | head -n 1 | cut -d = -f 2- | awk '{ print $1 }' +} + +# to get a version number out of the Makefile +KV_MAJOR="`getmakefilevar VERSION Makefile`" +KV_MINOR="`getmakefilevar PATCHLEVEL Makefile`" +KV_PATCH="`getmakefilevar SUBLEVEL Makefile`" +KV_TYPE="`getmakefilevar EXTRAVERSION Makefile`" +KV_CONFIG="`grep CONFIG_LOCALVERSION .config | head -n 1 | cut -d'"' -f 2`" + +einfo "\033[01mPhase 1:\033[0m" +ebegin " [1/2] Gathering kernel version" +KV_FULL="$KV_MAJOR.$KV_MINOR.$KV_PATCH$KV_TYPE$KV_CONFIG" +eend $? + +if [[ -z "`grep /boot /etc/mtab`" && -z "${ROOT}" ]] ; then + ebegin " [2/2] Mounting /boot" + mount /boot 2> /dev/null + eend $? +else + einfo " [2/2] Skipping 'mount /boot', already mounted ..." +fi +echo + +einfo "\033[01mPhase 2:\033[0m" +einfo " You're going to install the following files:" +einfo " ${ROOT}/boot/kernel-${KV_FULL}" +einfo " ${ROOT}/boot/config-${KV_FULL}" +einfo " ${ROOT}/boot/System.map-${KV_FULL}" +einfo " ${ROOT}/lib/modules/${KV_FULL}" + +if [[ -z "${PRETEND}" ]] ; then + echo + ewarn "You are going to install kernel-${KV_FULL}." + ewarn "If this is not desired, then hit \033[01;31mCTRL+C\033[0m now!" + echo + echo -ne "\033[01m Waiting ${EMERGE_WARNING_DELAY} seconds: " + + for i in `seq ${EMERGE_WARNING_DELAY} -1 1`; do + echo -en "\033[01;31m${i}\033[0m " + sleep 1 + done + echo + echo + + einfo "\033[01mPhase 3:\033[0m" + + ebegin " [1/4] bzImage" + cp -pf arch/${KERNEL_ARCH}/boot/bzImage ${ROOT}/boot/kernel-${KV_FULL} 2>/dev/null + eend $? + + ebegin " [2/4] .config" + cp -pf .config ${ROOT}/boot/config-${KV_FULL} 2> /dev/null + eend $? + + ebegin " [3/4] System.map" + cp -pf System.map ${ROOT}/boot/System.map-${KV_FULL} 2> /dev/null + eend $? + + ebegin " [4/4] modules" + if [[ -z "${ROOT}" ]] ; then + make modules_install &> /dev/null + elif [[ -n "${ROOT}" && -d "${ROOT}" ]] ; then + INSTALL_MOD_PATH="${ROOT}" make modules_install &> /dev/null + fi + + echo + ewarn "Please add the following lines to your grub.conf:" + echo " title GNU/Linux ${KV_FULL}" + echo " root (hd0,0)" + echo " kernel (hd0,0)/kernel-${KV_FULL} `cat /proc/cmdline`" + echo + ewarn "Don't forget to remerge \033[01mdepending packages\033[0m (e.g. \033[01mipw2100\033[0m, \033[01malsa-driver\033[0m, \033[01mnvidia-kernel\033[0m, \033[01mqemu\033[0m, ...)" + ewarn "since you changed to a new kernel. This requires you to rebuild those modules." + ewarn "To do so, type '\033[01memerge DRIVER-NAME\033[0m' and you should be fine." +fi +echo diff --git a/private/sys-kernel/kernelinstall/files/kernelinstall-1.3.sh b/private/sys-kernel/kernelinstall/files/kernelinstall-1.3.sh new file mode 100644 index 0000000..274e73e --- /dev/null +++ b/private/sys-kernel/kernelinstall/files/kernelinstall-1.3.sh @@ -0,0 +1,162 @@ +#!/bin/bash + +source /sbin/functions.sh +source /etc/make.globals +esyslog() { + echo &> /dev/null +} +echo "" + +# is modules-rebuild available ? +if [ ! -x "/usr/sbin/module-rebuild" ] ; then + MODULE_REBUILD="false" +else + MODULE_REBUILD="true" +fi + +## runs with UID=0 ? +if [[ `id -u` -ne 0 ]] ; then + eerror "This script requires root privileges" + eerror "Exiting!" + echo "" + exit 1 +fi + +## check if we are in the kernel root-dir +if [[ ! -f ${PWD}/Makefile ]] ; then + eerror "You are either in a subdirectory of your kernel dir or not in any kernel dir." + eerror "You better change to your kernel top level directory and run this script again," + eerror "or the kernel will not get installed ...." + echo "" + exit 1 +fi + +if [[ -z "${KERNEL_ARCH}" ]] ; then + ARCH="$( uname -m )" +fi + +case "${ARCH}" in + i*86) + KERNEL_ARCH="i386" + ;; + x86_64) + KERNEL_ARCH="${ARCH}" + ;; + alpha*) + KERNEL_ARCH="${ARCH}" + ;; +esac + +if [[ ! -e ${PWD}/arch/${KERNEL_ARCH}/boot/bzImage ]] ; then + eerror "${PWD}/arch/${KERNEL_ARCH}/boot does not contain an compressed kernel image." + eerror "If you are in the top-level directory of your kernel, please run" + eerror "'make' first. Otherwise, if you are not in /usr/src/linux" + eerror "change into your top-level kerneldirectory!" + exit 1 +fi + +if [[ -n "${ROOT}" && ! -d "${ROOT}" ]] ; then + eerror "The given ROOT does not exist. Please create it first." + exit 1 +fi + +if [[ "$1" == "-p" ]] ; then + PRETEND="true" +fi + +getmakefilevar() { + grep $1 $2 | head -n 1 | cut -d = -f 2- | awk '{ print $1 }' +} + +# to get a version number out of the Makefile +KV_MAJOR="`getmakefilevar VERSION Makefile`" +KV_MINOR="`getmakefilevar PATCHLEVEL Makefile`" +KV_PATCH="`getmakefilevar SUBLEVEL Makefile`" +KV_TYPE="`getmakefilevar EXTRAVERSION Makefile`" +KV_CONFIG="`grep CONFIG_LOCALVERSION .config | head -n 1 | cut -d'"' -f 2`" + +einfo "\033[01mPhase 1:\033[0m" +ebegin " [1/2] Gathering kernel version" +KV_FULL="$KV_MAJOR.$KV_MINOR.$KV_PATCH$KV_TYPE$KV_CONFIG" +eend $? + +if [[ -z "`grep /boot /etc/mtab`" && -z "${ROOT}" ]] ; then + ebegin " [2/2] Mounting /boot" + mount /boot 2> /dev/null + eend $? +else + einfo " [2/2] Skipping 'mount /boot', already mounted ..." +fi +echo + +einfo "\033[01mPhase 2:\033[0m" +einfo " You're going to install the following files:" +einfo " ${ROOT}/boot/kernel-${KV_FULL}" +einfo " ${ROOT}/boot/config-${KV_FULL}" +einfo " ${ROOT}/lib/modules/${KV_FULL}" + +if [[ -z "${PRETEND}" ]] ; then + echo + ewarn "You are going to install kernel-${KV_FULL}." + ewarn "If this is not desired, then hit \033[01;31mCTRL+C\033[0m now!" + echo + echo -ne "\033[01m Waiting ${EMERGE_WARNING_DELAY} seconds: " + + for i in `seq ${EMERGE_WARNING_DELAY} -1 1`; do + echo -en "\033[01;31m${i}\033[0m " + sleep 1 + done + echo + echo + + einfo "\033[01mPhase 3:\033[0m" + + ebegin " [1/3] bzImage" + cp -pf arch/${KERNEL_ARCH}/boot/bzImage ${ROOT}/boot/kernel-${KV_FULL} 2>/dev/null + eend $? + + ebegin " [2/3] .config" + cp -pf .config ${ROOT}/boot/config-${KV_FULL} 2> /dev/null + eend $? + + ebegin " [3/3] modules" + if [[ -z "${ROOT}" ]] ; then + make modules_install &> /dev/null + elif [[ -n "${ROOT}" && -d "${ROOT}" ]] ; then + INSTALL_MOD_PATH="${ROOT}" make modules_install &> /dev/null + fi + + if [ "${MODULE_REBUILD}" = "true" ] ; then + einfo "\033[01mPhase 4:\033[0m" + + echo + echo -ne "\033[01m Waiting ${EMERGE_WARNING_DELAY} seconds: " + + for i in `seq ${EMERGE_WARNING_DELAY} -1 1`; do + echo -en "\033[01;31m${i}\033[0m " + sleep 1 + done + echo + + ebegin " [1/1] rebuilding external modules" + + for i in $( /usr/sbin/module-rebuild list ) + do + einfo "Remerging ${i}" + /usr/bin/emerge "${i}" + done + + eend $? + else + ewarn "Be sure to remerge any depending external modules, otherwise they won't be" + ewarn "available when you reboot to your new kernel (i.e. alsa-driver, nvidia-kernel, ...)" + fi + + echo + ewarn "Please add the following lines to your grub.conf:" + echo " title GNU/Linux ${KV_FULL}" + echo " root (hd0,0)" + echo " kernel (hd0,0)/kernel-${KV_FULL} `cat /proc/cmdline`" + echo +fi +echo diff --git a/private/sys-kernel/kernelinstall/files/kernelinstall-1.4.sh b/private/sys-kernel/kernelinstall/files/kernelinstall-1.4.sh new file mode 100644 index 0000000..35883c3 --- /dev/null +++ b/private/sys-kernel/kernelinstall/files/kernelinstall-1.4.sh @@ -0,0 +1,163 @@ +#!/bin/bash + +source /sbin/functions.sh +source /etc/make.globals +esyslog() { + echo &> /dev/null +} +echo "" + +# is modules-rebuild available ? +if [ ! -x "/usr/sbin/module-rebuild" ] ; then + MODULE_REBUILD="false" +else + MODULE_REBUILD="true" +fi + +## runs with UID=0 ? +if [[ `id -u` -ne 0 ]] ; then + eerror "This script requires root privileges" + eerror "Exiting!" + echo "" + exit 1 +fi + +## check if we are in the kernel root-dir +if [[ ! -f ${PWD}/Makefile ]] ; then + eerror "You are either in a subdirectory of your kernel dir or not in any kernel dir." + eerror "You better change to your kernel top level directory and run this script again," + eerror "or the kernel will not get installed ...." + echo "" + exit 1 +fi + +if [[ -z "${KERNEL_ARCH}" ]] ; then + ARCH="$( uname -m )" +fi + +case "${ARCH}" in + i*86) + KERNEL_ARCH="i386" + ;; + x86_64) + KERNEL_ARCH="${ARCH}" + ;; + alpha*) + KERNEL_ARCH="${ARCH}" + ;; +esac + +if [[ ! -e ${PWD}/arch/${KERNEL_ARCH}/boot/bzImage ]] ; then + eerror "${PWD}/arch/${KERNEL_ARCH}/boot does not contain an compressed kernel image." + eerror "If you are in the top-level directory of your kernel, please run" + eerror "'make' first. Otherwise, if you are not in /usr/src/linux" + eerror "change into your top-level kerneldirectory!" + exit 1 +fi + +if [[ -n "${ROOT}" && ! -d "${ROOT}" ]] ; then + eerror "The given ROOT does not exist. Please create it first." + exit 1 +fi + +if [[ "$1" == "-p" ]] ; then + PRETEND="true" +fi + +getmakefilevar() { + grep $1 $2 | head -n 1 | cut -d = -f 2- | awk '{ print $1 }' +} + +# to get a version number out of the Makefile +KV_MAJOR="`getmakefilevar VERSION Makefile`" +KV_MINOR="`getmakefilevar PATCHLEVEL Makefile`" +KV_PATCH="`getmakefilevar SUBLEVEL Makefile`" +KV_TYPE="`getmakefilevar EXTRAVERSION Makefile`" +KV_CONFIG="`grep CONFIG_LOCALVERSION .config | head -n 1 | cut -d'"' -f 2`" +KV_BUILD_VER="`cat .version`" + +einfo "\033[01mPhase 1:\033[0m" +ebegin " [1/2] Gathering kernel version" +KV_FULL="$KV_MAJOR.$KV_MINOR.$KV_PATCH$KV_TYPE$KV_CONFIG-rev${KV_BUILD_VER}" +eend $? + +if [[ -z "`grep /boot /etc/mtab`" && -z "${ROOT}" ]] ; then + ebegin " [2/2] Mounting /boot" + mount /boot 2> /dev/null + eend $? +else + einfo " [2/2] Skipping 'mount /boot', already mounted ..." +fi +echo + +einfo "\033[01mPhase 2:\033[0m" +einfo " You're going to install the following files:" +einfo " ${ROOT}/boot/kernel-${KV_FULL}" +einfo " ${ROOT}/boot/config-${KV_FULL}" +einfo " ${ROOT}/lib/modules/${KV_FULL}" + +if [[ -z "${PRETEND}" ]] ; then + echo + ewarn "You are going to install kernel-${KV_FULL}." + ewarn "If this is not desired, then hit \033[01;31mCTRL+C\033[0m now!" + echo + echo -ne "\033[01m Waiting ${EMERGE_WARNING_DELAY} seconds: " + + for i in `seq ${EMERGE_WARNING_DELAY} -1 1`; do + echo -en "\033[01;31m${i}\033[0m " + sleep 1 + done + echo + echo + + einfo "\033[01mPhase 3:\033[0m" + + ebegin " [1/3] bzImage" + cp -pf arch/${KERNEL_ARCH}/boot/bzImage ${ROOT}/boot/kernel-${KV_FULL} 2>/dev/null + eend $? + + ebegin " [2/3] .config" + cp -pf .config ${ROOT}/boot/config-${KV_FULL} 2> /dev/null + eend $? + + ebegin " [3/3] modules" + if [[ -z "${ROOT}" ]] ; then + make modules_install &> /dev/null + elif [[ -n "${ROOT}" && -d "${ROOT}" ]] ; then + INSTALL_MOD_PATH="${ROOT}" make modules_install &> /dev/null + fi + + if [ "${MODULE_REBUILD}" = "true" ] ; then + einfo "\033[01mPhase 4:\033[0m" + + echo + echo -ne "\033[01m Waiting ${EMERGE_WARNING_DELAY} seconds: " + + for i in `seq ${EMERGE_WARNING_DELAY} -1 1`; do + echo -en "\033[01;31m${i}\033[0m " + sleep 1 + done + echo + + ebegin " [1/1] rebuilding external modules" + + for i in $( /usr/sbin/module-rebuild list ) + do + einfo "Remerging ${i}" + /usr/bin/emerge "${i}" + done + + eend $? + else + ewarn "Be sure to remerge any depending external modules, otherwise they won't be" + ewarn "available when you reboot to your new kernel (i.e. alsa-driver, nvidia-kernel, ...)" + fi + + echo + ewarn "Please add the following lines to your grub.conf:" + echo " title GNU/Linux ${KV_FULL}" + echo " root (hd0,0)" + echo " kernel (hd0,0)/kernel-${KV_FULL} `cat /proc/cmdline`" + echo +fi +echo diff --git a/private/sys-kernel/kernelinstall/kernelinstall-1.2.ebuild b/private/sys-kernel/kernelinstall/kernelinstall-1.2.ebuild new file mode 100644 index 0000000..aca5a9f --- /dev/null +++ b/private/sys-kernel/kernelinstall/kernelinstall-1.2.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Wrapper to install a compiled kernel source" +HOMEPAGE="http://dev.gentoo.org/~phreak/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +S="${WORKDIR}" + +src_install() { + exeinto /bin + newexe ${FILESDIR}/kernelinstall-${PV}.sh kernelinstall || die +} diff --git a/private/sys-kernel/kernelinstall/kernelinstall-1.3.ebuild b/private/sys-kernel/kernelinstall/kernelinstall-1.3.ebuild new file mode 100644 index 0000000..4e4b924 --- /dev/null +++ b/private/sys-kernel/kernelinstall/kernelinstall-1.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Wrapper to install a compiled kernel source" +HOMEPAGE="http://dev.gentoo.org/~phreak/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="rebuild" + +DEPEND="" +RDEPEND="rebuild? ( sys-kernel/module-rebuild )" + +src_install() { + exeinto /bin + newexe "${FILESDIR}"/kernelinstall-${PV}.sh kernelinstall || die +} diff --git a/private/sys-kernel/kernelinstall/kernelinstall-1.4.ebuild b/private/sys-kernel/kernelinstall/kernelinstall-1.4.ebuild new file mode 100644 index 0000000..332c2b2 --- /dev/null +++ b/private/sys-kernel/kernelinstall/kernelinstall-1.4.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="wrapper to install a compiled kernel source" +HOMEPAGE="http://phreak.xnull.de/kernelinstall/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="rebuild" + +DEPEND="" +RDEPEND="sys-kernel/module-rebuild" + +src_install() { + exeinto /bin + newexe ${FILESDIR}/kernelinstall-${PV}.sh kernelinstall || die +} |