parent
2e2822604a
commit
dd49b46a8d
@ -0,0 +1,197 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
#
|
||||
# Original Author: © 2007-2009 Mir Calculate, Ltd.
|
||||
# Purpose: Installing linux-desktop, linux-server.
|
||||
# Build the kernel from source.
|
||||
|
||||
inherit calculate eutils kernel-2
|
||||
EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst
|
||||
|
||||
IUSE="vmlinuz minimal"
|
||||
|
||||
REQUIRED_USE="minimal? ( vmlinuz )"
|
||||
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
if [[ ${KV_MAJOR} -ge 3 ]]
|
||||
then
|
||||
CKV=$(get_version_component_range 1-3)
|
||||
CL_PATCH=$(get_version_component_range 1-2)
|
||||
local oldifs=${IFS}
|
||||
export IFS="."
|
||||
local OKV_ARRAY=( $OKV )
|
||||
export IFS=${oldifs}
|
||||
if [[ ${#OKV_ARRAY[@]} -ge 3 ]]; then
|
||||
# handle calculate-sources-3.x.y correctly
|
||||
if [[ ${KV_PATCH} -gt 0 ]]; then
|
||||
KERNEL_URI="${KERNEL_BASE_URI}/patch-${OKV}.bz2"
|
||||
UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV}.bz2"
|
||||
fi
|
||||
KERNEL_URI="${KERNEL_URI} ${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.bz2"
|
||||
else
|
||||
KERNEL_URI="${KERNEL_BASE_URI}/linux-${OKV}.tar.bz2"
|
||||
fi
|
||||
else
|
||||
die "Eclass is used only for kernel-3"
|
||||
fi
|
||||
SLOT=$(get_version_component_range 1-4)
|
||||
KV_FULL="${PV}-calculate"
|
||||
S="${WORKDIR}/linux-${KV_FULL}"
|
||||
|
||||
CALC_K_SUBV=.$(get_version_component_range 4)
|
||||
[[ ${CALC_K_SUBV} == "." ]] && CALC_K_SUBV=
|
||||
|
||||
EXTRAVERSION="${CALC_K_SUBV}-calculate"
|
||||
|
||||
UNIPATCH_STRICTORDER=1
|
||||
|
||||
if [[ -n $LONGTERM ]];then
|
||||
if [[ $KERNEL_URI =~ ^(.*)(kernel/v3.0/patch)(.*)$ ]];then
|
||||
KERNEL_URI="${BASH_REMATCH[1]}kernel/v3.0/longterm/v${CKV}/patch${BASH_REMATCH[3]}"
|
||||
fi
|
||||
fi
|
||||
|
||||
calculate-kernel-5_pkg_setup() {
|
||||
kernel-2_pkg_setup
|
||||
eqawarn "!!! WARNING !!! WARNING !!! WARNING !!! WARNING !!!"
|
||||
eqawarn "After the kernel assemble perform command to update modules:"
|
||||
eqawarn " module-rebuild -X rebuild"
|
||||
}
|
||||
|
||||
calculate-kernel-5_src_unpack() {
|
||||
kernel-2_src_unpack
|
||||
}
|
||||
|
||||
vmlinuz_src_compile() {
|
||||
# disable sandbox
|
||||
export SANDBOX_ON=0
|
||||
export LDFLAGS=""
|
||||
local GENTOOARCH="${ARCH}"
|
||||
unset ARCH
|
||||
|
||||
cd ${S}
|
||||
DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" cl-kernel \
|
||||
--ebuild \
|
||||
-o \
|
||||
${CL_KERNEL_OPTS} \
|
||||
--kerneldir=${S} \
|
||||
--set cl_kernel_cache_path=${WORKDIR}/cache \
|
||||
--set cl_kernel_temp_path=${S}/temp \
|
||||
--set cl_kernel_install_path=${WORKDIR} \
|
||||
|| die "kernel build failed"
|
||||
|
||||
[ -f .config ] && cp .config .config.save
|
||||
make distclean &>/dev/null || die "cannot perform distclean"
|
||||
mv .config.save .config
|
||||
ARCH="${GENTOOARCH}"
|
||||
|
||||
rm ${WORKDIR}/lib/modules/${KV_FULL}/build
|
||||
rm ${WORKDIR}/lib/modules/${KV_FULL}/source
|
||||
}
|
||||
|
||||
calculate-kernel-5_src_compile() {
|
||||
use vmlinuz && vmlinuz_src_compile
|
||||
}
|
||||
|
||||
vmlinuz_src_install() {
|
||||
cd ${WORKDIR}/lib
|
||||
insinto /lib
|
||||
doins -r modules
|
||||
insinto /usr/share/${PN}/${PV}
|
||||
doins -r firmware
|
||||
cd ${WORKDIR}
|
||||
doins -r boot
|
||||
|
||||
dosym /usr/src/linux-${KV_FULL} \
|
||||
"/lib/modules/${KV_FULL}/source" ||
|
||||
die "cannot install source symlink"
|
||||
dosym /usr/src/linux-${KV_FULL} \
|
||||
"/lib/modules/${KV_FULL}/build" ||
|
||||
die "cannot install build symlink"
|
||||
insinto /etc/modprobe.d
|
||||
}
|
||||
|
||||
calculate-kernel-5_src_install() {
|
||||
if use minimal
|
||||
then
|
||||
local GENTOOARCH="${ARCH}"
|
||||
unset ARCH
|
||||
ebegin "kernel: >> Running modules_prepare..."
|
||||
make modules_prepare &>/dev/null
|
||||
eend $? "Failed modules prepare"
|
||||
ARCH="${GENTOOARCH}"
|
||||
|
||||
einfo "Cleaning sources"
|
||||
for rmpath in $(ls arch | grep -v x86)
|
||||
do
|
||||
rm -r arch/$rmpath
|
||||
done
|
||||
KEEPLIST="scripts/Makefile.lib scripts/module-common.lds \
|
||||
scripts/gcc-version.sh scripts/Makefile.help \
|
||||
scripts/Makefile.modinst scripts/Makefile.asm-generic \
|
||||
scripts/Makefile.modbuiltin scripts/Makefile.fwinst \
|
||||
scripts/depmod.sh scripts/Makefile.host \
|
||||
scripts/Kbuild.include scripts/Makefile.modpost \
|
||||
scripts/gcc-goto.sh scripts/Makefile.headersinst \
|
||||
scripts/Makefile.build scripts/basic/fixdep \
|
||||
scripts/Makefile.clean scripts/mod/modpost \
|
||||
include/config/kernel.release include/config/auto.conf \
|
||||
arch/x86/Makefile_32.cpu arch/x86/Makefile \
|
||||
System.map Makefile Kbuild"
|
||||
find . -type f -a \! -wholename ./.config \
|
||||
$(echo $KEEPLIST | sed -r 's/(\S+)(\s|$)/-a \! -wholename .\/\1 /g') \
|
||||
-a \! -name "*.h" -delete
|
||||
rm -r drivers
|
||||
rm -r Documentation
|
||||
fi
|
||||
kernel-2_src_install
|
||||
dodir /usr/share/${PN}/${PV}/boot
|
||||
use vmlinuz && vmlinuz_src_install
|
||||
if ! use vmlinuz
|
||||
then
|
||||
cp .config ${D}/usr/share/${PN}/${PV}/boot/config-${KV_FULL}
|
||||
fi
|
||||
}
|
||||
|
||||
vmlinuz_pkg_postinst() {
|
||||
cp -p /usr/share/${PN}/${PV}/boot/* ${ROOT}/boot/
|
||||
cl-kernel --ebuild \
|
||||
-k /usr/src/linux-${KV_FULL} \
|
||||
--set cl_kernel_install_path=${ROOT}/
|
||||
|
||||
mkdir -p ${ROOT}/lib/firmware
|
||||
cp -a ${ROOT}/usr/share/${PN}/${PV}/firmware/* ${ROOT}/lib/firmware/
|
||||
calculate_update_depmod
|
||||
calculate_update_modules
|
||||
|
||||
[[ -f $MODULESDBFILE ]] &&
|
||||
sed -ri 's/a:1:sys-fs\/aufs2/a:0:sys-fs\/aufs2/' $MODULESDBFILE
|
||||
}
|
||||
|
||||
calculate-kernel-5_pkg_postinst() {
|
||||
kernel-2_pkg_postinst
|
||||
|
||||
KV_OUT_DIR=${ROOT}/usr/src/linux-${KV_FULL}
|
||||
if ls /usr/share/${PN}/${PV}/boot/ | grep -q System.map
|
||||
then
|
||||
cp -p /usr/share/${PN}/${PV}/boot/System.map* ${KV_OUT_DIR}/System.map
|
||||
fi
|
||||
cp -p /usr/share/${PN}/${PV}/boot/config* ${KV_OUT_DIR}/.config
|
||||
cd ${KV_OUT_DIR}
|
||||
|
||||
if ! use minimal
|
||||
then
|
||||
local GENTOOARCH="${ARCH}"
|
||||
unset ARCH
|
||||
ebegin "kernel: >> Running modules_prepare..."
|
||||
make modules_prepare &>/dev/null
|
||||
eend $? "Failed modules prepare"
|
||||
ARCH="${GENTOOARCH}"
|
||||
fi
|
||||
|
||||
use vmlinuz && vmlinuz_pkg_postinst
|
||||
}
|
@ -0,0 +1 @@
|
||||
# Calculate append=skip
|
@ -0,0 +1 @@
|
||||
# Calculate append=skip merge()!=
|
@ -0,0 +1 @@
|
||||
# Calculate append=skip merge(sys-kernel/calculate-sources)>=3.7&&merge(sys-kernel/calculate-sources)<3.8
|
@ -0,0 +1,98 @@
|
||||
# Calculate format=diff os_linux_system==desktop
|
||||
From 454bb8a84add6d8469b25e73b666d24291db6705 Mon Sep 17 00:00:00 2001
|
||||
From: Arianna Avanzini <avanzini.arianna@gmail.com>
|
||||
Date: Sat, 4 Feb 2012 10:55:51 +0100
|
||||
Subject: [PATCH 1/2] block: cgroups, kconfig, build bits for BFQ-v6-3.7
|
||||
|
||||
Update Kconfig.iosched and do the related Makefile changes to include
|
||||
kernel configuration options for BFQ. Also add the bfqio controller
|
||||
to the cgroups subsystem.
|
||||
|
||||
Signed-off-by: Paolo Valente <paolo.valente@unimore.it>
|
||||
Signed-off-by: Arianna Avanzini <avanzini.arianna@gmail.com>
|
||||
---
|
||||
block/Kconfig.iosched | 26 ++++++++++++++++++++++++++
|
||||
block/Makefile | 1 +
|
||||
include/linux/cgroup_subsys.h | 6 ++++++
|
||||
3 files changed, 33 insertions(+)
|
||||
|
||||
diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched
|
||||
index 421bef9..56474b2 100644
|
||||
--- a/block/Kconfig.iosched
|
||||
+++ b/block/Kconfig.iosched
|
||||
@@ -39,6 +39,28 @@ config CFQ_GROUP_IOSCHED
|
||||
---help---
|
||||
Enable group IO scheduling in CFQ.
|
||||
|
||||
+config IOSCHED_BFQ
|
||||
+ tristate "BFQ I/O scheduler"
|
||||
+ depends on EXPERIMENTAL
|
||||
+ default n
|
||||
+ ---help---
|
||||
+ The BFQ I/O scheduler tries to distribute bandwidth among
|
||||
+ all processes according to their weights.
|
||||
+ It aims at distributing the bandwidth as desired, independently of
|
||||
+ the disk parameters and with any workload. It also tries to
|
||||
+ guarantee low latency to interactive and soft real-time
|
||||
+ applications. If compiled built-in (saying Y here), BFQ can
|
||||
+ be configured to support hierarchical scheduling.
|
||||
+
|
||||
+config CGROUP_BFQIO
|
||||
+ bool "BFQ hierarchical scheduling support"
|
||||
+ depends on CGROUPS && IOSCHED_BFQ=y
|
||||
+ default n
|
||||
+ ---help---
|
||||
+ Enable hierarchical scheduling in BFQ, using the cgroups
|
||||
+ filesystem interface. The name of the subsystem will be
|
||||
+ bfqio.
|
||||
+
|
||||
choice
|
||||
prompt "Default I/O scheduler"
|
||||
default DEFAULT_CFQ
|
||||
@@ -52,6 +74,9 @@ choice
|
||||
config DEFAULT_CFQ
|
||||
bool "CFQ" if IOSCHED_CFQ=y
|
||||
|
||||
+ config DEFAULT_BFQ
|
||||
+ bool "BFQ" if IOSCHED_BFQ=y
|
||||
+
|
||||
config DEFAULT_NOOP
|
||||
bool "No-op"
|
||||
|
||||
@@ -61,6 +86,7 @@ config DEFAULT_IOSCHED
|
||||
string
|
||||
default "deadline" if DEFAULT_DEADLINE
|
||||
default "cfq" if DEFAULT_CFQ
|
||||
+ default "bfq" if DEFAULT_BFQ
|
||||
default "noop" if DEFAULT_NOOP
|
||||
|
||||
endmenu
|
||||
diff --git a/block/Makefile b/block/Makefile
|
||||
index 39b76ba..c0d20fa 100644
|
||||
--- a/block/Makefile
|
||||
+++ b/block/Makefile
|
||||
@@ -15,6 +15,7 @@ obj-$(CONFIG_BLK_DEV_THROTTLING) += blk-throttle.o
|
||||
obj-$(CONFIG_IOSCHED_NOOP) += noop-iosched.o
|
||||
obj-$(CONFIG_IOSCHED_DEADLINE) += deadline-iosched.o
|
||||
obj-$(CONFIG_IOSCHED_CFQ) += cfq-iosched.o
|
||||
+obj-$(CONFIG_IOSCHED_BFQ) += bfq-iosched.o
|
||||
|
||||
obj-$(CONFIG_BLOCK_COMPAT) += compat_ioctl.o
|
||||
obj-$(CONFIG_BLK_DEV_INTEGRITY) += blk-integrity.o
|
||||
diff --git a/include/linux/cgroup_subsys.h b/include/linux/cgroup_subsys.h
|
||||
index f204a7a..b999bfa 100644
|
||||
--- a/include/linux/cgroup_subsys.h
|
||||
+++ b/include/linux/cgroup_subsys.h
|
||||
@@ -78,3 +78,9 @@ SUBSYS(hugetlb)
|
||||
#endif
|
||||
|
||||
/* */
|
||||
+
|
||||
+#ifdef CONFIG_CGROUP_BFQIO
|
||||
+SUBSYS(bfqio)
|
||||
+#endif
|
||||
+
|
||||
+/* */
|
||||
--
|
||||
1.7.10.4
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,15 @@
|
||||
# Calculate format=diff
|
||||
diff --git a/net/core/sock_diag.c b/net/core/sock_diag.c
|
||||
index 602cd63..750f44f 100644
|
||||
--- a/net/core/sock_diag.c
|
||||
+++ b/net/core/sock_diag.c
|
||||
@@ -121,6 +121,9 @@ static int __sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
|
||||
if (nlmsg_len(nlh) < sizeof(*req))
|
||||
return -EINVAL;
|
||||
|
||||
+ if (req->sdiag_family >= AF_MAX)
|
||||
+ return -EINVAL;
|
||||
+
|
||||
hndl = sock_diag_lock_handler(req->sdiag_family);
|
||||
if (hndl == NULL)
|
||||
err = -ENOENT;
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2:2.7"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 2.6 3.*"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate3/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 3"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="minimal"
|
||||
DEPEND="!minimal? ( dev-python/py-smbpasswd )
|
||||
>=dev-python/pyxml-0.8
|
||||
sys-apps/iproute2
|
||||
sys-apps/pciutils
|
||||
sys-fs/lvm2
|
||||
sys-fs/mdadm
|
||||
dev-python/pyinotify
|
||||
sys-apps/file[python]"
|
||||
RDEPEND="${DEPEND}"
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
|
||||
# apply revision changes
|
||||
epatch "${FILESDIR}/calculate-lib-3.1.4_beta1-r1.patch"
|
||||
}
|
@ -0,0 +1,83 @@
|
||||
diff --git calculate/lib/cl_template.py calculate/lib/cl_template.py
|
||||
index 2790486..0e7d094 100644
|
||||
--- calculate/lib/cl_template.py
|
||||
+++ calculate/lib/cl_template.py
|
||||
@@ -2221,7 +2221,7 @@ class _file(_error):
|
||||
return F_CONF
|
||||
|
||||
|
||||
- def openFiles(self, nameFileTemplate, nameFileConfig):
|
||||
+ def openFiles(self, nameFileTemplate, nameFileConfig, typeFormat=None):
|
||||
"""Открывает шаблон и конфигурационный файл"""
|
||||
self.textConfig = ""
|
||||
self.textTemplate = ""
|
||||
@@ -2231,7 +2231,7 @@ class _file(_error):
|
||||
self.nameFileConfig = os.path.abspath(nameFileConfig)
|
||||
self.nameFileTemplate = os.path.abspath(nameFileTemplate)
|
||||
self.F_TEMPL = self.openTemplFile(self.nameFileTemplate)
|
||||
- if not self.executeType:
|
||||
+ if not self.executeType and typeFormat != "diff":
|
||||
self.F_CONF = self.__openConfFile(self.nameFileConfig)
|
||||
if self.F_TEMPL and self.F_CONF:
|
||||
self.textTemplate = self.F_TEMPL.read()
|
||||
@@ -4610,7 +4610,7 @@ gettext -d cl_template "$*"
|
||||
if stat.S_ISREG(statInfo):
|
||||
if not self.processingFile(absPath, prefix, optDir):
|
||||
ret = False
|
||||
- break
|
||||
+ continue
|
||||
elif stat.S_ISDIR(statInfo):
|
||||
# Обработка директории
|
||||
retDir = self.processingDirectory(absPath, prefix,
|
||||
@@ -4639,6 +4639,7 @@ gettext -d cl_template "$*"
|
||||
self.stop = e.status()
|
||||
return False
|
||||
else:
|
||||
+ self.clearErrors()
|
||||
self.printWARNING(str(e))
|
||||
finally:
|
||||
self.objVar.defaultModule = prevModule
|
||||
@@ -5431,7 +5432,7 @@ gettext -d cl_template "$*"
|
||||
preReturn(pathProg)
|
||||
return ([], False)
|
||||
if not flagSymlink:
|
||||
- self.openFiles(nameFileTemplate, pathOldFile)
|
||||
+ self.openFiles(nameFileTemplate, pathOldFile,objHeadNew.fileType)
|
||||
if self.getError():
|
||||
return ([], False)
|
||||
if not objHeadNew.params.has_key("chown"):
|
||||
@@ -5656,9 +5657,8 @@ gettext -d cl_template "$*"
|
||||
self.textTemplate = objTempl.processingFile(self.textConfig,
|
||||
self.objVar.Get('cl_root_path'))
|
||||
if objTempl.getError():
|
||||
- self.setError(_("Failed to use patch ") + \
|
||||
+ raise TemplatesError(_("Failed to use patch ") + \
|
||||
nameFileTemplate)
|
||||
- return False
|
||||
elif formatTemplate == 'diff':
|
||||
self.printSUCCESS(_("Applying patch")+ " " + \
|
||||
os.path.basename(nameFileTemplate))
|
||||
@@ -5979,6 +5979,7 @@ class scanDirectoryClt:
|
||||
self.stop = e.status()
|
||||
return False
|
||||
else:
|
||||
+ self.clearErrors()
|
||||
self.printWARNING(str(e))
|
||||
return True
|
||||
|
||||
diff --git calculate/lib/format/diff.py calculate/lib/format/diff.py
|
||||
index 1f45e8e..210f7ec 100644
|
||||
--- calculate/lib/format/diff.py
|
||||
+++ calculate/lib/format/diff.py
|
||||
@@ -43,6 +43,11 @@ class diff(_error):
|
||||
patchDryRun.write(self.text)
|
||||
if patchDryRun.success():
|
||||
break
|
||||
+ patchDryRun = process('/usr/bin/patch','-R','--dry-run',
|
||||
+ '-p%d'%i,cwd=rootPath,)
|
||||
+ patchDryRun.write(self.text)
|
||||
+ if patchDryRun.success():
|
||||
+ return ""
|
||||
else:
|
||||
self.setError(_("Patching failed"))
|
||||
return False
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Calculate Utilities meta package"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="cl_consolegui cl_client cl_desktop cl_console"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
=sys-apps/calculate-install-3.1.4_beta1
|
||||
=sys-apps/calculate-i18n-3.1.4_beta1
|
||||
=sys-apps/calculate-lib-3.1.4_beta1-r1
|
||||
=sys-apps/calculate-core-3.1.4_beta1
|
||||
=sys-apps/calculate-update-3.1.4_beta1
|
||||
cl_client? ( =sys-apps/calculate-client-3.1.4_beta1 )
|
||||
cl_desktop? ( =sys-apps/calculate-desktop-3.1.4_beta1 )
|
||||
cl_consolegui? ( =sys-apps/calculate-console-gui-3.1.4_beta1 )
|
||||
cl_console? ( =sys-apps/calculate-console-3.1.4_beta1 )
|
||||
"
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
ETYPE="sources"
|
||||
|
||||
inherit calculate-kernel-5 eutils
|
||||
|
||||
DESCRIPTION="Full sources including the Calculate patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
|
||||
KEYWORDS="amd64 x86"
|
||||
HOMEPAGE="http://www.calculate-linux.org"
|
||||
|
||||
IUSE=""
|
||||
#IUSE="hardened"
|
||||
|
||||
HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-5"
|
||||
HGPV_URI=""
|
||||
|
||||
SRC_URI="${KERNEL_URI} ${ARCH_URI} ${HGPV_URI}"
|
||||
|
||||
DEPEND="vmlinuz? ( >=sys-kernel/calckernel-3.4.18-r12
|
||||
>=sys-apps/calculate-builder-2.2.30-r3
|
||||
>=sys-apps/calculate-install-3.1.4_beta1
|
||||
|| ( app-arch/xz-utils app-arch/lzma-utils )
|
||||
sys-apps/v86d
|
||||
!<net-wireless/rtl8192se-3.0
|
||||
sys-boot/grub
|
||||
)"
|
||||
|
||||
CL_KERNEL_OPTS="--lvm --mdadm --dmraid"
|
||||
|
||||
src_unpack() {
|
||||
calculate-kernel-5_src_unpack
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
calculate-kernel-5_pkg_postinst
|
||||
}
|
Loading…
Reference in new issue