From 4c9019e1b6fbecd16b326e991e11294de3c2afa5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 9 Sep 2018 12:58:33 +0100 Subject: sys-apps/openrc : enable dkms integration --- packages/sys-apps/openrc/openrc-0.34.11.exheres-0 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'packages/sys-apps/openrc/openrc-0.34.11.exheres-0') diff --git a/packages/sys-apps/openrc/openrc-0.34.11.exheres-0 b/packages/sys-apps/openrc/openrc-0.34.11.exheres-0 index ebb5e77..a68dc2b 100644 --- a/packages/sys-apps/openrc/openrc-0.34.11.exheres-0 +++ b/packages/sys-apps/openrc/openrc-0.34.11.exheres-0 @@ -17,6 +17,9 @@ MYOPTIONS=" *description = [ provider for the init daemon ] number-selected = at-most-one ]] + dkms [[ description = [ + Enable DKMS (dynamic kernel module support) integration + ] ]] ncurses newnet [[ description = [ Enable the new network stack (experimental) @@ -28,6 +31,7 @@ PLATFORMS="~amd64 ~x86" DEPENDENCIES=" build+run: + dkms? ( sys-kernel/dkms ) ncurses? ( sys-libs/ncurses ) pam? ( sys-libs/pam ) run: @@ -39,8 +43,9 @@ DEPENDENCIES=" REMOTE_IDS="github:OpenRC/${PN}" DEFAULT_SRC_PREPARE_PATCHES=( - "${FILES}"/openrc-enable-rclogger.patch - "${FILES}"/openrc-disable-cgroupsv2.patch + # Redcore Linux : enable rclogger, disable cgroupsv2 + "${FILES}"/"${PN}"-enable-rclogger.patch + "${FILES}"/"${PN}"-disable-cgroupsv2.patch ) @@ -71,6 +76,11 @@ pkg_setup() { src_prepare() { default + # Redcore Linux : enable dkms integration + if option dkms; then + expatch "${FILES}"/"${PN}"-dkms.patch + fi + edo sed -e 's#readelf #${READELF:-readelf} #g' \ -i src/test/runtests.sh } -- cgit v1.2.3